@fadyshawky/react-native-magic 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/README.md +2 -4
  3. package/local.properties +1 -0
  4. package/package.json +2 -3
  5. package/template/.env.development +3 -0
  6. package/template/.env.production +4 -1
  7. package/template/.env.staging +4 -1
  8. package/template/App.tsx +0 -1
  9. package/template/android/app/build.gradle +71 -6
  10. package/template/android/app/src/main/AndroidManifest.xml +2 -0
  11. package/template/android/app/src/main/java/com/reactnativemagic/MainActivity.kt +5 -0
  12. package/template/android/gradle.properties +0 -1
  13. package/template/babel.config.js +1 -0
  14. package/template/index.js +1 -1
  15. package/template/ios/Podfile +37 -6
  16. package/template/ios/Podfile.lock +2 -2
  17. package/template/ios/reactnativemagic/Info.plist +4 -0
  18. package/template/ios/reactnativemagic.xcodeproj/project.pbxproj +67 -67
  19. package/template/ios/tmp.xcconfig +2 -0
  20. package/template/metro.config.js +6 -1
  21. package/template/package-lock.json +13 -12
  22. package/template/package.json +7 -6
  23. package/template/src/common/components/Background.tsx +0 -1
  24. package/template/src/common/components/ImageCropPickerButton.tsx +4 -5
  25. package/template/src/common/components/LoadingComponent.tsx +1 -6
  26. package/template/src/common/components/PhotoTakingButton.tsx +5 -7
  27. package/template/src/common/components/PrimaryTextInput.tsx +4 -15
  28. package/template/src/common/components/RadioButton.tsx +2 -9
  29. package/template/src/common/components/RadioIcon.tsx +4 -12
  30. package/template/src/common/components/Separator.tsx +2 -9
  31. package/template/src/common/components/TouchablePlatform.tsx +2 -11
  32. package/template/src/common/components/TryAgain.tsx +2 -9
  33. package/template/src/core/store/user/userActions.ts +0 -3
  34. package/template/src/core/theme/colors.ts +42 -71
  35. package/template/src/core/theme/fonts.ts +1 -12
  36. package/template/src/navigation/HeaderComponents.tsx +3 -5
  37. package/template/src/navigation/MainNavigation.tsx +8 -6
  38. package/template/src/navigation/MainStack.tsx +0 -1
  39. package/template/src/screens/Login/Login.tsx +0 -6
  40. package/template/src/types/react-native-config.d.ts +8 -0
  41. package/template/src/common/helpers/colorHelpers.ts +0 -34
@@ -11,15 +11,15 @@
11
11
  13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
12
12
  13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13
13
  13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
14
- 13CF03373441A38FC2E729A8 /* libPods-reactnativemagic.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DB791B0A57A611BA4A66B1AA /* libPods-reactnativemagic.a */; };
15
- 280C6F8FD6A3698B3128908D /* libPods-reactnativemagic-reactnativemagicTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1EAA8A6B316A064CB8CF9DC1 /* libPods-reactnativemagic-reactnativemagicTests.a */; };
16
14
  52BF1DA92D160E8100046137 /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
17
15
  52BF1DAA2D160E8100046137 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
18
16
  52BF1DAE2D160E8100046137 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
19
17
  52BF1DAF2D160E8100046137 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
20
18
  52BF1DB02D160E8100046137 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
19
+ 77D16B02A575BB6A60CE8704 /* libPods-reactnativemagic.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 93FAE7E83CECE25ADEF8D6BE /* libPods-reactnativemagic.a */; };
21
20
  81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
22
21
  910638E3E666DD629C55D964 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
22
+ E388856903F4421DBD82E0F1 /* libPods-reactnativemagic-reactnativemagicTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FCEF4990B6E3214444BBD14A /* libPods-reactnativemagic-reactnativemagicTests.a */; };
23
23
  /* End PBXBuildFile section */
24
24
 
25
25
  /* Begin PBXContainerItemProxy section */
@@ -43,16 +43,16 @@
43
43
  13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = reactnativemagic/Info.plist; sourceTree = "<group>"; };
44
44
  13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = reactnativemagic/main.m; sourceTree = "<group>"; };
45
45
  13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = reactnativemagic/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
