@computools/react-native-template-controller 1.0.28 → 1.0.30

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 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.75.4](https://github.com/facebook/react-native/releases/tag/v0.75.4) 🎯
13
+ ### Latest supported RN version [0.76.1](https://github.com/facebook/react-native/releases/tag/v0.76.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.76 | 1.0.29 |
42
43
  | 0.75 | 1.0.24 |
43
44
  | 0.74 | 1.0.20 |
44
45
  | 0.73 | 1.0.11 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@computools/react-native-template-controller",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "Computools react native template by using mobx as controllers",
5
5
  "main": "template.config.js",
6
6
  "scripts": {
package/template/Gemfile CHANGED
@@ -5,4 +5,5 @@ ruby ">= 2.6.10"
5
5
 
6
6
  # Exclude problematic versions of cocoapods and activesupport that causes build failures.
7
7
  gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
8
- gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
8
+ gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
9
+ gem 'xcodeproj', '< 1.26.0'
@@ -5,6 +5,7 @@ import com.facebook.react.PackageList
5
5
  import com.facebook.react.ReactApplication
6
6
  import com.facebook.react.ReactHost
7
7
  import com.facebook.react.ReactNativeHost
8
+ import com.facebook.react.soloader.OpenSourceMergedSoMapping
8
9
  import com.facebook.react.ReactPackage
9
10
  import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load
10
11
  import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
@@ -34,7 +35,7 @@ class MainApplication : Application(), ReactApplication {
34
35
 
35
36
  override fun onCreate() {
36
37
  super.onCreate()
37
- SoLoader.init(this, false)
38
+ SoLoader.init(this, OpenSourceMergedSoMapping)
38
39
  if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
39
40
  // If you opted-in for the New Architecture, we load the native entry point for this app.
40
41
  load()
@@ -1,8 +1,8 @@
1
1
  buildscript {
2
2
  ext {
3
- buildToolsVersion = "34.0.0"
4
- minSdkVersion = 23
5
- compileSdkVersion = 34
3
+ buildToolsVersion = "35.0.0"
4
+ minSdkVersion = 24
5
+ compileSdkVersion = 35
6
6
  targetSdkVersion = 34
7
7
  ndkVersion = "26.1.10909125"
8
8
  kotlinVersion = "1.9.24"
@@ -1,6 +1,6 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
4
4
  networkTimeout=10000
5
5
  validateDistributionUrl=true
6
6
  zipStoreBase=GRADLE_USER_HOME
@@ -32,7 +32,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
32
32
  # your application. You should enable this flag either if you want
33
33
  # to write custom TurboModules/Fabric components OR use libraries that
34
34
  # are providing them.
35
- newArchEnabled=false
35
+ newArchEnabled=true
36
36
 
37
37
  # Use this property to enable or disable the Hermes JS engine.
38
38
  # If set to false, you will be using JSC instead.
@@ -15,6 +15,8 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
+ # SPDX-License-Identifier: Apache-2.0
19
+ #
18
20
 
19
21
  ##############################################################################
20
22
  #
@@ -84,7 +86,8 @@ done
84
86
  # shellcheck disable=SC2034
85
87
  APP_BASE_NAME=${0##*/}
86
88
  # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87
- APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89
+ APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90
+ ' "$PWD" ) || exit
88
91
 
89
92
  # Use the maximum available, or set MAX_FD != -1 to use that value.
90
93
  MAX_FD=maximum
@@ -13,6 +13,8 @@
13
13
  @rem See the License for the specific language governing permissions and
14
14
  @rem limitations under the License.
15
15
  @rem
16
+ @rem SPDX-License-Identifier: Apache-2.0
17
+ @rem
16
18
 
17
19
  @if "%DEBUG%"=="" @echo off
18
20
  @rem ##########################################################################
@@ -706,7 +706,7 @@
706
706
  "$(inherited)",
707
707
  );
708
708
  INFOPLIST_FILE = ReactNativeTemplateTests/Info.plist;
709
- IPHONEOS_DEPLOYMENT_TARGET = 13.4;
709
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
710
710
  LD_RUNPATH_SEARCH_PATHS = (
711
711
  "$(inherited)",
712
712
  "@executable_path/Frameworks",
@@ -730,7 +730,7 @@
730
730
  BUNDLE_LOADER = "$(TEST_HOST)";
731
731
  COPY_PHASE_STRIP = NO;
732
732
  INFOPLIST_FILE = ReactNativeTemplateTests/Info.plist;
733
- IPHONEOS_DEPLOYMENT_TARGET = 13.4;
733
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
734
734
  LD_RUNPATH_SEARCH_PATHS = (
735
735
  "$(inherited)",
736
736
  "@executable_path/Frameworks",
@@ -756,6 +756,7 @@
756
756
  CURRENT_PROJECT_VERSION = 1;
757
757
  ENABLE_BITCODE = NO;
758
758
  INFOPLIST_FILE = ReactNativeTemplate/Info.plist;
759
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
759
760
  LD_RUNPATH_SEARCH_PATHS = (
760
761
  "$(inherited)",
761
762
  "@executable_path/Frameworks",
@@ -782,6 +783,7 @@
782
783
  CLANG_ENABLE_MODULES = YES;
783
784
  CURRENT_PROJECT_VERSION = 1;
784
785
  INFOPLIST_FILE = ReactNativeTemplate/Info.plist;
786
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
785
787
  LD_RUNPATH_SEARCH_PATHS = (
786
788
  "$(inherited)",
787
789
  "@executable_path/Frameworks",
@@ -849,7 +851,7 @@
849
851
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
850
852
  GCC_WARN_UNUSED_FUNCTION = YES;
851
853
  GCC_WARN_UNUSED_VARIABLE = YES;
852
- IPHONEOS_DEPLOYMENT_TARGET = 13.4;
854
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
853
855
  LD_RUNPATH_SEARCH_PATHS = (
854
856
  /usr/lib/swift,
855
857
  "$(inherited)",
@@ -923,7 +925,7 @@
923
925
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
924
926
  GCC_WARN_UNUSED_FUNCTION = YES;
925
927
  GCC_WARN_UNUSED_VARIABLE = YES;
926
- IPHONEOS_DEPLOYMENT_TARGET = 13.4;
928
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
927
929
  LD_RUNPATH_SEARCH_PATHS = (
928
930
  /usr/lib/swift,
929
931
  "$(inherited)",
@@ -960,6 +962,7 @@
960
962
  CURRENT_PROJECT_VERSION = 1;
961
963
  ENABLE_BITCODE = NO;
962
964
  INFOPLIST_FILE = "ReactNativeTemplate_dev-Info.plist";
965
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
963
966
  LD_RUNPATH_SEARCH_PATHS = (
964
967
  "$(inherited)",
965
968
  "@executable_path/Frameworks",
@@ -986,6 +989,7 @@
986
989
  CLANG_ENABLE_MODULES = YES;
987
990
  CURRENT_PROJECT_VERSION = 1;
988
991
  INFOPLIST_FILE = "ReactNativeTemplate_dev-Info.plist";
992
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
989
993
  LD_RUNPATH_SEARCH_PATHS = (
990
994
  "$(inherited)",
991
995
  "@executable_path/Frameworks",
@@ -1012,6 +1016,7 @@
1012
1016
  CURRENT_PROJECT_VERSION = 1;
1013
1017
  ENABLE_BITCODE = NO;
1014
1018
  INFOPLIST_FILE = "ReactNativeTemplate_stg-Info.plist";
1019
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
1015
1020
  LD_RUNPATH_SEARCH_PATHS = (
1016
1021
  "$(inherited)",
1017
1022
  "@executable_path/Frameworks",
@@ -1038,6 +1043,7 @@
1038
1043
  CLANG_ENABLE_MODULES = YES;
1039
1044
  CURRENT_PROJECT_VERSION = 1;
1040
1045
  INFOPLIST_FILE = "ReactNativeTemplate_stg-Info.plist";
1046
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
1041
1047
  LD_RUNPATH_SEARCH_PATHS = (
1042
1048
  "$(inherited)",
1043
1049
  "@executable_path/Frameworks",
@@ -36,24 +36,26 @@
36
36
  "react": "18.3.1",
37
37
  "react-hook-form": "7.49.2",
38
38
  "react-i18next": "14.0.0",
39
- "react-native": "0.75.4",
39
+ "react-native": "0.76.1",
40
40
  "react-native-bootsplash": "4.5.3",
41
41
  "react-native-config": "1.5.1",
42
- "react-native-mmkv": "2.11.0",
43
- "react-native-safe-area-context": "4.10.1",
44
- "react-native-screens": "3.34.0",
45
- "react-native-svg": "14.1.0",
42
+ "react-native-mmkv": "3.1.0",
43
+ "react-native-safe-area-context": "4.14.0",
44
+ "react-native-screens": "3.34.1",
45
+ "react-native-svg": "15.8.0",
46
46
  "yup": "1.3.3"
47
47
  },
48
48
  "devDependencies": {
49
- "@babel/core": "^7.20.0",
50
- "@babel/preset-env": "^7.20.0",
51
- "@babel/runtime": "^7.20.0",
52
- "@computools/eslint-config-react-native": "1.1.1",
53
- "@react-native/babel-preset": "0.75.4",
54
- "@react-native/eslint-config": "0.75.4",
55
- "@react-native/metro-config": "0.75.4",
56
- "@react-native/typescript-config": "0.75.4",
49
+ "@babel/core": "^7.25.2",
50
+ "@babel/preset-env": "^7.25.3",
51
+ "@babel/runtime": "^7.25.0",
52
+ "@react-native-community/cli": "15.0.0",
53
+ "@react-native-community/cli-platform-android": "15.0.0",
54
+ "@react-native-community/cli-platform-ios": "15.0.0",
55
+ "@react-native/babel-preset": "0.76.1",
56
+ "@react-native/eslint-config": "0.76.1",
57
+ "@react-native/metro-config": "0.76.1",
58
+ "@react-native/typescript-config": "0.76.1",
57
59
  "@types/jest": "^29.2.1",
58
60
  "@types/metro-config": "^0.76.3",
59
61
  "@types/react": "18.2.6",