@umang-thakkar/base-template 1.0.0

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 (79) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +150 -0
  3. package/package.json +27 -0
  4. package/template/App.tsx +41 -0
  5. package/template/Gemfile +16 -0
  6. package/template/Gemfile.lock +124 -0
  7. package/template/Main.tsx +14 -0
  8. package/template/README.md +97 -0
  9. package/template/__tests__/App.test.tsx +13 -0
  10. package/template/_gitignore +75 -0
  11. package/template/android/app/build.gradle +119 -0
  12. package/template/android/app/debug.keystore +0 -0
  13. package/template/android/app/proguard-rules.pro +10 -0
  14. package/template/android/app/src/debug/AndroidManifest.xml +9 -0
  15. package/template/android/app/src/main/AndroidManifest.xml +26 -0
  16. package/template/android/app/src/main/java/com/basetemplate/MainActivity.kt +22 -0
  17. package/template/android/app/src/main/java/com/basetemplate/MainApplication.kt +38 -0
  18. package/template/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
  19. package/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  20. package/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  21. package/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  22. package/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  23. package/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  24. package/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  25. package/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  26. package/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  27. package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  28. package/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  29. package/template/android/app/src/main/res/values/strings.xml +3 -0
  30. package/template/android/app/src/main/res/values/styles.xml +9 -0
  31. package/template/android/build.gradle +21 -0
  32. package/template/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  33. package/template/android/gradle/wrapper/gradle-wrapper.properties +7 -0
  34. package/template/android/gradle.properties +44 -0
  35. package/template/android/gradlew +251 -0
  36. package/template/android/gradlew.bat +99 -0
  37. package/template/android/settings.gradle +6 -0
  38. package/template/app.json +4 -0
  39. package/template/babel.config.js +4 -0
  40. package/template/constants/AppConstants.tsx +1 -0
  41. package/template/constants/StoragePreferences.ts +94 -0
  42. package/template/index.js +9 -0
  43. package/template/ios/.xcode.env +11 -0
  44. package/template/ios/.xcode.env.local +1 -0
  45. package/template/ios/BaseTemplate/AppDelegate.swift +48 -0
  46. package/template/ios/BaseTemplate/Images.xcassets/AppIcon.appiconset/Contents.json +53 -0
  47. package/template/ios/BaseTemplate/Images.xcassets/Contents.json +6 -0
  48. package/template/ios/BaseTemplate/Info.plist +53 -0
  49. package/template/ios/BaseTemplate/LaunchScreen.storyboard +47 -0
  50. package/template/ios/BaseTemplate/PrivacyInfo.xcprivacy +37 -0
  51. package/template/ios/BaseTemplate.xcodeproj/project.pbxproj +478 -0
  52. package/template/ios/BaseTemplate.xcodeproj/xcshareddata/xcschemes/BaseTemplate.xcscheme +88 -0
  53. package/template/ios/BaseTemplate.xcworkspace/contents.xcworkspacedata +10 -0
  54. package/template/ios/Podfile +35 -0
  55. package/template/jest.config.js +3 -0
  56. package/template/metro.config.js +11 -0
  57. package/template/package.json +54 -0
  58. package/template/src/api/AxiosActions.ts +37 -0
  59. package/template/src/api/AxiosClient.ts +17 -0
  60. package/template/src/api/queries.ts +22 -0
  61. package/template/src/api/service.ts +9 -0
  62. package/template/src/helper/colors.ts +24 -0
  63. package/template/src/helper/common-functions.ts +24 -0
  64. package/template/src/helper/font-family.ts +7 -0
  65. package/template/src/helper/navigation-service.ts +69 -0
  66. package/template/src/helper/typography.ts +91 -0
  67. package/template/src/helper/utility-functions.ts +85 -0
  68. package/template/src/navigation/AppStack.tsx +32 -0
  69. package/template/src/navigation/AppStackParams.ts +4 -0
  70. package/template/src/navigation/screens.ts +14 -0
  71. package/template/src/redux/action.ts +0 -0
  72. package/template/src/redux/slice.ts +21 -0
  73. package/template/src/redux/store.ts +16 -0
  74. package/template/src/redux/types.d.ts +1 -0
  75. package/template/src/screens/HomeScreen.tsx +21 -0
  76. package/template/src/screens/SplashScreen.tsx +18 -0
  77. package/template/tsconfig.json +5 -0
  78. package/template/yarn.lock +6935 -0
  79. package/template.config.js +12 -0