46
- 1EAA8A6B316A064CB8CF9DC1 /* libPods-reactnativemagic-reactnativemagicTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-reactnativemagic-reactnativemagicTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
46
+ 465754F1499D1884290F3C3F /* Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig"; path = "Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig"; sourceTree = "<group>"; };
47
47
  52BF1DB72D160E8100046137 /* reactnativemagic-Development.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "reactnativemagic-Development.app"; sourceTree = BUILT_PRODUCTS_DIR; };
48
48
  52BF1DB82D160E8100046137 /* reactnativemagic copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "reactnativemagic copy-Info.plist"; path = "/Users/fady/Dev/template/ReactNativeMagic/template/ios/reactnativemagic copy-Info.plist"; sourceTree = "<absolute>"; };
49
- 6517CEEAF6CB08CE0B1B9626 /* Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig"; path = "Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig"; sourceTree = "<group>"; };
50
- 73212B210B7C2710F926E931 /* Pods-reactnativemagic.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-reactnativemagic.debug.xcconfig"; path = "Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic.debug.xcconfig"; sourceTree = "<group>"; };
51
- 75272E3E72710EE7CC39834F /* Pods-reactnativemagic-reactnativemagicTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-reactnativemagic-reactnativemagicTests.release.xcconfig"; path = "Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests.release.xcconfig"; sourceTree = "<group>"; };
49
+ 704B3B865C81C25269E97AE9 /* Pods-reactnativemagic.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-reactnativemagic.debug.xcconfig"; path = "Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic.debug.xcconfig"; sourceTree = "<group>"; };
52
50
  81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = reactnativemagic/LaunchScreen.storyboard; sourceTree = "<group>"; };
53
- 91F3E60D945E8CE7540D951D /* Pods-reactnativemagic.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-reactnativemagic.release.xcconfig"; path = "Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic.release.xcconfig"; sourceTree = "<group>"; };
54
- DB791B0A57A611BA4A66B1AA /* libPods-reactnativemagic.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-reactnativemagic.a"; sourceTree = BUILT_PRODUCTS_DIR; };
51
+ 8E6E7224800FB3999B451268 /* Pods-reactnativemagic.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-reactnativemagic.release.xcconfig"; path = "Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic.release.xcconfig"; sourceTree = "<group>"; };
52
+ 93FAE7E83CECE25ADEF8D6BE /* libPods-reactnativemagic.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-reactnativemagic.a"; sourceTree = BUILT_PRODUCTS_DIR; };
53
+ A76280FB51D3CE1B55E47DD9 /* Pods-reactnativemagic-reactnativemagicTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-reactnativemagic-reactnativemagicTests.release.xcconfig"; path = "Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests.release.xcconfig"; sourceTree = "<group>"; };
55
54
  ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
55
+ FCEF4990B6E3214444BBD14A /* libPods-reactnativemagic-reactnativemagicTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-reactnativemagic-reactnativemagicTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
56
56
  /* End PBXFileReference section */
57
57
 
58
58
  /* Begin PBXFrameworksBuildPhase section */
@@ -60,7 +60,7 @@
60
60
  isa = PBXFrameworksBuildPhase;
61
61
  buildActionMask = 2147483647;
62
62
  files = (
63
- 280C6F8FD6A3698B3128908D /* libPods-reactnativemagic-reactnativemagicTests.a in Frameworks */,
63
+ E388856903F4421DBD82E0F1 /* libPods-reactnativemagic-reactnativemagicTests.a in Frameworks */,
64
64
  );
65
65
  runOnlyForDeploymentPostprocessing = 0;
66
66
  };
@@ -68,7 +68,7 @@
68
68
  isa = PBXFrameworksBuildPhase;
69
69
  buildActionMask = 2147483647;
70
70
  files = (
71
- 13CF03373441A38FC2E729A8 /* libPods-reactnativemagic.a in Frameworks */,
71
+ 77D16B02A575BB6A60CE8704 /* libPods-reactnativemagic.a in Frameworks */,
72
72
  );
73
73
  runOnlyForDeploymentPostprocessing = 0;
74
74
  };
@@ -117,8 +117,8 @@
117
117
  isa = PBXGroup;
118
118
  children = (
119
119
  ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
120
- DB791B0A57A611BA4A66B1AA /* libPods-reactnativemagic.a */,
121
- 1EAA8A6B316A064CB8CF9DC1 /* libPods-reactnativemagic-reactnativemagicTests.a */,
120
+ 93FAE7E83CECE25ADEF8D6BE /* libPods-reactnativemagic.a */,
121
+ FCEF4990B6E3214444BBD14A /* libPods-reactnativemagic-reactnativemagicTests.a */,
122
122
  );
123
123
  name = Frameworks;
124
124
  sourceTree = "<group>";
