Skip to content

Commit

Permalink
added logo, splash screen, fixed keyboard animation
Browse files Browse the repository at this point in the history
  • Loading branch information
harmanbatheja15 committed Jan 31, 2025
1 parent e13dca1 commit 8d39e54
Show file tree
Hide file tree
Showing 34 changed files with 601 additions and 609 deletions.
7 changes: 6 additions & 1 deletion apps/mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: "org.jetbrains.kotlin.android"
apply plugin: "com.facebook.react"

project.ext.vectoricons = [
iconFontNames: [ 'MaterialIcons.ttf', 'Ionicons.ttf', 'FontAwesome.ttf' ] // Specify font files
iconFontNames: [ 'MaterialIcons.ttf', 'Ionicons.ttf', 'FontAwesome.ttf' ]
]

apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle")
Expand Down Expand Up @@ -124,4 +124,9 @@ dependencies {
}

implementation project(':react-native-vector-icons')

// Exclude android.support dependencies to resolve conflicts
implementation("androidx.core:core:1.9.0") {
exclude group: "com.android.support"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class MainActivity : ReactActivity() {
override fun getMainComponentName(): String = "mobile"

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(null)
SplashScreen.show(this)
super.onCreate(savedInstanceState)
}

/**
Expand All @@ -24,9 +25,4 @@ class MainActivity : ReactActivity() {
*/
override fun createReactActivityDelegate(): ReactActivityDelegate =
DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)