@@ -0,0 +1,478 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 54;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 0C80B921A6F3F58F76C31292 /* libPods-BaseTemplate.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-BaseTemplate.a */; };
11
+ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
12
+ 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
13
+ 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
14
+ F51ED5429573E67DACCDD39C /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
15
+ /* End PBXBuildFile section */
16
+
17
+ /* Begin PBXFileReference section */
18
+ 13B07F961A680F5B00A75B9A /* BaseTemplate.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BaseTemplate.app; sourceTree = BUILT_PRODUCTS_DIR; };
19
+ 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = BaseTemplate/Images.xcassets; sourceTree = "<group>"; };
20
+ 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = BaseTemplate/Info.plist; sourceTree = "<group>"; };
21
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = BaseTemplate/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
22
+ 3B4392A12AC88292D35C810B /* Pods-BaseTemplate.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BaseTemplate.debug.xcconfig"; path = "Target Support Files/Pods-BaseTemplate/Pods-BaseTemplate.debug.xcconfig"; sourceTree = "<group>"; };
23
+ 5709B34CF0A7D63546082F79 /* Pods-BaseTemplate.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BaseTemplate.release.xcconfig"; path = "Target Support Files/Pods-BaseTemplate/Pods-BaseTemplate.release.xcconfig"; sourceTree = "<group>"; };
24
+ 5DCACB8F33CDC322A6C60F78 /* libPods-BaseTemplate.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-BaseTemplate.a"; sourceTree = BUILT_PRODUCTS_DIR; };
25
+ 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = BaseTemplate/AppDelegate.swift; sourceTree = "<group>"; };
26
+ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = BaseTemplate/LaunchScreen.storyboard; sourceTree = "<group>"; };
27
+ ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
28
+ /* End PBXFileReference section */
29
+
30
+ /* Begin PBXFrameworksBuildPhase section */
31
+ 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
32
+ isa = PBXFrameworksBuildPhase;
33
+ buildActionMask = 2147483647;
34
+ files = (
35
+ 0C80B921A6F3F58F76C31292 /* libPods-BaseTemplate.a in Frameworks */,
36
+ );
37
+ runOnlyForDeploymentPostprocessing = 0;
38
+ };
39
+ /* End PBXFrameworksBuildPhase section */
40
+
41
+ /* Begin PBXGroup section */
42
+ 13B07FAE1A68108700A75B9A /* BaseTemplate */ = {
43
+ isa = PBXGroup;
44
+ children = (
45
+ 13B07FB51A68108700A75B9A /* Images.xcassets */,
46
+ 761780EC2CA45674006654EE /* AppDelegate.swift */,
47
+ 13B07FB61A68108700A75B9A /* Info.plist */,
48
+ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
49
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */,
50
+ );
51
+ name = BaseTemplate;
52
+ sourceTree = "<group>";
53
+ };
54
+ 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
55
+ isa = PBXGroup;
56
+ children = (
57
+ ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
58
+ 5DCACB8F33CDC322A6C60F78 /* libPods-BaseTemplate.a */,
59
+ );
60
+ name = Frameworks;
61
+ sourceTree = "<group>";
62
+ };
63
+ 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
64
+ isa = PBXGroup;
65
+ children = (
66
+ );
67
+ name = Libraries;
68
+ sourceTree = "<group>";
69
+ };
70
+ 83CBB9F61A601CBA00E9B192 = {
71
+ isa = PBXGroup;
72
+ children = (
73
+ 13B07FAE1A68108700A75B9A /* BaseTemplate */,
74
+ 832341AE1AAA6A7D00B99B32 /* Libraries */,
75
+ 83CBBA001A601CBA00E9B192 /* Products */,
76
+ 2D16E6871FA4F8E400B85C8A /* Frameworks */,
77
+ BBD78D7AC51CEA395F1C20DB /* Pods */,
78
+ );
79
+ indentWidth = 2;
80
+ sourceTree = "<group>";
81
+ tabWidth = 2;
82
+ usesTabs = 0;
83
+ };
84
+ 83CBBA001A601CBA00E9B192 /* Products */ = {
85
+ isa = PBXGroup;
86
+ children = (
87
+ 13B07F961A680F5B00A75B9A /* BaseTemplate.app */,
88
+ );
89
+ name = Products;
90
+ sourceTree = "<group>";
91
+ };
92
+ BBD78D7AC51CEA395F1C20DB /* Pods */ = {
93
+ isa = PBXGroup;
94
+ children = (
95
+ 3B4392A12AC88292D35C810B /* Pods-BaseTemplate.debug.xcconfig */,
96
+ 5709B34CF0A7D63546082F79 /* Pods-BaseTemplate.release.xcconfig */,
97
+ );
98
+ path = Pods;
99
+ sourceTree = "<group>";
100
+ };
101
+ /* End PBXGroup section */
102
+
103
+ /* Begin PBXNativeTarget section */
104
+ 13B07F861A680F5B00A75B9A /* BaseTemplate */ = {
105
+ isa = PBXNativeTarget;
106
+ buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "BaseTemplate" */;
107
+ buildPhases = (
108
+ C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
109
+ 13B07F871A680F5B00A75B9A /* Sources */,
110
+ 13B07F8C1A680F5B00A75B9A /* Frameworks */,
111
+ 13B07F8E1A680F5B00A75B9A /* Resources */,
112
+ 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
113
+ 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */,
114
+ E235C05ADACE081382539298 /* [CP] Copy Pods Resources */,
115
+ );
116
+ buildRules = (
117
+ );
118
+ dependencies = (
119
+ );
120
+ name = BaseTemplate;
121
+ productName = BaseTemplate;
122
+ productReference = 13B07F961A680F5B00A75B9A /* BaseTemplate.app */;
123
+ productType = "com.apple.product-type.application";
124
+ };
125
+ /* End PBXNativeTarget section */
126
+
127
+ /* Begin PBXProject section */
128
+ 83CBB9F71A601CBA00E9B192 /* Project object */ = {
129
+ isa = PBXProject;
130
+ attributes = {
131
+ LastUpgradeCheck = 1210;
132
+ TargetAttributes = {
133
+ 13B07F861A680F5B00A75B9A = {
134
+ LastSwiftMigration = 1120;
135
+ };
136
+ };
137
+ };
138
+ buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "BaseTemplate" */;
139
+ compatibilityVersion = "Xcode 12.0";
140
+ developmentRegion = en;
141
+ hasScannedForEncodings = 0;
142
+ knownRegions = (
143
+ en,
144
+ Base,
145
+ );
146
+ mainGroup = 83CBB9F61A601CBA00E9B192;
147
+ productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
148
+ projectDirPath = "";
149
+ projectRoot = "";
150
+ targets = (
151
+ 13B07F861A680F5B00A75B9A /* BaseTemplate */,
152
+ );
153
+ };
154
+ /* End PBXProject section */
155
+
156
+ /* Begin PBXResourcesBuildPhase section */
157
+ 13B07F8E1A680F5B00A75B9A /* Resources */ = {
158
+ isa = PBXResourcesBuildPhase;
159
+ buildActionMask = 2147483647;
160
+ files = (
161
+ 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
162
+ 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
163
+ F51ED5429573E67DACCDD39C /* PrivacyInfo.xcprivacy in Resources */,
164
+ );
165
+ runOnlyForDeploymentPostprocessing = 0;
166
+ };
167
+ /* End PBXResourcesBuildPhase section */
168
+
169
+ /* Begin PBXShellScriptBuildPhase section */
170
+ 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
171
+ isa = PBXShellScriptBuildPhase;
172
+ buildActionMask = 2147483647;
173
+ files = (
174
+ );
175
+ inputPaths = (
176
+ "$(SRCROOT)/.xcode.env.local",
177
+ "$(SRCROOT)/.xcode.env",
178
+ );
179
+ name = "Bundle React Native code and images";
180
+ outputPaths = (
181
+ );
182
+ runOnlyForDeploymentPostprocessing = 0;
183
+ shellPath = /bin/sh;
184
+ 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";
185
+ };
186
+ 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
187
+ isa = PBXShellScriptBuildPhase;
188
+ buildActionMask = 2147483647;
189
+ files = (
190
+ );
191
+ inputFileListPaths = (
192
+ "${PODS_ROOT}/Target Support Files/Pods-BaseTemplate/Pods-BaseTemplate-frameworks-${CONFIGURATION}-input-files.xcfilelist",
193
+ );
194
+ name = "[CP] Embed Pods Frameworks";
195
+ outputFileListPaths = (
196
+ "${PODS_ROOT}/Target Support Files/Pods-BaseTemplate/Pods-BaseTemplate-frameworks-${CONFIGURATION}-output-files.xcfilelist",
197
+ );
198
+ runOnlyForDeploymentPostprocessing = 0;
199
+ shellPath = /bin/sh;
200
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-BaseTemplate/Pods-BaseTemplate-frameworks.sh\"\n";
201
+ showEnvVarsInLog = 0;
202
+ };
203
+ C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
204
+ isa = PBXShellScriptBuildPhase;
205
+ buildActionMask = 2147483647;
206
+ files = (
207
+ );
208
+ inputFileListPaths = (
209
+ );
210
+ inputPaths = (
211
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
212
+ "${PODS_ROOT}/Manifest.lock",
213
+ );
214
+ name = "[CP] Check Pods Manifest.lock";
215
+ outputFileListPaths = (
216
+ );
217
+ outputPaths = (
218
+ "$(DERIVED_FILE_DIR)/Pods-BaseTemplate-checkManifestLockResult.txt",
219
+ );
220
+ runOnlyForDeploymentPostprocessing = 0;
221
+ shellPath = /bin/sh;
222
+ 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";
223
+ showEnvVarsInLog = 0;
224
+ };
225
+ E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
226
+ isa = PBXShellScriptBuildPhase;
227
+ buildActionMask = 2147483647;
228
+ files = (
229
+ );
230
+ inputFileListPaths = (
231
+ "${PODS_ROOT}/Target Support Files/Pods-BaseTemplate/Pods-BaseTemplate-resources-${CONFIGURATION}-input-files.xcfilelist",
232
+ );
233
+ name = "[CP] Copy Pods Resources";
234
+ outputFileListPaths = (
235
+ "${PODS_ROOT}/Target Support Files/Pods-BaseTemplate/Pods-BaseTemplate-resources-${CONFIGURATION}-output-files.xcfilelist",
236
+ );
237
+ runOnlyForDeploymentPostprocessing = 0;
238
+ shellPath = /bin/sh;
239
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-BaseTemplate/Pods-BaseTemplate-resources.sh\"\n";
240
+ showEnvVarsInLog = 0;
241
+ };
242
+ /* End PBXShellScriptBuildPhase section */
243
+
244
+ /* Begin PBXSourcesBuildPhase section */
245
+ 13B07F871A680F5B00A75B9A /* Sources */ = {
246
+ isa = PBXSourcesBuildPhase;
247
+ buildActionMask = 2147483647;
248
+ files = (
249
+ 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */,
250
+ );
251
+ runOnlyForDeploymentPostprocessing = 0;
252
+ };
253
+ /* End PBXSourcesBuildPhase section */
254
+
255
+ /* Begin XCBuildConfiguration section */
256
+ 13B07F941A680F5B00A75B9A /* Debug */ = {
257
+ isa = XCBuildConfiguration;
258
+ baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-BaseTemplate.debug.xcconfig */;
259
+ buildSettings = {
260
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
261
+ CLANG_ENABLE_MODULES = YES;
262
+ CURRENT_PROJECT_VERSION = 1;
263
+ ENABLE_BITCODE = NO;
264
+ INFOPLIST_FILE = BaseTemplate/Info.plist;
265
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
266
+ LD_RUNPATH_SEARCH_PATHS = (
267
+ "$(inherited)",
268
+ "@executable_path/Frameworks",
269
+ );
270
+ MARKETING_VERSION = 1.0;
271
+ OTHER_LDFLAGS = (
272
+ "$(inherited)",
273
+ "-ObjC",
274
+ "-lc++",
275
+ );
276
+ PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
277
+ PRODUCT_NAME = BaseTemplate;
278
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
279
+ SWIFT_VERSION = 5.0;
280
+ VERSIONING_SYSTEM = "apple-generic";
281
+ };
282
+ name = Debug;
283
+ };
284
+ 13B07F951A680F5B00A75B9A /* Release */ = {
285
+ isa = XCBuildConfiguration;
286
+ baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-BaseTemplate.release.xcconfig */;
287
+ buildSettings = {
288
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
289
+ CLANG_ENABLE_MODULES = YES;
290
+ CURRENT_PROJECT_VERSION = 1;
291
+ INFOPLIST_FILE = BaseTemplate/Info.plist;
292
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
293
+ LD_RUNPATH_SEARCH_PATHS = (
294
+ "$(inherited)",
295
+ "@executable_path/Frameworks",
296
+ );
297
+ MARKETING_VERSION = 1.0;
298
+ OTHER_LDFLAGS = (
299
+ "$(inherited)",
300
+ "-ObjC",
301
+ "-lc++",
302
+ );
303
+ PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
304
+ PRODUCT_NAME = BaseTemplate;
305
+ SWIFT_VERSION = 5.0;
306
+ VERSIONING_SYSTEM = "apple-generic";
307
+ };
308
+ name = Release;
309
+ };
310
+ 83CBBA201A601CBA00E9B192 /* Debug */ = {
311
+ isa = XCBuildConfiguration;
312
+ buildSettings = {
313
+ ALWAYS_SEARCH_USER_PATHS = NO;
314
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
315
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
316
+ CLANG_CXX_LIBRARY = "libc++";
317
+ CLANG_ENABLE_MODULES = YES;
318
+ CLANG_ENABLE_OBJC_ARC = YES;
319
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
320
+ CLANG_WARN_BOOL_CONVERSION = YES;
321
+ CLANG_WARN_COMMA = YES;
322
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
323
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
324
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
325
+ CLANG_WARN_EMPTY_BODY = YES;
326
+ CLANG_WARN_ENUM_CONVERSION = YES;
327
+ CLANG_WARN_INFINITE_RECURSION = YES;
328
+ CLANG_WARN_INT_CONVERSION = YES;
329
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
330
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
331
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
332
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
333
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
334
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
335
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
336
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
337
+ CLANG_WARN_UNREACHABLE_CODE = YES;
338
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
339
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
340
+ COPY_PHASE_STRIP = NO;
341
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
342
+ ENABLE_TESTABILITY = YES;
343
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
344
+ GCC_C_LANGUAGE_STANDARD = gnu99;
345
+ GCC_DYNAMIC_NO_PIC = NO;
346
+ GCC_NO_COMMON_BLOCKS = YES;
347
+ GCC_OPTIMIZATION_LEVEL = 0;
348
+ GCC_PREPROCESSOR_DEFINITIONS = (
349
+ "DEBUG=1",
350
+ "$(inherited)",
351
+ );
352
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
353
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
354
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
355
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
356
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
357
+ GCC_WARN_UNUSED_FUNCTION = YES;
358
+ GCC_WARN_UNUSED_VARIABLE = YES;
359
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
360
+ LD_RUNPATH_SEARCH_PATHS = (
361
+ /usr/lib/swift,
362
+ "$(inherited)",
363
+ );
364
+ LIBRARY_SEARCH_PATHS = (
365
+ "\"$(SDKROOT)/usr/lib/swift\"",
366
+ "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
367
+ "\"$(inherited)\"",
368
+ );
369
+ MTL_ENABLE_DEBUG_INFO = YES;
370
+ ONLY_ACTIVE_ARCH = YES;
371
+ OTHER_CPLUSPLUSFLAGS = (
372
+ "$(OTHER_CFLAGS)",
373
+ "-DFOLLY_NO_CONFIG",
374
+ "-DFOLLY_MOBILE=1",
375
+ "-DFOLLY_USE_LIBCPP=1",
376
+ "-DFOLLY_CFG_NO_COROUTINES=1",
377
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
378
+ );
379
+ REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
380
+ SDKROOT = iphoneos;
381
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
382
+ USE_HERMES = true;
383
+ };
384
+ name = Debug;
385
+ };
386
+ 83CBBA211A601CBA00E9B192 /* Release */ = {
387
+ isa = XCBuildConfiguration;
388
+ buildSettings = {
389
+ ALWAYS_SEARCH_USER_PATHS = NO;
390
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
391
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
392
+ CLANG_CXX_LIBRARY = "libc++";
393
+ CLANG_ENABLE_MODULES = YES;
394
+ CLANG_ENABLE_OBJC_ARC = YES;
395
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
396
+ CLANG_WARN_BOOL_CONVERSION = YES;
397
+ CLANG_WARN_COMMA = YES;
398
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
399
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
400
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
401
+ CLANG_WARN_EMPTY_BODY = YES;
402
+ CLANG_WARN_ENUM_CONVERSION = YES;
403
+ CLANG_WARN_INFINITE_RECURSION = YES;
404
+ CLANG_WARN_INT_CONVERSION = YES;
405
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
406
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
407
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
408
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
409
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
410
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
411
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
412
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
413
+ CLANG_WARN_UNREACHABLE_CODE = YES;
414
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
415
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
416
+ COPY_PHASE_STRIP = YES;
417
+ ENABLE_NS_ASSERTIONS = NO;
418
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
419
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
420
+ GCC_C_LANGUAGE_STANDARD = gnu99;
421
+ GCC_NO_COMMON_BLOCKS = YES;
422
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
423
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
424
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
425
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
426
+ GCC_WARN_UNUSED_FUNCTION = YES;
427
+ GCC_WARN_UNUSED_VARIABLE = YES;
428
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
429
+ LD_RUNPATH_SEARCH_PATHS = (
430
+ /usr/lib/swift,
431
+ "$(inherited)",
432
+ );
433
+ LIBRARY_SEARCH_PATHS = (
434
+ "\"$(SDKROOT)/usr/lib/swift\"",
435
+ "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
436
+ "\"$(inherited)\"",
437
+ );
438
+ MTL_ENABLE_DEBUG_INFO = NO;
439
+ OTHER_CPLUSPLUSFLAGS = (
440
+ "$(OTHER_CFLAGS)",
441
+ "-DFOLLY_NO_CONFIG",
442
+ "-DFOLLY_MOBILE=1",
443
+ "-DFOLLY_USE_LIBCPP=1",
444
+ "-DFOLLY_CFG_NO_COROUTINES=1",
445
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
446
+ );
447
+ REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
448
+ SDKROOT = iphoneos;
449
+ USE_HERMES = true;
450
+ VALIDATE_PRODUCT = YES;
451
+ };
452
+ name = Release;
453
+ };
454
+ /* End XCBuildConfiguration section */
455
+
456
+ /* Begin XCConfigurationList section */
457
+ 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "BaseTemplate" */ = {
458
+ isa = XCConfigurationList;
459
+ buildConfigurations = (
460
+ 13B07F941A680F5B00A75B9A /* Debug */,
461
+ 13B07F951A680F5B00A75B9A /* Release */,
462
+ );
463
+ defaultConfigurationIsVisible = 0;
464
+ defaultConfigurationName = Release;
465
+ };
466
+ 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "BaseTemplate" */ = {
467
+ isa = XCConfigurationList;
468
+ buildConfigurations = (
469
+ 83CBBA201A601CBA00E9B192 /* Debug */,
470
+ 83CBBA211A601CBA00E9B192 /* Release */,
471
+ );
472
+ defaultConfigurationIsVisible = 0;
473
+ defaultConfigurationName = Release;
474
+ };
475
+ /* End XCConfigurationList section */
476
+ };
477
+ rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
478
+ }
@@ -0,0 +1,88 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "1210"
4
+ version = "1.3">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES">
8
+ <BuildActionEntries>
9
+ <BuildActionEntry
10
+ buildForTesting = "YES"
11
+ buildForRunning = "YES"
12
+ buildForProfiling = "YES"
13
+ buildForArchiving = "YES"
14
+ buildForAnalyzing = "YES">
15
+ <BuildableReference
16
+ BuildableIdentifier = "primary"
17
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
+ BuildableName = "BaseTemplate.app"
19
+ BlueprintName = "BaseTemplate"
20
+ ReferencedContainer = "container:BaseTemplate.xcodeproj">
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ </BuildActionEntries>
24
+ </BuildAction>
25
+ <TestAction
26
+ buildConfiguration = "Debug"
27
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
+ shouldUseLaunchSchemeArgsEnv = "YES">
30
+ <Testables>
31
+ <TestableReference
32
+ skipped = "NO">
33
+ <BuildableReference
34
+ BuildableIdentifier = "primary"
35
+ BlueprintIdentifier = "00E356ED1AD99517003FC87E"
36
+ BuildableName = "BaseTemplateTests.xctest"
37
+ BlueprintName = "BaseTemplateTests"
38
+ ReferencedContainer = "container:BaseTemplate.xcodeproj">
39
+ </BuildableReference>
40
+ </TestableReference>
41
+ </Testables>
42
+ </TestAction>
43
+ <LaunchAction
44
+ buildConfiguration = "Debug"
45
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47
+ launchStyle = "0"
48
+ useCustomWorkingDirectory = "NO"
49
+ ignoresPersistentStateOnLaunch = "NO"
50
+ debugDocumentVersioning = "YES"
51
+ debugServiceExtension = "internal"
52
+ allowLocationSimulation = "YES">
53
+ <BuildableProductRunnable
54
+ runnableDebuggingMode = "0">
55
+ <BuildableReference
56
+ BuildableIdentifier = "primary"
57
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
58
+ BuildableName = "BaseTemplate.app"
59
+ BlueprintName = "BaseTemplate"
60
+ ReferencedContainer = "container:BaseTemplate.xcodeproj">
61
+ </BuildableReference>
62
+ </BuildableProductRunnable>
63
+ </LaunchAction>
64
+ <ProfileAction
65
+ buildConfiguration = "Release"
66
+ shouldUseLaunchSchemeArgsEnv = "YES"
67
+ savedToolIdentifier = ""
68
+ useCustomWorkingDirectory = "NO"
69
+ debugDocumentVersioning = "YES">
70
+ <BuildableProductRunnable
71
+ runnableDebuggingMode = "0">
72
+ <BuildableReference
73
+ BuildableIdentifier = "primary"
74
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
75
+ BuildableName = "BaseTemplate.app"
76
+ BlueprintName = "BaseTemplate"
77
+ ReferencedContainer = "container:BaseTemplate.xcodeproj">
78
+ </BuildableReference>
79
+ </BuildableProductRunnable>
80
+ </ProfileAction>
81
+ <AnalyzeAction
82
+ buildConfiguration = "Debug">
83
+ </AnalyzeAction>
84
+ <ArchiveAction
85
+ buildConfiguration = "Release"
86
+ revealArchiveInOrganizer = "YES">
87
+ </ArchiveAction>
88
+ </Scheme>
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "group:BaseTemplate.xcodeproj">
6
+ </FileRef>
7
+ <FileRef
8
+ location = "group:Pods/Pods.xcodeproj">
9
+ </FileRef>
10
+ </Workspace>
@@ -0,0 +1,35 @@
1
+ # Resolve react_native_pods.rb with node to allow for hoisting
2
+ require Pod::Executable.execute_command('node', ['-p',
3
+ 'require.resolve(
4
+ "react-native/scripts/react_native_pods.rb",
5
+ {paths: [process.argv[1]]},
6
+ )', __dir__]).strip
7
+
8
+ platform :ios, min_ios_version_supported
9
+ prepare_react_native_project!
10
+
11
+ linkage = ENV['USE_FRAMEWORKS']
12
+ if linkage != nil
13
+ Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
14
+ use_frameworks! :linkage => linkage.to_sym
15
+ end
16
+
17
+ target 'BaseTemplate' do
18
+ config = use_native_modules!
19
+
20
+ use_react_native!(
21
+ :path => config[:reactNativePath],
22
+ # An absolute path to your application root.
23
+ :app_path => "#{Pod::Config.instance.installation_root}/.."
24
+ )
25
+
26
+ post_install do |installer|
27
+ # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
28
+ react_native_post_install(
29
+ installer,
30
+ config[:reactNativePath],
31
+ :mac_catalyst_enabled => false,
32
+ # :ccache_enabled => true
33
+ )
34
+ end
35
+ end
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ preset: 'react-native',
3
+ };
@@ -0,0 +1,11 @@
1
+ const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
2
+
3
+ /**
4
+ * Metro configuration
5
+ * https://reactnative.dev/docs/metro
6
+ *
7
+ * @type {import('@react-native/metro-config').MetroConfig}
8
+ */
9
+ const config = {};
10
+
11
+ module.exports = mergeConfig(getDefaultConfig(__dirname), config);
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "BaseTemplate",
3
+ "version": "0.0.1",
4
+ "private": true,
5
+ "scripts": {
6
+ "android": "react-native run-android",
7
+ "ios": "react-native run-ios",
8
+ "lint": "eslint .",
9
+ "start": "react-native start",
10
+ "test": "jest"
11
+ },
12
+ "dependencies": {
13
+ "@react-native-async-storage/async-storage": "^2.2.0",
14
+ "@react-navigation/native": "^7.1.17",
15
+ "@react-navigation/native-stack": "^7.3.25",
16
+ "@react-navigation/stack": "^7.4.7",
17
+ "@reduxjs/toolkit": "^2.8.2",
18
+ "@tanstack/react-query": "^5.85.5",
19
+ "axios": "^1.11.0",
20
+ "moment": "^2.30.1",
21
+ "react": "19.1.0",
22
+ "react-native": "0.81.0",
23
+ "react-native-gesture-handler": "^2.28.0",
24
+ "react-native-reanimated": "^4.0.2",
25
+ "react-native-safe-area-context": "^5.5.2",
26
+ "react-native-screens": "^4.15.0",
27
+ "react-native-svg": "^15.12.1",
28
+ "react-redux": "^9.2.0"
29
+ },
30
+ "devDependencies": {
31
+ "@babel/core": "^7.25.2",
32
+ "@babel/preset-env": "^7.25.3",
33
+ "@babel/runtime": "^7.25.0",
34
+ "@react-native-community/cli": "20.0.0",
35
+ "@react-native-community/cli-platform-android": "20.0.0",
36
+ "@react-native-community/cli-platform-ios": "20.0.0",
37
+ "@react-native/babel-preset": "0.81.0",
38
+ "@react-native/eslint-config": "0.81.0",
39
+ "@react-native/metro-config": "0.81.0",
40
+ "@react-native/typescript-config": "0.81.0",
41
+ "@tanstack/eslint-plugin-query": "^5.83.1",
42
+ "@types/jest": "^29.5.13",
43
+ "@types/react": "^19.1.0",
44
+ "@types/react-test-renderer": "^19.1.0",
45
+ "eslint": "^8.19.0",
46
+ "jest": "^29.6.3",
47
+ "prettier": "2.8.8",
48
+ "react-test-renderer": "19.1.0",
49
+ "typescript": "^5.8.3"
50
+ },
51
+ "engines": {
52
+ "node": ">=18"
53
+ }
54
+ }