@@ -159,10 +159,10 @@
159
159
  BBD78D7AC51CEA395F1C20DB /* Pods */ = {
160
160
  isa = PBXGroup;
161
161
  children = (
162
- 73212B210B7C2710F926E931 /* Pods-reactnativemagic.debug.xcconfig */,
163
- 91F3E60D945E8CE7540D951D /* Pods-reactnativemagic.release.xcconfig */,
164
- 6517CEEAF6CB08CE0B1B9626 /* Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig */,
165
- 75272E3E72710EE7CC39834F /* Pods-reactnativemagic-reactnativemagicTests.release.xcconfig */,
162
+ 704B3B865C81C25269E97AE9 /* Pods-reactnativemagic.debug.xcconfig */,
163
+ 8E6E7224800FB3999B451268 /* Pods-reactnativemagic.release.xcconfig */,
164
+ 465754F1499D1884290F3C3F /* Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig */,
165
+ A76280FB51D3CE1B55E47DD9 /* Pods-reactnativemagic-reactnativemagicTests.release.xcconfig */,
166
166
  );
167
167
  path = Pods;
168
168
  sourceTree = "<group>";
@@ -174,12 +174,12 @@
174
174
  isa = PBXNativeTarget;
175
175
  buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "reactnativemagicTests" */;
176
176
  buildPhases = (
177
- 2971306E56E23C3B00A7DD42 /* [CP] Check Pods Manifest.lock */,
177
+ 9280AC1AD30334278122A6BE /* [CP] Check Pods Manifest.lock */,
178
178
  00E356EA1AD99517003FC87E /* Sources */,
179
179
  00E356EB1AD99517003FC87E /* Frameworks */,
180
180
  00E356EC1AD99517003FC87E /* Resources */,
181
- 789279A5A09A07ED561FD196 /* [CP] Embed Pods Frameworks */,
182
- 4ED040DCF71E37BF11F40959 /* [CP] Copy Pods Resources */,
181
+ A980D2E5A3C346157E5020A9 /* [CP] Embed Pods Frameworks */,
182
+ C130977123E4EDA0DC4DCAC1 /* [CP] Copy Pods Resources */,
183
183
  );
184
184
  buildRules = (
185
185
  );
@@ -195,13 +195,13 @@
195
195
  isa = PBXNativeTarget;
196
196
  buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "reactnativemagic" */;
197
197
  buildPhases = (
198
- B6754112200E825603495E4E /* [CP] Check Pods Manifest.lock */,
198
+ 93218D9147EB08B1CDC0B329 /* [CP] Check Pods Manifest.lock */,
199
199
  13B07F871A680F5B00A75B9A /* Sources */,
200
200
  13B07F8C1A680F5B00A75B9A /* Frameworks */,
201
201
  13B07F8E1A680F5B00A75B9A /* Resources */,
202
202
  00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
203
- 6166036CE1CCB60191B5D4DF /* [CP] Embed Pods Frameworks */,
204
- A9C343A59EC892415C4BFEE4 /* [CP] Copy Pods Resources */,
203
+ C9BDCEA7C1A8090D8F420D7A /* [CP] Embed Pods Frameworks */,
204
+ C3B4B1699B3C5FC05FEDA60D /* [CP] Copy Pods Resources */,
205
205
  );
206
206
  buildRules = (
207
207
  );
@@ -314,96 +314,101 @@
314
314
  shellPath = /bin/sh;
315
315
  shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
316
316
  };
