@computools/react-native-template-controller 1.0.18 → 1.0.20
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.
- package/README.md +2 -1
- package/package.json +1 -1
- package/template/.gitignore +10 -2
- package/template/android/app/build.gradle +0 -1
- package/template/android/app/src/development/res/drawable/rn_edit_text_material.xml +2 -1
- package/template/android/app/src/main/java/com/reactnativetemplate/MainApplication.kt +1 -3
- package/template/android/app/src/main/res/drawable/rn_edit_text_material.xml +2 -1
- package/template/android/app/src/staging/res/drawable/rn_edit_text_material.xml +2 -1
- package/template/android/build.gradle +3 -3
- package/template/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/template/android/gradlew +7 -7
- package/template/android/gradlew.bat +10 -10
- package/template/ios/.xcode.env.local +2 -0
- package/template/ios/Podfile +2 -17
- package/template/ios/PrivacyInfo.xcprivacy +38 -0
- package/template/ios/ReactNativeTemplate/AppDelegate.mm +2 -2
- package/template/ios/ReactNativeTemplate/Info.plist +1 -1
- package/template/ios/ReactNativeTemplate.xcodeproj/project.pbxproj +17 -11
- package/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +0 -0
- package/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +0 -0
- package/template/ios/build/generated/ios/React-Codegen.podspec.json +1 -0
- package/template/metro.config.js +1 -1
- package/template/package.json +7 -7
package/README.md
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
<img src="https://ik.imagekit.io/computools/computools-background/upload-8a50e7e4-c14e-4b55-ae17-bd0cca2f6493.webp">
|
12
12
|
|
13
|
-
### Latest supported RN version [0.
|
13
|
+
### Latest supported RN version [0.74.1](https://github.com/facebook/react-native/releases/tag/v0.74.1) 🎯
|
14
14
|
|
15
15
|
### Precondition: 📗
|
16
16
|
|
@@ -39,6 +39,7 @@ See the below table to find out which version of the template to use.
|
|
39
39
|
|
40
40
|
| React Native | Template |
|
41
41
|
| ------------ | -------- |
|
42
|
+
| 0.74 | 1.0.20 |
|
42
43
|
| 0.73 | 1.0.11 |
|
43
44
|
| 0.72 | 1.0.0 |
|
44
45
|
| 0.71.11 | 0.0.7 |
|
package/package.json
CHANGED
package/template/.gitignore
CHANGED
@@ -20,7 +20,7 @@ DerivedData
|
|
20
20
|
*.hmap
|
21
21
|
*.ipa
|
22
22
|
*.xcuserstate
|
23
|
-
|
23
|
+
**/.xcode.env.local
|
24
24
|
|
25
25
|
# Android/IntelliJ
|
26
26
|
#
|
@@ -56,7 +56,7 @@ yarn-error.log
|
|
56
56
|
*.jsbundle
|
57
57
|
|
58
58
|
# Ruby / CocoaPods
|
59
|
-
|
59
|
+
**/Pods/
|
60
60
|
/vendor/bundle/
|
61
61
|
|
62
62
|
# Temporary files created by Metro to check the health of the file watcher
|
@@ -64,3 +64,11 @@ yarn-error.log
|
|
64
64
|
|
65
65
|
# testing
|
66
66
|
/coverage
|
67
|
+
|
68
|
+
# Yarn
|
69
|
+
.yarn/*
|
70
|
+
!.yarn/patches
|
71
|
+
!.yarn/plugins
|
72
|
+
!.yarn/releases
|
73
|
+
!.yarn/sdks
|
74
|
+
!.yarn/versions
|
@@ -143,7 +143,6 @@ android {
|
|
143
143
|
dependencies {
|
144
144
|
// The version of react-native is set by the React Native Gradle Plugin
|
145
145
|
implementation("com.facebook.react:react-android")
|
146
|
-
implementation("com.facebook.react:flipper-integration")
|
147
146
|
|
148
147
|
implementation("androidx.core:core-splashscreen:1.0.0")
|
149
148
|
|
@@ -17,7 +17,8 @@
|
|
17
17
|
android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material"
|
18
18
|
android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
|
19
19
|
android:insetTop="@dimen/abc_edit_text_inset_top_material"
|
20
|
-
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
|
20
|
+
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
|
21
|
+
>
|
21
22
|
|
22
23
|
<selector>
|
23
24
|
<!--
|
@@ -9,7 +9,6 @@ import com.facebook.react.ReactPackage
|
|
9
9
|
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
|
10
10
|
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
|
11
11
|
import com.facebook.react.defaults.DefaultReactNativeHost
|
12
|
-
import com.facebook.react.flipper.ReactNativeFlipper
|
13
12
|
import com.facebook.soloader.SoLoader
|
14
13
|
|
15
14
|
class MainApplication : Application(), ReactApplication {
|
@@ -31,7 +30,7 @@ class MainApplication : Application(), ReactApplication {
|
|
31
30
|
}
|
32
31
|
|
33
32
|
override val reactHost: ReactHost
|
34
|
-
get() = getDefaultReactHost(
|
33
|
+
get() = getDefaultReactHost(applicationContext, reactNativeHost)
|
35
34
|
|
36
35
|
override fun onCreate() {
|
37
36
|
super.onCreate()
|
@@ -40,6 +39,5 @@ class MainApplication : Application(), ReactApplication {
|
|
40
39
|
// If you opted-in for the New Architecture, we load the native entry point for this app.
|
41
40
|
load()
|
42
41
|
}
|
43
|
-
ReactNativeFlipper.initializeFlipper(this, reactNativeHost.reactInstanceManager)
|
44
42
|
}
|
45
43
|
}
|
@@ -17,7 +17,8 @@
|
|
17
17
|
android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material"
|
18
18
|
android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
|
19
19
|
android:insetTop="@dimen/abc_edit_text_inset_top_material"
|
20
|
-
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
|
20
|
+
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
|
21
|
+
>
|
21
22
|
|
22
23
|
<selector>
|
23
24
|
<!--
|
@@ -17,7 +17,8 @@
|
|
17
17
|
android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material"
|
18
18
|
android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
|
19
19
|
android:insetTop="@dimen/abc_edit_text_inset_top_material"
|
20
|
-
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
|
20
|
+
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
|
21
|
+
>
|
21
22
|
|
22
23
|
<selector>
|
23
24
|
<!--
|
@@ -1,11 +1,11 @@
|
|
1
1
|
buildscript {
|
2
2
|
ext {
|
3
3
|
buildToolsVersion = "34.0.0"
|
4
|
-
minSdkVersion =
|
4
|
+
minSdkVersion = 23
|
5
5
|
compileSdkVersion = 34
|
6
6
|
targetSdkVersion = 34
|
7
|
-
ndkVersion = "
|
8
|
-
kotlinVersion = "1.
|
7
|
+
ndkVersion = "26.1.10909125"
|
8
|
+
kotlinVersion = "1.9.22"
|
9
9
|
}
|
10
10
|
repositories {
|
11
11
|
google()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
2
2
|
distributionPath=wrapper/dists
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
|
4
4
|
networkTimeout=10000
|
5
5
|
validateDistributionUrl=true
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
package/template/android/gradlew
CHANGED
@@ -145,7 +145,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
|
145
145
|
case $MAX_FD in #(
|
146
146
|
max*)
|
147
147
|
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
148
|
-
# shellcheck disable=SC3045
|
148
|
+
# shellcheck disable=SC2039,SC3045
|
149
149
|
MAX_FD=$( ulimit -H -n ) ||
|
150
150
|
warn "Could not query maximum file descriptor limit"
|
151
151
|
esac
|
@@ -153,7 +153,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
|
153
153
|
'' | soft) :;; #(
|
154
154
|
*)
|
155
155
|
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
156
|
-
# shellcheck disable=SC3045
|
156
|
+
# shellcheck disable=SC2039,SC3045
|
157
157
|
ulimit -n "$MAX_FD" ||
|
158
158
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
159
159
|
esac
|
@@ -202,11 +202,11 @@ fi
|
|
202
202
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
203
203
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
204
204
|
|
205
|
-
# Collect all arguments for the java command
|
206
|
-
# *
|
207
|
-
#
|
208
|
-
#
|
209
|
-
#
|
205
|
+
# Collect all arguments for the java command:
|
206
|
+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
207
|
+
# and any embedded shellness will be escaped.
|
208
|
+
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
209
|
+
# treated as '${Hostname}' itself on the command line.
|
210
210
|
|
211
211
|
set -- \
|
212
212
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
|
|
43
43
|
%JAVA_EXE% -version >NUL 2>&1
|
44
44
|
if %ERRORLEVEL% equ 0 goto execute
|
45
45
|
|
46
|
-
echo.
|
47
|
-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
48
|
-
echo.
|
49
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
50
|
-
echo location of your Java installation.
|
46
|
+
echo. 1>&2
|
47
|
+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
48
|
+
echo. 1>&2
|
49
|
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
50
|
+
echo location of your Java installation. 1>&2
|
51
51
|
|
52
52
|
goto fail
|
53
53
|
|
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
57
57
|
|
58
58
|
if exist "%JAVA_EXE%" goto execute
|
59
59
|
|
60
|
-
echo.
|
61
|
-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
62
|
-
echo.
|
63
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
64
|
-
echo location of your Java installation.
|
60
|
+
echo. 1>&2
|
61
|
+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
62
|
+
echo. 1>&2
|
63
|
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
64
|
+
echo location of your Java installation. 1>&2
|
65
65
|
|
66
66
|
goto fail
|
67
67
|
|
package/template/ios/Podfile
CHANGED
@@ -8,17 +8,6 @@ require Pod::Executable.execute_command('node', ['-p',
|
|
8
8
|
platform :ios, min_ios_version_supported
|
9
9
|
prepare_react_native_project!
|
10
10
|
|
11
|
-
# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
|
12
|
-
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
|
13
|
-
#
|
14
|
-
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
|
15
|
-
# ```js
|
16
|
-
# module.exports = {
|
17
|
-
# dependencies: {
|
18
|
-
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
|
19
|
-
# ```
|
20
|
-
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
|
21
|
-
|
22
11
|
linkage = ENV['USE_FRAMEWORKS']
|
23
12
|
if linkage != nil
|
24
13
|
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
|
@@ -30,11 +19,6 @@ abstract_target 'ReactNativeTemplateCommonPods' do
|
|
30
19
|
|
31
20
|
use_react_native!(
|
32
21
|
:path => config[:reactNativePath],
|
33
|
-
# Enables Flipper.
|
34
|
-
#
|
35
|
-
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
36
|
-
# you should disable the next line.
|
37
|
-
:flipper_configuration => flipper_config,
|
38
22
|
# An absolute path to your application root.
|
39
23
|
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
40
24
|
)
|
@@ -49,7 +33,8 @@ abstract_target 'ReactNativeTemplateCommonPods' do
|
|
49
33
|
react_native_post_install(
|
50
34
|
installer,
|
51
35
|
config[:reactNativePath],
|
52
|
-
:mac_catalyst_enabled => false
|
36
|
+
:mac_catalyst_enabled => false,
|
37
|
+
# :ccache_enabled => true
|
53
38
|
)
|
54
39
|
end
|
55
40
|
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>NSPrivacyCollectedDataTypes</key>
|
6
|
+
<array>
|
7
|
+
</array>
|
8
|
+
<key>NSPrivacyAccessedAPITypes</key>
|
9
|
+
<array>
|
10
|
+
<dict>
|
11
|
+
<key>NSPrivacyAccessedAPIType</key>
|
12
|
+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
13
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
14
|
+
<array>
|
15
|
+
<string>C617.1</string>
|
16
|
+
</array>
|
17
|
+
</dict>
|
18
|
+
<dict>
|
19
|
+
<key>NSPrivacyAccessedAPIType</key>
|
20
|
+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
21
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
22
|
+
<array>
|
23
|
+
<string>CA92.1</string>
|
24
|
+
</array>
|
25
|
+
</dict>
|
26
|
+
<dict>
|
27
|
+
<key>NSPrivacyAccessedAPIType</key>
|
28
|
+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
|
29
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
30
|
+
<array>
|
31
|
+
<string>35F9.1</string>
|
32
|
+
</array>
|
33
|
+
</dict>
|
34
|
+
</array>
|
35
|
+
<key>NSPrivacyTracking</key>
|
36
|
+
<false/>
|
37
|
+
</dict>
|
38
|
+
</plist>
|
@@ -19,10 +19,10 @@
|
|
19
19
|
|
20
20
|
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
|
21
21
|
{
|
22
|
-
return [self
|
22
|
+
return [self bundleURL];
|
23
23
|
}
|
24
24
|
|
25
|
-
- (NSURL *)
|
25
|
+
- (NSURL *)bundleURL
|
26
26
|
{
|
27
27
|
#if DEBUG
|
28
28
|
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
|
@@ -21,6 +21,10 @@
|
|
21
21
|
9314CDD42AF3CEAA00F58B73 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
22
22
|
9314CDD82AF3CEAA00F58B73 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
|
23
23
|
9314CDD92AF3CEAA00F58B73 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
|
24
|
+
93A2C9812BF38F6600E20871 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 93A2C9802BF38F6600E20871 /* PrivacyInfo.xcprivacy */; };
|
25
|
+
93A2C9822BF38F6600E20871 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 93A2C9802BF38F6600E20871 /* PrivacyInfo.xcprivacy */; };
|
26
|
+
93A2C9832BF38F6600E20871 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 93A2C9802BF38F6600E20871 /* PrivacyInfo.xcprivacy */; };
|
27
|
+
93A2C9842BF38F6600E20871 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 93A2C9802BF38F6600E20871 /* PrivacyInfo.xcprivacy */; };
|
24
28
|
B4FF9A1393E551B3A2C2CCE1 /* libPods-ReactNativeTemplateCommonPods-ReactNativeTemplateDev.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0999B49FC36D0870A11D39C7 /* libPods-ReactNativeTemplateCommonPods-ReactNativeTemplateDev.a */; };
|
25
29
|
CC8E444894E64A0F49524DDC /* libPods-ReactNativeTemplateCommonPods-ReactNativeTemplate.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CC42567843001A172A5AC86F /* libPods-ReactNativeTemplateCommonPods-ReactNativeTemplate.a */; };
|
26
30
|
DA40CCEC7246CF33415191BA /* libPods-ReactNativeTemplateCommonPods-ReactNativeTemplateTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E4714C820F04528142F0F59 /* libPods-ReactNativeTemplateCommonPods-ReactNativeTemplateTests.a */; };
|
@@ -65,6 +69,7 @@
|
|
65
69
|
9314CDCE2AF3CEA200F58B73 /* ReactNativeTemplate_dev-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ReactNativeTemplate_dev-Info.plist"; sourceTree = "<group>"; };
|
66
70
|
9314CDE02AF3CEAA00F58B73 /* ReactNativeTemplateStg.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeTemplateStg.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
67
71
|
9314CDE12AF3CEAB00F58B73 /* ReactNativeTemplate_stg-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ReactNativeTemplate_stg-Info.plist"; sourceTree = "<group>"; };
|
72
|
+
93A2C9802BF38F6600E20871 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
|
68
73
|
CC42567843001A172A5AC86F /* libPods-ReactNativeTemplateCommonPods-ReactNativeTemplate.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeTemplateCommonPods-ReactNativeTemplate.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
69
74
|
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
70
75
|
F6871D19848CB427931AA26F /* libPods-ReactNativeTemplateCommonPods-ReactNativeTemplateStg.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeTemplateCommonPods-ReactNativeTemplateStg.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
@@ -132,6 +137,7 @@
|
|
132
137
|
13B07FB61A68108700A75B9A /* Info.plist */,
|
133
138
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
|
134
139
|
13B07FB71A68108700A75B9A /* main.m */,
|
140
|
+
93A2C9802BF38F6600E20871 /* PrivacyInfo.xcprivacy */,
|
135
141
|
);
|
136
142
|
name = ReactNativeTemplate;
|
137
143
|
sourceTree = "<group>";
|
@@ -332,6 +338,7 @@
|
|
332
338
|
isa = PBXResourcesBuildPhase;
|
333
339
|
buildActionMask = 2147483647;
|
334
340
|
files = (
|
341
|
+
93A2C9842BF38F6600E20871 /* PrivacyInfo.xcprivacy in Resources */,
|
335
342
|
);
|
336
343
|
runOnlyForDeploymentPostprocessing = 0;
|
337
344
|
};
|
@@ -339,6 +346,7 @@
|
|
339
346
|
isa = PBXResourcesBuildPhase;
|
340
347
|
buildActionMask = 2147483647;
|
341
348
|
files = (
|
349
|
+
93A2C9812BF38F6600E20871 /* PrivacyInfo.xcprivacy in Resources */,
|
342
350
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
|
343
351
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
|
344
352
|
);
|
@@ -348,6 +356,7 @@
|
|
348
356
|
isa = PBXResourcesBuildPhase;
|
349
357
|
buildActionMask = 2147483647;
|
350
358
|
files = (
|
359
|
+
93A2C9832BF38F6600E20871 /* PrivacyInfo.xcprivacy in Resources */,
|
351
360
|
9314CDC52AF3CEA200F58B73 /* LaunchScreen.storyboard in Resources */,
|
352
361
|
9314CDC62AF3CEA200F58B73 /* Images.xcassets in Resources */,
|
353
362
|
);
|
@@ -357,6 +366,7 @@
|
|
357
366
|
isa = PBXResourcesBuildPhase;
|
358
367
|
buildActionMask = 2147483647;
|
359
368
|
files = (
|
369
|
+
93A2C9822BF38F6600E20871 /* PrivacyInfo.xcprivacy in Resources */,
|
360
370
|
9314CDD82AF3CEAA00F58B73 /* LaunchScreen.storyboard in Resources */,
|
361
371
|
9314CDD92AF3CEAA00F58B73 /* Images.xcassets in Resources */,
|
362
372
|
);
|
@@ -379,7 +389,7 @@
|
|
379
389
|
);
|
380
390
|
runOnlyForDeploymentPostprocessing = 0;
|
381
391
|
shellPath = /bin/sh;
|
382
|
-
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"
|
392
|
+
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";
|
383
393
|
};
|
384
394
|
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
|
385
395
|
isa = PBXShellScriptBuildPhase;
|
@@ -434,7 +444,7 @@
|
|
434
444
|
);
|
435
445
|
runOnlyForDeploymentPostprocessing = 0;
|
436
446
|
shellPath = /bin/sh;
|
437
|
-
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"
|
447
|
+
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";
|
438
448
|
};
|
439
449
|
9314CDC82AF3CEA200F58B73 /* [CP] Embed Pods Frameworks */ = {
|
440
450
|
isa = PBXShellScriptBuildPhase;
|
@@ -506,7 +516,7 @@
|
|
506
516
|
);
|
507
517
|
runOnlyForDeploymentPostprocessing = 0;
|
508
518
|
shellPath = /bin/sh;
|
509
|
-
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"
|
519
|
+
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";
|
510
520
|
};
|
511
521
|
9314CDDB2AF3CEAA00F58B73 /* [CP] Embed Pods Frameworks */ = {
|
512
522
|
isa = PBXShellScriptBuildPhase;
|
@@ -858,11 +868,9 @@
|
|
858
868
|
"-DFOLLY_MOBILE=1",
|
859
869
|
"-DFOLLY_USE_LIBCPP=1",
|
860
870
|
"-DFOLLY_CFG_NO_COROUTINES=1",
|
871
|
+
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
861
872
|
);
|
862
|
-
OTHER_LDFLAGS = (
|
863
|
-
"$(inherited)",
|
864
|
-
" ",
|
865
|
-
);
|
873
|
+
OTHER_LDFLAGS = "$(inherited) ";
|
866
874
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
867
875
|
SDKROOT = iphoneos;
|
868
876
|
USE_HERMES = true;
|
@@ -933,11 +941,9 @@
|
|
933
941
|
"-DFOLLY_MOBILE=1",
|
934
942
|
"-DFOLLY_USE_LIBCPP=1",
|
935
943
|
"-DFOLLY_CFG_NO_COROUTINES=1",
|
944
|
+
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
936
945
|
);
|
937
|
-
OTHER_LDFLAGS = (
|
938
|
-
"$(inherited)",
|
939
|
-
" ",
|
940
|
-
);
|
946
|
+
OTHER_LDFLAGS = "$(inherited) ";
|
941
947
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
942
948
|
SDKROOT = iphoneos;
|
943
949
|
USE_HERMES = true;
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"React-Codegen","version":"0.73.8","summary":"Temp pod for generated files for React Native","homepage":"https://facebook.com/","license":"Unlicense","authors":"Facebook","compiler_flags":"-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_CFG_NO_COROUTINES=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -Wno-nullability-completeness -std=c++20","source":{"git":""},"header_mappings_dir":"./","platforms":{"ios":"13.4"},"source_files":"**/*.{h,mm,cpp}","pod_target_xcconfig":{"HEADER_SEARCH_PATHS":"\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/fmt/include\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"$(PODS_ROOT)/Headers/Private/React-Fabric\" \"$(PODS_ROOT)/Headers/Private/React-RCTFabric\" \"$(PODS_ROOT)/Headers/Private/Yoga\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/fmt/include\" \"$(PODS_TARGET_SRCROOT)\"","FRAMEWORK_SEARCH_PATHS":[]},"dependencies":{"React-jsiexecutor":[],"RCT-Folly":[],"RCTRequired":[],"RCTTypeSafety":[],"React-Core":[],"React-jsi":[],"ReactCommon/turbomodule/bridging":[],"ReactCommon/turbomodule/core":[],"React-NativeModulesApple":[],"glog":[],"DoubleConversion":[],"hermes-engine":[],"React-rncore":[],"FBReactNativeSpec":[]}}
|
package/template/metro.config.js
CHANGED
package/template/package.json
CHANGED
@@ -36,12 +36,12 @@
|
|
36
36
|
"react": "18.2.0",
|
37
37
|
"react-hook-form": "7.49.2",
|
38
38
|
"react-i18next": "14.0.0",
|
39
|
-
"react-native": "0.
|
39
|
+
"react-native": "0.74.1",
|
40
40
|
"react-native-bootsplash": "4.5.3",
|
41
41
|
"react-native-config": "1.5.1",
|
42
42
|
"react-native-mmkv": "2.11.0",
|
43
|
-
"react-native-safe-area-context": "4.
|
44
|
-
"react-native-screens": "3.
|
43
|
+
"react-native-safe-area-context": "4.10.1",
|
44
|
+
"react-native-screens": "3.31.1",
|
45
45
|
"react-native-svg": "14.1.0",
|
46
46
|
"yup": "1.3.3"
|
47
47
|
},
|
@@ -50,10 +50,10 @@
|
|
50
50
|
"@babel/preset-env": "^7.20.0",
|
51
51
|
"@babel/runtime": "^7.20.0",
|
52
52
|
"@computools/eslint-config-react-native": "1.1.1",
|
53
|
-
"@react-native/babel-preset": "0.
|
54
|
-
"@react-native/eslint-config": "0.
|
55
|
-
"@react-native/metro-config": "0.
|
56
|
-
"@react-native/typescript-config": "0.
|
53
|
+
"@react-native/babel-preset": "0.74.83",
|
54
|
+
"@react-native/eslint-config": "0.74.83",
|
55
|
+
"@react-native/metro-config": "0.74.83",
|
56
|
+
"@react-native/typescript-config": "0.74.83",
|
57
57
|
"@types/jest": "^29.2.1",
|
58
58
|
"@types/metro-config": "^0.76.3",
|
59
59
|
"@types/react": "18.2.6",
|