override fun onCreate(savedInstanceState: Bundle?) {
SplashScreen.show(this)
super.onCreate(savedInstanceState)
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions apps/mobile/android/app/src/main/res/layout/launch_screen.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000">

<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/screen"
android:scaleType="centerCrop"
android:layout_centerInParent="true" />

</RelativeLayout>
Binary file modified apps/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions apps/mobile/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true

android.enableJetifier=true

# Use this property to specify which architecture you want to build.
# You can also override it from the CLI using
# ./gradlew <task> -PreactNativeArchitectures=x86_64
Expand Down
133 changes: 82 additions & 51 deletions apps/mobile/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,27 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-keyboard-controller (1.16.0):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-safe-area-context (5.1.0):
- DoubleConversion
- glog
Expand Down Expand Up @@ -1310,6 +1331,8 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-splash-screen (3.3.0):
- React-Core
- React-nativeconfig (0.76.6)
- React-NativeModulesApple (0.76.6):
- glog
Expand Down Expand Up @@ -1577,7 +1600,7 @@ PODS:
- React-logger (= 0.76.6)
- React-perflogger (= 0.76.6)
- React-utils (= 0.76.6)
- RNGestureHandler (2.22.0):
- RNGestureHandler (2.22.1):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -1836,7 +1859,9 @@ DEPENDENCIES:
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
- React-Mapbuffer (from `../node_modules/react-native/ReactCommon`)
- React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`)
- react-native-keyboard-controller (from `../node_modules/react-native-keyboard-controller`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- react-native-splash-screen (from `../node_modules/react-native-splash-screen`)
- React-nativeconfig (from `../node_modules/react-native/ReactCommon`)
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
Expand Down Expand Up @@ -1949,8 +1974,12 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon"
React-microtasksnativemodule:
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks"
react-native-keyboard-controller:
:path: "../node_modules/react-native-keyboard-controller"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
react-native-splash-screen:
:path: "../node_modules/react-native-splash-screen"
React-nativeconfig:
:path: "../node_modules/react-native/ReactCommon"
React-NativeModulesApple:
Expand Down Expand Up @@ -2020,7 +2049,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
boost: 1dca942403ed9342f98334bf4c3621f011aa7946
BVLinearGradient: 880f91a7854faff2df62518f0281afb1c60d49a3
BVLinearGradient: cb006ba232a1f3e4f341bb62c42d1098c284da70
DoubleConversion: f16ae600a246532c4020132d54af21d0ddb2a385
FBLazyVector: be509404b5de73a64a74284edcaf73a5d1e128b1
fmt: 10c6e61f4be25dc963c36bd73fc7b1705fe975be
Expand All @@ -2032,64 +2061,66 @@ SPEC CHECKSUMS:
RCTTypeSafety: 0f96bf6c99efc33eb43352212703854933f22930
React: 1d3d5bada479030961d513fb11e42659b30e97ff
React-callinvoker: 682c610b9e9d3b93bd8d0075eacb2e6aa304d3e0
React-Core: 10420b32e62acf6b3aa0a570e45566001175c777
React-CoreModules: aad977a7dbff83aa707c4045e5db81446a511cca
React-cxxreact: 1bee1b97e7d537f1a33d9eb68c9426c1fc1a4e3c
React-Core: 9f33c0fc7776a5796d4dae09c363bd58e6a27efe
React-CoreModules: 91afb654834f0a1f48fb26dd1f4d1a1460c44def
React-cxxreact: c7491114266a70f8215306f1d0c4b54a811e77cf
React-debug: 4ae2e95c2d392cca29939a3a2f2b4320ddff3e59
React-defaultsnativemodule: b585565214178c5780b54e4d56815d65782eac81
React-domnativemodule: 03fd1847e49505aa9024acbe4f0811e441dc89a2
React-Fabric: fc0898bb601b03ed41ab0df3e7b1a4acd05a6cff
React-FabricComponents: 13e78253b210d112b3ffddca5b7323db7f254358
React-FabricImage: a86ff938570a06c2a9fbf00ff0b00195f0bd4aba
React-defaultsnativemodule: 43d27f1844b4c18fc03fa4fa35ea2f1c48d64237
React-domnativemodule: bca178dd0ce1532f75be783f6f2923f675a778ae
React-Fabric: d6bc0222335270eb76c28dd5036c03a010c04d51
React-FabricComponents: 05eec9e2cf998be793daaee8fa8a8ea6d1187785
React-FabricImage: 3a12374b0aedda71c7ef6bd64b59479b8bb3fe05
React-featureflags: 5670e0dcdc17ba2515963d117dacc13d5b69c431
React-featureflagsnativemodule: 79dea40c60cdc0356aadc67a099bba0af8c34e4f
React-graphics: 04eed50a115e750e4644c1e955f32bec57f6a235
React-hermes: add932964f5ef024c86352dcc0dc427e6309642e
React-idlecallbacksnativemodule: 3e8d5085a21eb2f70ac64ff9817f8f8a603518a9
React-ImageManager: 3239badd14cc602baf836b5d7151ffa90393deae
React-jserrorhandler: 81ac36638e02c33a9df0bdbeec464d2e699ac8a9
React-jsi: 690f3742db66cab8d5219bcfbc19fee112c6bb0c
React-jsiexecutor: a060f7e989da21e2478f652d7799e3b5ae5db262
React-jsinspector: 0eb6ea6f6b1e42edeab4bcad092d37ef748e337a
React-jsitracing: 737a69a469e2bc821cf8ae11977bded522393719
React-logger: 162c09cc432b02d4a0db31b1d98f6df5243a2679
React-Mapbuffer: f760d2229640be48cb3c2d4832b5bbc3018123fc
React-microtasksnativemodule: 1364ae5354f51b3ecee8eb718b5b6d1686d2ff4d
react-native-safe-area-context: cbadf383376f589bb611c8ae0280c1d4b7b447e9
React-featureflagsnativemodule: bb13129d1427327b2eb8cc13d3879363a4cd8326
React-graphics: 659968f797257c0071ddff28a2d094c8e5c5899c
React-hermes: 6eb81c6f72c25d9058b6030227d0fcc1f741a807
React-idlecallbacksnativemodule: 551b7a89b46041c746640fe13eacf39c1b169709
React-ImageManager: e3d0270c82bf39432da2aff2fcd60dd16b308689
React-jserrorhandler: f60c9b68b4d4ac1449bddc2553610708e939ddee
React-jsi: 47528a2928f38fe15e3d06a96de886e1a779ffc7
React-jsiexecutor: 88a141c4dc821e1b2aa7ecc7d6af7b186e8455a2
React-jsinspector: c26cf4118ea7c1aae721d2cde5acf3b2cdceb814
React-jsitracing: 810d0465c3455e352a71147c18332b1cba1d1410
React-logger: d42a53754a7252cc7a851315f0da2e46b450ea92
React-Mapbuffer: 89885d1518433a462fe64b68bf5e097997380090
React-microtasksnativemodule: 36341e09dcd1df535503e6ed2ddf88f10da56d52
react-native-keyboard-controller: 5ffc5fa5a6cb77e81579635f79a19d9ab3ee0c0d
react-native-safe-area-context: 0d8827b2420dfb4c8a8e27639585e61b912261be
react-native-splash-screen: 95994222cc95c236bd3cdc59fe45ed5f27969594
React-nativeconfig: 539ff4de6ce3b694e8e751080568c281c84903ce
React-NativeModulesApple: 771cc40b086281b820fe455fedebbe4341fd0c90
React-perflogger: 4e80a5b8d61dfb38024e7d5b8efaf9ce1037d31f
React-performancetimeline: 1dcacc31d81f790f43a2d434ec95b0f864582329
React-NativeModulesApple: 702246817c286d057e23fe4b1302019796e62521
React-perflogger: f260e2de95f9dbd002035251559c13bf1f0643d4
React-performancetimeline: 957075cead70fe9536a327eb4f842b3d8982f2ec
React-RCTActionSheet: ed5a845eae98fe455b9a1d71f057d626e2f3f1c5
React-RCTAnimation: 0cda303ef8ca5a2d0ee9e425f188cc9fc1d2e20f
React-RCTAppDelegate: 1edcdebdaebf5120bdaa9d54bc40789714be3719
React-RCTBlob: dab83a3c22210e5c7a8267834c68e6cf94bc1ce2
React-RCTFabric: 19ba31d6b913b8b4aa8b27e4d6f5dc8ebd93a438
React-RCTImage: b9c3d2cff3b8214322022cdf8afb92ff978bb92e
React-RCTLinking: e58c4fa216f9ac87ed3d4a0cce03905df67adec0
React-RCTNetwork: 9f206fa039e107f51ddfac133df79105643ea2bd
React-RCTSettings: c7663cfcb3531cd438b8f73e98cd2d982a4bbd72
React-RCTText: cfee29316f1049f016cbd81328a89a8a07410bba
React-RCTVibration: 20f5efc1b05cd3f5f7ea03489dd3766c890fb493
React-RCTAnimation: a49bd2c28c3f32b1d01ff1163603aee3d420ce42
React-RCTAppDelegate: f7aa2f938a6673cfd2a76e76fea8c4b38a4a5bec
React-RCTBlob: 8ddf30f97222f4d8227f64428349fd8252292cb5
React-RCTFabric: 51fb64f7ca7ca2fa334433ba6d4f12750a481cf1
React-RCTImage: 077a25f3a9a6b79938a01c2cfae05ea5f07fc584
React-RCTLinking: 0c8415c600942454d663c4c4dc0d3b00aa7ba5e5
React-RCTNetwork: 42a3c6fb5318dcc9f8796f43de081799fb905021
React-RCTSettings: 1028522e45192515bd8c5308752d3270ee95fd66
React-RCTText: 29ef786d78f69ec5b571634ef2ddd6ec177c958a
React-RCTVibration: 97859ed50816369f4830f623dfac8dc9877f3c5c
React-rendererconsistency: ccd50d5ee6544b26cd11fff5ad1112c5058a0064
React-rendererdebug: d8f43065459c2095f27a173121f03dcd1d1b08e5
React-rendererdebug: 2092a1207a0023ac30877f4f730b403bfaf5ccbe
React-rncore: bfe554cb773978e8b94898866964c9579cb0c70c
React-RuntimeApple: 89c319b1610d4ca8895642cf0eae1188bf864270
React-RuntimeCore: 30399cbd2368f7e031692875275984fa42142601
React-RuntimeApple: 80949ebe7e6a94296e0168a940832d2029b66982
React-RuntimeCore: f04b5d1eb0534a4f4f46bc76a938a9360ad91024
React-runtimeexecutor: 26a9d14619ec1359470df391be9abb7c80a21b2b
React-RuntimeHermes: c78f07b7a599c1c9a889189c02436600e72c8b27
React-runtimescheduler: 9f6b0b85154ed8a17a899cd1bab258a26c8db2cd
React-RuntimeHermes: 91c2a67a99f316f11a08d3d9280ab4c9fae59b56
React-runtimescheduler: 76bb85f5ba01e800b4970fbc84eeaf10756c50c4
React-timing: c9c7c0fe2fdfc433ef208889b6191dfb45457d68
React-utils: e6697b03f21c7ac57b075d848cda7882662cabf7
ReactCodegen: 484b223748d7489d7036db1cbf79896d297e33a7
ReactCommon: 832cdd669aeecd430d9ca1975d15676b38d0b263
RNGestureHandler: 8ce7a079c513f96f9b580bcb2ecee621d511361f
RNReanimated: 9ee6347ca0aa3cf78cae715455e781728ae142e2
RNScreens: b02af14099030cc1e63f74f2791574e909fc1541
RNSVG: ea3e35f0375ac20449384fa89ce056ee0e0690ee
RNVectorIcons: 07792a9538e8577c1263fcad187712e90d65d8fb
React-utils: 1b14c41c3edf4d96db1247a78e0ad96e7ceea011
ReactCodegen: 0a0eef9c8cd84c932ae1868832086c6441811e84
ReactCommon: 3c1c8c6d777103c0e60e37c6c5f08e828e2a77c9
RNGestureHandler: b9cd1bda1d2a95d390de0a88e1e41140a5a68e82
RNReanimated: a2692304a6568bc656c04c8ffea812887d37436e
RNScreens: 4c7d5710e955dcf72c14a546e29744f9e591370b
RNSVG: c50d29abf38abbf48ebfc50b6258f81099aeabae
RNVectorIcons: a24016b773380b1aa37fca501ec6b94a951890a0
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: 2a5ae8f7db3c675ff5a781fb5d99c5f7a5d2fc11
Yoga: be6f55a028e86c83ae066f018e9b5d24ffc45436

PODFILE CHECKSUM: f021b287ef01a42407f58cf47a36483d38944150

Expand Down
10 changes: 8 additions & 2 deletions apps/mobile/ios/mobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,10 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = "$(inherited) ";
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
Expand Down Expand Up @@ -659,7 +662,10 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = "$(inherited) ";
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down
Loading

0 comments on commit 8d39e54

Please sign in to comment.