317
- 2971306E56E23C3B00A7DD42 /* [CP] Check Pods Manifest.lock */ = {
317
+ 52BF1DB12D160E8100046137 /* Bundle React Native code and images */ = {
318
318
  isa = PBXShellScriptBuildPhase;
319
319
  buildActionMask = 2147483647;
320
320
  files = (
321
321
  );
322
- inputFileListPaths = (
323
- );
324
322
  inputPaths = (
325
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
326
- "${PODS_ROOT}/Manifest.lock",
327
- );
328
- name = "[CP] Check Pods Manifest.lock";
329
- outputFileListPaths = (
323
+ "$(SRCROOT)/.xcode.env.local",
324
+ "$(SRCROOT)/.xcode.env",
330
325
  );
326
+ name = "Bundle React Native code and images";
331
327
  outputPaths = (
332
- "$(DERIVED_FILE_DIR)/Pods-reactnativemagic-reactnativemagicTests-checkManifestLockResult.txt",
333
328
  );
334
329
  runOnlyForDeploymentPostprocessing = 0;
335
330
  shellPath = /bin/sh;
336
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
337
- showEnvVarsInLog = 0;
331
+ shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
338
332
  };
339
- 4ED040DCF71E37BF11F40959 /* [CP] Copy Pods Resources */ = {
333
+ 9280AC1AD30334278122A6BE /* [CP] Check Pods Manifest.lock */ = {
340
334
  isa = PBXShellScriptBuildPhase;
341
335
  buildActionMask = 2147483647;
342
336
  files = (
343
337
  );
344
338
  inputFileListPaths = (
345
- "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-resources-${CONFIGURATION}-input-files.xcfilelist",
346
339
  );
347
- name = "[CP] Copy Pods Resources";
340
+ inputPaths = (
341
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
342
+ "${PODS_ROOT}/Manifest.lock",
343
+ );
344
+ name = "[CP] Check Pods Manifest.lock";
348
345
  outputFileListPaths = (
349
- "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-resources-${CONFIGURATION}-output-files.xcfilelist",
346
+ );
347
+ outputPaths = (
348
+ "$(DERIVED_FILE_DIR)/Pods-reactnativemagic-reactnativemagicTests-checkManifestLockResult.txt",
350
349
  );
351
350
  runOnlyForDeploymentPostprocessing = 0;
352
351
  shellPath = /bin/sh;
353
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-resources.sh\"\n";
352
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
354
353
  showEnvVarsInLog = 0;
355
354
  };
356
- 52BF1DB12D160E8100046137 /* Bundle React Native code and images */ = {
355
+ 93218D9147EB08B1CDC0B329 /* [CP] Check Pods Manifest.lock */ = {
357
356
  isa = PBXShellScriptBuildPhase;
358
357
  buildActionMask = 2147483647;
359
358
  files = (
360
359
  );
360
+ inputFileListPaths = (
361
+ );
361
362
  inputPaths = (
362
- "$(SRCROOT)/.xcode.env.local",
363
- "$(SRCROOT)/.xcode.env",
363
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
364
+ "${PODS_ROOT}/Manifest.lock",
365
+ );
366
+ name = "[CP] Check Pods Manifest.lock";
367
+ outputFileListPaths = (
364
368
  );
365
- name = "Bundle React Native code and images";
366
369
  outputPaths = (
370
+ "$(DERIVED_FILE_DIR)/Pods-reactnativemagic-checkManifestLockResult.txt",
367
371
  );
368
372
  runOnlyForDeploymentPostprocessing = 0;
369
373
  shellPath = /bin/sh;
370
- shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
374
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
375
+ showEnvVarsInLog = 0;
371
376
  };
372
- 6166036CE1CCB60191B5D4DF /* [CP] Embed Pods Frameworks */ = {
377
+ A980D2E5A3C346157E5020A9 /* [CP] Embed Pods Frameworks */ = {
373
378
  isa = PBXShellScriptBuildPhase;
374
379
  buildActionMask = 2147483647;
375
380
  files = (
376
381
  );
377
382
  inputFileListPaths = (
378
- "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic-frameworks-${CONFIGURATION}-input-files.xcfilelist",
383
+ "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
379
384
  );
380
385
  name = "[CP] Embed Pods Frameworks";
381
386
  outputFileListPaths = (
382
- "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic-frameworks-${CONFIGURATION}-output-files.xcfilelist",
387
+ "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
383
388
  );
384
389
  runOnlyForDeploymentPostprocessing = 0;
385
390
  shellPath = /bin/sh;
386
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic-frameworks.sh\"\n";
391
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-frameworks.sh\"\n";
387
392
  showEnvVarsInLog = 0;
388
393
  };
389
- 789279A5A09A07ED561FD196 /* [CP] Embed Pods Frameworks */ = {
394
+ C130977123E4EDA0DC4DCAC1 /* [CP] Copy Pods Resources */ = {
390
395
  isa = PBXShellScriptBuildPhase;
391
396
  buildActionMask = 2147483647;
392
397
  files = (
393
398
  );
394
399
  inputFileListPaths = (
395
- "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
400
+ "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-resources-${CONFIGURATION}-input-files.xcfilelist",
396
401
  );
397
- name = "[CP] Embed Pods Frameworks";
402
+ name = "[CP] Copy Pods Resources";
398
403
  outputFileListPaths = (
399
- "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
404
+ "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-resources-${CONFIGURATION}-output-files.xcfilelist",
400
405
  );
401
406
  runOnlyForDeploymentPostprocessing = 0;
402
407
  shellPath = /bin/sh;
403
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-frameworks.sh\"\n";
408
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-reactnativemagic-reactnativemagicTests/Pods-reactnativemagic-reactnativemagicTests-resources.sh\"\n";
404
409
  showEnvVarsInLog = 0;
405
410
  };
406
- A9C343A59EC892415C4BFEE4 /* [CP] Copy Pods Resources */ = {
411
+ C3B4B1699B3C5FC05FEDA60D /* [CP] Copy Pods Resources */ = {
407
412
  isa = PBXShellScriptBuildPhase;
408
413
  buildActionMask = 2147483647;
409
414
  files = (
@@ -420,26 +425,21 @@
420
425
  shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic-resources.sh\"\n";
421
426
  showEnvVarsInLog = 0;
422
427
  };
423
- B6754112200E825603495E4E /* [CP] Check Pods Manifest.lock */ = {
428
+ C9BDCEA7C1A8090D8F420D7A /* [CP] Embed Pods Frameworks */ = {
424
429
  isa = PBXShellScriptBuildPhase;
425
430
  buildActionMask = 2147483647;
426
431
  files = (
427
432
  );
428
433
  inputFileListPaths = (
434
+ "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic-frameworks-${CONFIGURATION}-input-files.xcfilelist",
429
435
  );
430
- inputPaths = (
431
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
432
- "${PODS_ROOT}/Manifest.lock",
433
- );
434
- name = "[CP] Check Pods Manifest.lock";
436
+ name = "[CP] Embed Pods Frameworks";
435
437
  outputFileListPaths = (
436
- );
437
- outputPaths = (
438
- "$(DERIVED_FILE_DIR)/Pods-reactnativemagic-checkManifestLockResult.txt",
438
+ "${PODS_ROOT}/Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic-frameworks-${CONFIGURATION}-output-files.xcfilelist",
439
439
  );
440
440
  runOnlyForDeploymentPostprocessing = 0;
441
441
  shellPath = /bin/sh;
442
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
442
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-reactnativemagic/Pods-reactnativemagic-frameworks.sh\"\n";
443
443
  showEnvVarsInLog = 0;
444
444
  };
445
445
  /* End PBXShellScriptBuildPhase section */
@@ -484,7 +484,7 @@
484
484
  /* Begin XCBuildConfiguration section */
485
485
  00E356F61AD99517003FC87E /* Debug */ = {
486
486
  isa = XCBuildConfiguration;
487
- baseConfigurationReference = 6517CEEAF6CB08CE0B1B9626 /* Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig */;
487
+ baseConfigurationReference = 465754F1499D1884290F3C3F /* Pods-reactnativemagic-reactnativemagicTests.debug.xcconfig */;
488
488
  buildSettings = {
489
489
  BUNDLE_LOADER = "$(TEST_HOST)";
490
490
  GCC_PREPROCESSOR_DEFINITIONS = (
@@ -511,7 +511,7 @@
511
511
  };
512
512
  00E356F71AD99517003FC87E /* Release */ = {
513
513
  isa = XCBuildConfiguration;
514
- baseConfigurationReference = 75272E3E72710EE7CC39834F /* Pods-reactnativemagic-reactnativemagicTests.release.xcconfig */;
514
+ baseConfigurationReference = A76280FB51D3CE1B55E47DD9 /* Pods-reactnativemagic-reactnativemagicTests.release.xcconfig */;
515
515
  buildSettings = {
516
516
  BUNDLE_LOADER = "$(TEST_HOST)";
517
517
  COPY_PHASE_STRIP = NO;
@@ -535,7 +535,7 @@
535
535
  };
536
536
  13B07F941A680F5B00A75B9A /* Debug */ = {
537
537
  isa = XCBuildConfiguration;
538
- baseConfigurationReference = 73212B210B7C2710F926E931 /* Pods-reactnativemagic.debug.xcconfig */;
538
+ baseConfigurationReference = 704B3B865C81C25269E97AE9 /* Pods-reactnativemagic.debug.xcconfig */;
539
539
  buildSettings = {
540
540
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
541
541
  CLANG_ENABLE_MODULES = YES;
@@ -566,7 +566,7 @@
566
566
  };
567
567
  13B07F951A680F5B00A75B9A /* Release */ = {
568
568
  isa = XCBuildConfiguration;
569
- baseConfigurationReference = 91F3E60D945E8CE7540D951D /* Pods-reactnativemagic.release.xcconfig */;
569
+ baseConfigurationReference = 8E6E7224800FB3999B451268 /* Pods-reactnativemagic.release.xcconfig */;
570
570
  buildSettings = {
571
571
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
572
572
  CLANG_ENABLE_MODULES = YES;
@@ -1,5 +1,7 @@
1
+ ENV=development
1
2
  API_BASE_URL=https:/$()/dev-api.example.com
2
3
  API_KEY=dev_key
3
4
  ANDROID_APP_ID=com.reactnativemagic.development
4
5
  ANDROID_VERSION_CODE=1
5
6
  ANDROID_VERSION_NAME=1.0.0
7
+ PROJECT_NAME=YOURAPPNAME
@@ -1,4 +1,7 @@
1
1
  const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
2
+ const {
3
+ wrapWithReanimatedMetroConfig,
4
+ } = require('react-native-reanimated/metro-config');
2
5
 
3
6
  /**
4
7
  * Metro configuration
@@ -8,4 +11,6 @@ const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
8
11
  */
9
12
  const config = {};
10
13
 
11
- module.exports = mergeConfig(getDefaultConfig(__dirname), config);
14
+ module.exports = wrapWithReanimatedMetroConfig(
15
+ mergeConfig(getDefaultConfig(__dirname), config),
16
+ );
@@ -16,6 +16,7 @@
16
16
  "@react-native-community/slider": "^4.5.5",
17
17
  "@react-navigation/bottom-tabs": "^7.2.0",
18
18
  "@react-navigation/drawer": "^7.1.1",
19
+ "@react-navigation/elements": "^2.2.5",
19
20
  "@react-navigation/material-top-tabs": "^7.1.0",
20
21
  "@react-navigation/native": "^7.0.14",
21
22
  "@react-navigation/native-stack": "^7.2.0",
@@ -7873,9 +7874,9 @@
7873
7874
  }
7874
7875
  },
7875
7876
  "node_modules/fastq": {
7876
- "version": "1.17.1",
7877
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
7878
- "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
7877
+ "version": "1.18.0",
7878
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.18.0.tgz",
7879
+ "integrity": "sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==",
7879
7880
  "dev": true,
7880
7881
  "license": "ISC",
7881
7882
  "dependencies": {
@@ -8689,9 +8690,9 @@
8689
8690
  }
8690
8691
  },
8691
8692
  "node_modules/image-size": {
8692
- "version": "1.1.1",
8693
- "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.1.1.tgz",
8694
- "integrity": "sha512-541xKlUw6jr/6gGuk92F+mYM5zaFAc5ahphvkqvNe2bQ6gVBkd6bfrmVJ2t4KDAfikAYZyIqTnktX3i6/aQDrQ==",
8693
+ "version": "1.2.0",
8694
+ "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.2.0.tgz",
8695
+ "integrity": "sha512-4S8fwbO6w3GeCVN6OPtA9I5IGKkcDMPcKndtUlpJuCwu7JLjtj7JZpwqLuyY2nrmQT3AWsCJLSKPsc2mPBSl3w==",
8695
8696
  "license": "MIT",
8696
8697
  "dependencies": {
8697
8698
  "queue": "6.0.2"
@@ -8909,9 +8910,9 @@
8909
8910
  }
8910
8911
  },
8911
8912
  "node_modules/is-core-module": {
8912
- "version": "2.16.0",
8913
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.0.tgz",
8914
- "integrity": "sha512-urTSINYfAYgcbLb0yDQ6egFm6h3Mo1DcF9EkyXSRjjzdHbsulg01qhwWuXdOoUBuTkbQ80KDboXa0vFJ+BDH+g==",
8913
+ "version": "2.16.1",
8914
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
8915
+ "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
8915
8916
  "license": "MIT",
8916
8917
  "dependencies": {
8917
8918
  "hasown": "^2.0.2"
@@ -10486,9 +10487,9 @@
10486
10487
  "license": "MIT"
10487
10488
  },
10488
10489
  "node_modules/json-stable-stringify": {
10489
- "version": "1.2.0",
10490
- "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.2.0.tgz",
10491
- "integrity": "sha512-ex8jk9BZHBolvbd5cRnAgwyaYcYB0qZldy1e+LCOdcF6+AUmVZ6LcGUMzsRTW83QMeu+GxZGrcLqxqrgfXGvIw==",
10490
+ "version": "1.2.1",
10491
+ "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.2.1.tgz",
10492
+ "integrity": "sha512-Lp6HbbBgosLmJbjx0pBLbgvx68FaFU1sdkmBuckmhhJ88kL13OA51CDtR2yJB50eCNMH9wRqtQNNiAqQH4YXnA==",
10492
10493
  "license": "MIT",
10493
10494
  "dependencies": {
10494
10495
  "call-bind": "^1.0.8",
@@ -4,12 +4,12 @@
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "android": "react-native run-android",
7
- "android:staging": "react-native run-android --variant=stagingdebug",
8
- "android:staging-release": "react-native run-android --variant=stagingrelease",
9
- "android:dev": "react-native run-android --variant=developmentdebug",
10
- "android:dev-release": "react-native run-android --variant=developmentrelease",
11
- "android:prod": "react-native run-android --variant=productiondebug",
12
- "android:prod-release": "react-native run-android --variant=productionrelease",
7
+ "android:staging": "react-native run-android --variant=stagingDebug",
8
+ "android:staging-release": "react-native run-android --variant=stagingRelease",
9
+ "android:dev": "ENVFILE=.env.development react-native run-android --variant=developmentDebug",
10
+ "android:dev-release": "ENVFILE=.env.development react-native run-android --variant=developmentRelease",
11
+ "android:prod": "ENVFILE=.env.production react-native run-android --variant=productionDebug",
12
+ "android:prod-release": "ENVFILE=.env.production react-native run-android --variant=productionRelease",
13
13
  "ios": "react-native run-ios",
14
14
  "lint": "eslint .",
15
15
  "start": "react-native start",
@@ -27,6 +27,7 @@
27
27
  "@react-native-community/slider": "^4.5.5",
28
28
  "@react-navigation/bottom-tabs": "^7.2.0",
29
29
  "@react-navigation/drawer": "^7.1.1",
30
+ "@react-navigation/elements": "^2.2.5",
30
31
  "@react-navigation/material-top-tabs": "^7.1.0",
31
32
  "@react-navigation/native": "^7.0.14",
32
33
  "@react-navigation/native-stack": "^7.2.0",
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import {ImageBackground, StyleSheet, ViewStyle} from 'react-native';
3
3
  import {CommonStyles} from '../../core/theme/commonStyles';
4
- import {ImageResources} from '../ImageResources.g';
5
4
 
6
5
  interface BackgroundType {
7
6
  children: React.ReactNode;
@@ -1,13 +1,12 @@
1
1
  import React, {FC, memo, useCallback} from 'react';
2
+ import {ImageStyle, ImageURISource, ViewStyle} from 'react-native';
2
3
  import ImagePicker, {
3
4
  Image as CropperImage,
4
5
  Options,
5
6
  } from 'react-native-image-crop-picker';
6
- import {ImageStyle, ImageURISource, ViewStyle} from 'react-native';
7
- import {ImageResources} from '../ImageResources.g';
8
- import {PhotoTakingButton} from './PhotoTakingButton';
9
- import {localization} from '../localization/localization';
10
7
  import {showActionSheet} from '../helpers/dialogsHelpers';
8
+ import {localization} from '../localization/localization';
9
+ import {PhotoTakingButton} from './PhotoTakingButton';
11
10
 
12
11
  interface IProps {
13
12
  onImagePicked: (image: CropperImage) => void;
@@ -27,7 +26,7 @@ export const ImageCropPickerButton: FC<IProps> = memo(
27
26
  onImagePicked,
28
27
  onRemoveImage,
29
28
  image,
30
- icon = ImageResources.camera,
29
+ icon,
31
30
  style,
32
31
  iconStyle,
33
32
  imageStyle,
@@ -1,16 +1,11 @@
1
1
  import React from 'react';
2
2
  import {Image, View} from 'react-native';
3
3
  import {CommonStyles} from '../../core/theme/commonStyles';
4
- import {ImageResources} from '../ImageResources.g';
5
4
 
6
5
  export const LoadingComponent = () => {
7
6
  return (
8
7
  <View style={CommonStyles.flexCenter}>
9
- <Image
10
- resizeMode='cover'
11
- style={{flex: 1}}
12
- source={ImageResources.splash}
13
- />
8
+ <Image resizeMode="cover" style={{flex: 1}} source={0} />
14
9
  </View>
15
10
  );
16
11
  };
@@ -8,11 +8,9 @@ import {
8
8
  TouchableOpacity,
9
9
  ViewStyle,
10
10
  } from 'react-native';
11
- import {ImageResources} from '../ImageResources.g';
12
11
  import {Image as CropperImage} from 'react-native-image-crop-picker';
12
+ import {Colors} from '../../core/theme/colors';
13
13
  import {CommonSizes} from '../../core/theme/commonSizes';
14
- import {Colors, PlatformColorsIOS} from '../../core/theme/colors';
15
- import {platformMixedColor} from '../helpers/colorHelpers';
16
14
 
17
15
  interface IProps {
18
16
  onPress?: () => void;
@@ -26,7 +24,7 @@ interface IProps {
26
24
 
27
25
  export const PhotoTakingButton: FC<IProps> = memo(
28
26
  ({
29
- icon = ImageResources.camera,
27
+ icon,
30
28
  onPress,
31
29
  backgroundImage,
32
30
  style,
@@ -36,7 +34,7 @@ export const PhotoTakingButton: FC<IProps> = memo(
36
34
  }) => {
37
35
  return (
38
36
  <TouchableOpacity
39
- style={[styles.button, style] as ViewStyle}
37
+ style={[styles.button, style]}
40
38
  onPress={onPress}
41
39
  disabled={disabled}>
42
40
  <BackgroundComponent image={backgroundImage} style={imageStyle}>
@@ -78,7 +76,7 @@ const styles = StyleSheet.create({
78
76
  justifyContent: 'center',
79
77
  borderRadius: CommonSizes.borderRadius.small,
80
78
  borderWidth: 1,
81
- borderColor: platformMixedColor(PlatformColorsIOS.systemFill, Colors.gray),
79
+ borderColor: Colors.gray,
82
80
  } as ViewStyle,
83
81
  image: {
84
82
  height: 120,
@@ -93,7 +91,7 @@ const styles = StyleSheet.create({
93
91
  width: 32,
94
92
  height: 32,
95
93
  resizeMode: 'contain',
96
- tintColor: platformMixedColor(PlatformColorsIOS.label, Colors.black),
94
+ tintColor: Colors.black,
97
95
  opacity: 0.8,
98
96
  } as ImageStyle,
99
97
  });
@@ -21,15 +21,10 @@ import {
21
21
  View,
22
22
  ViewStyle,
23
23
  } from 'react-native';
24
- import {
25
- Colors,
26
- PlatformColorsAndroid,
27
- PlatformColorsIOS,
28
- } from '../../core/theme/colors';
24
+ import {Colors} from '../../core/theme/colors';
29
25
  import {isIos} from '../../core/theme/commonConsts';
30
26
  import {CommonSizes} from '../../core/theme/commonSizes';
31
27
  import {CommonStyles} from '../../core/theme/commonStyles';
32
- import {platformMixedColor, platformNativeColor} from '../helpers/colorHelpers';
33
28
  import {localization} from '../localization/localization';
34
29
 
35
30
  interface IProps extends TextInputProps {
@@ -65,10 +60,7 @@ export const PrimaryTextInput: FC<IProps> = memo(
65
60
  disableFullscreenUI = true,
66
61
  enablesReturnKeyAutomatically = true,
67
62
  underlineColorAndroid = Colors.transparent,
68
- placeholderTextColor = platformNativeColor(
69
- PlatformColorsIOS.placeholderText,
70
- PlatformColorsAndroid.secondaryText,
71
- ),
63
+ placeholderTextColor = Colors.gray,
72
64
  editable = true,
73
65
  clearButtonMode = 'while-editing',
74
66
  label,
@@ -200,10 +192,7 @@ function getInputContainerStyle(
200
192
  }
201
193
  }
202
194
 
203
- const selectionColor = platformNativeColor(
204
- PlatformColorsIOS.systemBlue,
205
- PlatformColorsAndroid.primary,
206
- );
195
+ const selectionColor = Colors.primary100;
207
196
 
208
197
  const commonInputContainer: TextStyle = {
209
198
  flexDirection: 'row',
@@ -279,7 +268,7 @@ const styles = StyleSheet.create({
279
268
  } as TextStyle,
280
269
  error: {
281
270
  ...CommonStyles.normalText,
282
- color: platformMixedColor(PlatformColorsIOS.systemRed, Colors.red),
271
+ color: Colors.red,
283
272
  fontSize: CommonSizes.font.small,
284
273
  lineHeight: CommonSizes.lineHeight.small,
285
274
  paddingTop: CommonSizes.spacing.extraSmall,
@@ -4,11 +4,7 @@ import {RadioIcon} from './RadioIcon';
4
4
  import {TouchablePlatform} from './TouchablePlatform';
5
5
  import {CommonSizes} from '../../core/theme/commonSizes';
6
6
  import {CommonStyles} from '../../core/theme/commonStyles';
7
- import {
8
- PlatformColorsAndroid,
9
- PlatformColorsIOS,
10
- } from '../../core/theme/colors';
11
- import {platformNativeColor} from '../helpers/colorHelpers';
7
+ import {Colors} from '../../core/theme/colors';
12
8
 
13
9
  interface IIconComponentProps {
14
10
  isSelected: boolean;
@@ -65,9 +61,6 @@ const styles = StyleSheet.create({
65
61
  } as TextStyle,
66
62
  labelDisabled: {
67
63
  ...commonLabel,
68
- color: platformNativeColor(
69
- PlatformColorsIOS.systemFill,
70
- PlatformColorsAndroid.secondaryText,
71
- ),
64
+ color: Colors.gray,
72
65
  } as TextStyle,
73
66
  });