@computools/react-native-template-controller 1.0.9 → 1.0.11
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 -0
- package/package.json +1 -1
- package/template/android/app/build.gradle +3 -7
- package/template/android/app/src/debug/AndroidManifest.xml +1 -5
- package/template/android/app/src/main/java/com/reactnativetemplate/MainActivity.kt +32 -0
- package/template/android/app/src/main/java/com/reactnativetemplate/MainApplication.kt +45 -0
- package/template/android/build.gradle +8 -8
- package/template/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/template/android/gradle/wrapper/gradle-wrapper.properties +2 -1
- package/template/android/gradle.properties +0 -3
- package/template/android/gradlew +11 -6
- package/template/babel.config.js +1 -1
- package/template/ios/Podfile +0 -7
- package/template/ios/ReactNativeTemplate/AppDelegate.mm +5 -0
- package/template/ios/ReactNativeTemplate/Info.plist +4 -8
- package/template/ios/ReactNativeTemplate.xcodeproj/project.pbxproj +28 -78
- package/template/ios/ReactNativeTemplate.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/template/ios/{ReactNativeTemplate dev-Info.plist → ReactNativeTemplate_dev-Info.plist} +4 -8
- package/template/ios/{ReactNativeTemplate stg-Info.plist → ReactNativeTemplate_stg-Info.plist} +4 -8
- package/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +0 -16
- package/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +8 -25
- package/template/ios/build/generated/ios/FBReactNativeSpecJSI-generated.cpp +1223 -276
- package/template/ios/build/generated/ios/FBReactNativeSpecJSI.h +1427 -424
- package/template/ios/build/generated/ios/React-Codegen.podspec.json +1 -1
- package/template/package.json +14 -14
- package/template/react-native.config.js +7 -0
- package/template/src/app/config/http.ts +30 -1
- package/template/tsconfig.json +1 -1
- package/template/android/app/src/debug/java/com/reactnativetemplate/ReactNativeFlipper.java +0 -75
- package/template/android/app/src/main/java/com/reactnativetemplate/MainActivity.java +0 -40
- package/template/android/app/src/main/java/com/reactnativetemplate/MainApplication.java +0 -62
- package/template/android/app/src/release/java/com/reactnativetemplate/ReactNativeFlipper.java +0 -20
@@ -620,25 +620,6 @@ namespace facebook {
|
|
620
620
|
} // namespace react
|
621
621
|
} // namespace facebook
|
622
622
|
|
623
|
-
@protocol NativeDevSplitBundleLoaderSpec <RCTBridgeModule, RCTTurboModule>
|
624
|
-
|
625
|
-
- (void)loadBundle:(NSString *)bundlePath
|
626
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
627
|
-
reject:(RCTPromiseRejectBlock)reject;
|
628
|
-
|
629
|
-
@end
|
630
|
-
namespace facebook {
|
631
|
-
namespace react {
|
632
|
-
/**
|
633
|
-
* ObjC++ class for module 'NativeDevSplitBundleLoader'
|
634
|
-
*/
|
635
|
-
class JSI_EXPORT NativeDevSplitBundleLoaderSpecJSI : public ObjCTurboModule {
|
636
|
-
public:
|
637
|
-
NativeDevSplitBundleLoaderSpecJSI(const ObjCTurboModule::InitParams ¶ms);
|
638
|
-
};
|
639
|
-
} // namespace react
|
640
|
-
} // namespace facebook
|
641
|
-
|
642
623
|
@protocol NativeDevToolsSettingsManagerSpec <RCTBridgeModule, RCTTurboModule>
|
643
624
|
|
644
625
|
- (void)setConsolePatchSettings:(NSString *)newConsolePatchSettings;
|
@@ -962,9 +943,9 @@ namespace JS {
|
|
962
943
|
|
963
944
|
struct Builder {
|
964
945
|
struct Input {
|
965
|
-
RCTRequired<bool> isRTL;
|
966
946
|
RCTRequired<bool> doLeftAndRightSwapInRTL;
|
967
|
-
RCTRequired<
|
947
|
+
RCTRequired<bool> isRTL;
|
948
|
+
NSString *localeIdentifier;
|
968
949
|
};
|
969
950
|
|
970
951
|
/** Initialize with a set of values */
|
@@ -1349,6 +1330,7 @@ namespace JS {
|
|
1349
1330
|
struct Builder {
|
1350
1331
|
struct Input {
|
1351
1332
|
RCTRequired<bool> isTesting;
|
1333
|
+
std::optional<bool> isDisableAnimations;
|
1352
1334
|
RCTRequired<JS::NativePlatformConstantsIOS::ConstantsReactNativeVersion::Builder> reactNativeVersion;
|
1353
1335
|
RCTRequired<bool> forceTouchAvailable;
|
1354
1336
|
RCTRequired<NSString *> osVersion;
|
@@ -2046,7 +2028,6 @@ inline JS::NativeBlobModule::Constants::Builder::Builder(Constants i) : _factory
|
|
2046
2028
|
|
2047
2029
|
|
2048
2030
|
|
2049
|
-
|
2050
2031
|
inline JS::NativeDeviceInfo::DisplayMetrics::Builder::Builder(const Input i) : _factory(^{
|
2051
2032
|
NSMutableDictionary *d = [NSMutableDictionary new];
|
2052
2033
|
auto width = i.width.get();
|
@@ -2184,11 +2165,11 @@ inline std::optional<bool> JS::NativeFrameRateLogger::SpecSetGlobalOptionsOption
|
|
2184
2165
|
|
2185
2166
|
inline JS::NativeI18nManager::Constants::Builder::Builder(const Input i) : _factory(^{
|
2186
2167
|
NSMutableDictionary *d = [NSMutableDictionary new];
|
2187
|
-
auto isRTL = i.isRTL.get();
|
2188
|
-
d[@"isRTL"] = @(isRTL);
|
2189
2168
|
auto doLeftAndRightSwapInRTL = i.doLeftAndRightSwapInRTL.get();
|
2190
2169
|
d[@"doLeftAndRightSwapInRTL"] = @(doLeftAndRightSwapInRTL);
|
2191
|
-
auto
|
2170
|
+
auto isRTL = i.isRTL.get();
|
2171
|
+
d[@"isRTL"] = @(isRTL);
|
2172
|
+
auto localeIdentifier = i.localeIdentifier;
|
2192
2173
|
d[@"localeIdentifier"] = localeIdentifier;
|
2193
2174
|
return d;
|
2194
2175
|
}) {}
|
@@ -2317,6 +2298,8 @@ inline JS::NativePlatformConstantsIOS::Constants::Builder::Builder(const Input i
|
|
2317
2298
|
NSMutableDictionary *d = [NSMutableDictionary new];
|
2318
2299
|
auto isTesting = i.isTesting.get();
|
2319
2300
|
d[@"isTesting"] = @(isTesting);
|
2301
|
+
auto isDisableAnimations = i.isDisableAnimations;
|
2302
|
+
d[@"isDisableAnimations"] = isDisableAnimations.has_value() ? @((BOOL)isDisableAnimations.value()) : nil;
|
2320
2303
|
auto reactNativeVersion = i.reactNativeVersion.get();
|
2321
2304
|
d[@"reactNativeVersion"] = reactNativeVersion.buildUnsafeRawValue();
|
2322
2305
|
auto forceTouchAvailable = i.forceTouchAvailable.get();
|