@domir/react-native-measure-text 0.1.1 → 0.1.3
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/android/src/.DS_Store +0 -0
- package/android/src/main/.DS_Store +0 -0
- package/android/src/main/java/.DS_Store +0 -0
- package/android/src/main/java/expo/.DS_Store +0 -0
- package/android/src/main/java/expo/modules/.DS_Store +0 -0
- package/build/ReactNativeMeasureText.d.ts +6 -0
- package/build/ReactNativeMeasureText.d.ts.map +1 -0
- package/build/ReactNativeMeasureText.js.map +1 -0
- package/build/ReactNativeMeasureText.types.d.ts +4 -0
- package/build/ReactNativeMeasureText.types.d.ts.map +1 -0
- package/build/ReactNativeMeasureText.types.js +2 -0
- package/build/ReactNativeMeasureText.types.js.map +1 -0
- package/build/ReactNativeMeasureTextModule.d.ts +3 -0
- package/build/ReactNativeMeasureTextModule.d.ts.map +1 -0
- package/build/ReactNativeMeasureTextModule.js +5 -0
- package/build/ReactNativeMeasureTextModule.js.map +1 -0
- package/build/ReactNativeMeasureTextModule.web.d.ts +5 -0
- package/build/ReactNativeMeasureTextModule.web.d.ts.map +1 -0
- package/build/ReactNativeMeasureTextModule.web.js +6 -0
- package/build/ReactNativeMeasureTextModule.web.js.map +1 -0
- package/ios/ReactNativeMeasureText.podspec +1 -1
- package/package.json +9 -1
- package/.eslintrc.js +0 -5
- package/example/.expo-shared/assets.json +0 -4
- package/example/App.tsx +0 -45
- package/example/android/app/BUCK +0 -55
- package/example/android/app/build.gradle +0 -376
- package/example/android/app/build_defs.bzl +0 -19
- package/example/android/app/debug.keystore +0 -0
- package/example/android/app/proguard-rules.pro +0 -14
- package/example/android/app/src/debug/AndroidManifest.xml +0 -7
- package/example/android/app/src/debug/java/expo/modules/measuretext/example/ReactNativeFlipper.java +0 -69
- package/example/android/app/src/main/AndroidManifest.xml +0 -34
- package/example/android/app/src/main/java/expo/modules/measuretext/example/MainActivity.java +0 -83
- package/example/android/app/src/main/java/expo/modules/measuretext/example/MainApplication.java +0 -106
- package/example/android/app/src/main/java/expo/modules/measuretext/example/newarchitecture/MainApplicationReactNativeHost.java +0 -117
- package/example/android/app/src/main/java/expo/modules/measuretext/example/newarchitecture/components/MainComponentsRegistry.java +0 -36
- package/example/android/app/src/main/java/expo/modules/measuretext/example/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +0 -48
- package/example/android/app/src/main/jni/Android.mk +0 -48
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.cpp +0 -24
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.h +0 -16
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +0 -45
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +0 -38
- package/example/android/app/src/main/jni/MainComponentsRegistry.cpp +0 -61
- package/example/android/app/src/main/jni/MainComponentsRegistry.h +0 -32
- package/example/android/app/src/main/jni/OnLoad.cpp +0 -11
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -36
- package/example/android/app/src/main/res/drawable/splashscreen.xml +0 -3
- package/example/android/app/src/main/res/drawable-hdpi/splashscreen_image.png +0 -0
- package/example/android/app/src/main/res/drawable-mdpi/splashscreen_image.png +0 -0
- package/example/android/app/src/main/res/drawable-xhdpi/splashscreen_image.png +0 -0
- package/example/android/app/src/main/res/drawable-xxhdpi/splashscreen_image.png +0 -0
- package/example/android/app/src/main/res/drawable-xxxhdpi/splashscreen_image.png +0 -0
- package/example/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
- package/example/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +0 -0
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/values/colors.xml +0 -6
- package/example/android/app/src/main/res/values/strings.xml +0 -5
- package/example/android/app/src/main/res/values/styles.xml +0 -17
- package/example/android/app/src/main/res/values-night/colors.xml +0 -1
- package/example/android/build.gradle +0 -59
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/example/android/gradle.properties +0 -53
- package/example/android/gradlew +0 -234
- package/example/android/gradlew.bat +0 -89
- package/example/android/settings.gradle +0 -17
- package/example/app.json +0 -35
- package/example/assets/adaptive-icon.png +0 -0
- package/example/assets/favicon.png +0 -0
- package/example/assets/icon.png +0 -0
- package/example/assets/splash.png +0 -0
- package/example/babel.config.js +0 -19
- package/example/index.js +0 -8
- package/example/ios/.xcode.env +0 -11
- package/example/ios/Podfile +0 -59
- package/example/ios/Podfile.lock +0 -482
- package/example/ios/Podfile.properties.json +0 -3
- package/example/ios/reactnativemeasuretextexample/AppDelegate.h +0 -9
- package/example/ios/reactnativemeasuretextexample/AppDelegate.mm +0 -166
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-20x20@1x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-20x20@2x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-20x20@3x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-29x29@1x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-29x29@2x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-29x29@3x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-40x40@1x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-40x40@2x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-40x40@3x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-60x60@2x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-60x60@3x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-76x76@1x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-76x76@2x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/App-Icon-83.5x83.5@2x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -122
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/Contents.json +0 -6
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/SplashScreen.imageset/Contents.json +0 -21
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/SplashScreen.imageset/image.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/SplashScreenBackground.imageset/Contents.json +0 -21
- package/example/ios/reactnativemeasuretextexample/Images.xcassets/SplashScreenBackground.imageset/image.png +0 -0
- package/example/ios/reactnativemeasuretextexample/Info.plist +0 -76
- package/example/ios/reactnativemeasuretextexample/SplashScreen.storyboard +0 -51
- package/example/ios/reactnativemeasuretextexample/Supporting/Expo.plist +0 -16
- package/example/ios/reactnativemeasuretextexample/main.m +0 -10
- package/example/ios/reactnativemeasuretextexample/noop-file.swift +0 -4
- package/example/ios/reactnativemeasuretextexample/reactnativemeasuretextexample.entitlements +0 -8
- package/example/ios/reactnativemeasuretextexample.xcodeproj/project.pbxproj +0 -497
- package/example/ios/reactnativemeasuretextexample.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/example/ios/reactnativemeasuretextexample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/example/ios/reactnativemeasuretextexample.xcodeproj/project.xcworkspace/xcuserdata/brentvatne.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/example/ios/reactnativemeasuretextexample.xcodeproj/xcshareddata/xcschemes/reactnativemeasuretextexample.xcscheme +0 -88
- package/example/ios/reactnativemeasuretextexample.xcworkspace/contents.xcworkspacedata +0 -10
- package/example/ios/reactnativemeasuretextexample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/example/ios/reactnativemeasuretextexample.xcworkspace/xcuserdata/domiget.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/example/metro.config.js +0 -14
- package/example/package-lock.json +0 -21620
- package/example/package.json +0 -29
- package/example/tsconfig.json +0 -10
- package/example/webpack.config.js +0 -20
- package/package-lock.json +0 -33812
- package/tsconfig.json +0 -9
package/example/ios/Podfile.lock
DELETED
|
@@ -1,482 +0,0 @@
|
|
|
1
|
-
PODS:
|
|
2
|
-
- boost (1.76.0)
|
|
3
|
-
- DoubleConversion (1.1.6)
|
|
4
|
-
- EXApplication (4.2.2):
|
|
5
|
-
- ExpoModulesCore
|
|
6
|
-
- EXConstants (13.2.4):
|
|
7
|
-
- ExpoModulesCore
|
|
8
|
-
- EXFileSystem (14.1.0):
|
|
9
|
-
- ExpoModulesCore
|
|
10
|
-
- EXFont (10.2.1):
|
|
11
|
-
- ExpoModulesCore
|
|
12
|
-
- Expo (46.0.16):
|
|
13
|
-
- ExpoModulesCore
|
|
14
|
-
- ExpoKeepAwake (10.2.0):
|
|
15
|
-
- ExpoModulesCore
|
|
16
|
-
- ExpoModulesCore (0.11.8):
|
|
17
|
-
- React-Core
|
|
18
|
-
- ReactCommon/turbomodule/core
|
|
19
|
-
- FBLazyVector (0.69.6)
|
|
20
|
-
- FBReactNativeSpec (0.69.6):
|
|
21
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
22
|
-
- RCTRequired (= 0.69.6)
|
|
23
|
-
- RCTTypeSafety (= 0.69.6)
|
|
24
|
-
- React-Core (= 0.69.6)
|
|
25
|
-
- React-jsi (= 0.69.6)
|
|
26
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
27
|
-
- fmt (6.2.1)
|
|
28
|
-
- glog (0.3.5)
|
|
29
|
-
- RCT-Folly (2021.06.28.00-v2):
|
|
30
|
-
- boost
|
|
31
|
-
- DoubleConversion
|
|
32
|
-
- fmt (~> 6.2.1)
|
|
33
|
-
- glog
|
|
34
|
-
- RCT-Folly/Default (= 2021.06.28.00-v2)
|
|
35
|
-
- RCT-Folly/Default (2021.06.28.00-v2):
|
|
36
|
-
- boost
|
|
37
|
-
- DoubleConversion
|
|
38
|
-
- fmt (~> 6.2.1)
|
|
39
|
-
- glog
|
|
40
|
-
- RCTRequired (0.69.6)
|
|
41
|
-
- RCTTypeSafety (0.69.6):
|
|
42
|
-
- FBLazyVector (= 0.69.6)
|
|
43
|
-
- RCTRequired (= 0.69.6)
|
|
44
|
-
- React-Core (= 0.69.6)
|
|
45
|
-
- React (0.69.6):
|
|
46
|
-
- React-Core (= 0.69.6)
|
|
47
|
-
- React-Core/DevSupport (= 0.69.6)
|
|
48
|
-
- React-Core/RCTWebSocket (= 0.69.6)
|
|
49
|
-
- React-RCTActionSheet (= 0.69.6)
|
|
50
|
-
- React-RCTAnimation (= 0.69.6)
|
|
51
|
-
- React-RCTBlob (= 0.69.6)
|
|
52
|
-
- React-RCTImage (= 0.69.6)
|
|
53
|
-
- React-RCTLinking (= 0.69.6)
|
|
54
|
-
- React-RCTNetwork (= 0.69.6)
|
|
55
|
-
- React-RCTSettings (= 0.69.6)
|
|
56
|
-
- React-RCTText (= 0.69.6)
|
|
57
|
-
- React-RCTVibration (= 0.69.6)
|
|
58
|
-
- React-bridging (0.69.6):
|
|
59
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
60
|
-
- React-jsi (= 0.69.6)
|
|
61
|
-
- React-callinvoker (0.69.6)
|
|
62
|
-
- React-Codegen (0.69.6):
|
|
63
|
-
- FBReactNativeSpec (= 0.69.6)
|
|
64
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
65
|
-
- RCTRequired (= 0.69.6)
|
|
66
|
-
- RCTTypeSafety (= 0.69.6)
|
|
67
|
-
- React-Core (= 0.69.6)
|
|
68
|
-
- React-jsi (= 0.69.6)
|
|
69
|
-
- React-jsiexecutor (= 0.69.6)
|
|
70
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
71
|
-
- React-Core (0.69.6):
|
|
72
|
-
- glog
|
|
73
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
74
|
-
- React-Core/Default (= 0.69.6)
|
|
75
|
-
- React-cxxreact (= 0.69.6)
|
|
76
|
-
- React-jsi (= 0.69.6)
|
|
77
|
-
- React-jsiexecutor (= 0.69.6)
|
|
78
|
-
- React-perflogger (= 0.69.6)
|
|
79
|
-
- Yoga
|
|
80
|
-
- React-Core/CoreModulesHeaders (0.69.6):
|
|
81
|
-
- glog
|
|
82
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
83
|
-
- React-Core/Default
|
|
84
|
-
- React-cxxreact (= 0.69.6)
|
|
85
|
-
- React-jsi (= 0.69.6)
|
|
86
|
-
- React-jsiexecutor (= 0.69.6)
|
|
87
|
-
- React-perflogger (= 0.69.6)
|
|
88
|
-
- Yoga
|
|
89
|
-
- React-Core/Default (0.69.6):
|
|
90
|
-
- glog
|
|
91
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
92
|
-
- React-cxxreact (= 0.69.6)
|
|
93
|
-
- React-jsi (= 0.69.6)
|
|
94
|
-
- React-jsiexecutor (= 0.69.6)
|
|
95
|
-
- React-perflogger (= 0.69.6)
|
|
96
|
-
- Yoga
|
|
97
|
-
- React-Core/DevSupport (0.69.6):
|
|
98
|
-
- glog
|
|
99
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
100
|
-
- React-Core/Default (= 0.69.6)
|
|
101
|
-
- React-Core/RCTWebSocket (= 0.69.6)
|
|
102
|
-
- React-cxxreact (= 0.69.6)
|
|
103
|
-
- React-jsi (= 0.69.6)
|
|
104
|
-
- React-jsiexecutor (= 0.69.6)
|
|
105
|
-
- React-jsinspector (= 0.69.6)
|
|
106
|
-
- React-perflogger (= 0.69.6)
|
|
107
|
-
- Yoga
|
|
108
|
-
- React-Core/RCTActionSheetHeaders (0.69.6):
|
|
109
|
-
- glog
|
|
110
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
111
|
-
- React-Core/Default
|
|
112
|
-
- React-cxxreact (= 0.69.6)
|
|
113
|
-
- React-jsi (= 0.69.6)
|
|
114
|
-
- React-jsiexecutor (= 0.69.6)
|
|
115
|
-
- React-perflogger (= 0.69.6)
|
|
116
|
-
- Yoga
|
|
117
|
-
- React-Core/RCTAnimationHeaders (0.69.6):
|
|
118
|
-
- glog
|
|
119
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
120
|
-
- React-Core/Default
|
|
121
|
-
- React-cxxreact (= 0.69.6)
|
|
122
|
-
- React-jsi (= 0.69.6)
|
|
123
|
-
- React-jsiexecutor (= 0.69.6)
|
|
124
|
-
- React-perflogger (= 0.69.6)
|
|
125
|
-
- Yoga
|
|
126
|
-
- React-Core/RCTBlobHeaders (0.69.6):
|
|
127
|
-
- glog
|
|
128
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
129
|
-
- React-Core/Default
|
|
130
|
-
- React-cxxreact (= 0.69.6)
|
|
131
|
-
- React-jsi (= 0.69.6)
|
|
132
|
-
- React-jsiexecutor (= 0.69.6)
|
|
133
|
-
- React-perflogger (= 0.69.6)
|
|
134
|
-
- Yoga
|
|
135
|
-
- React-Core/RCTImageHeaders (0.69.6):
|
|
136
|
-
- glog
|
|
137
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
138
|
-
- React-Core/Default
|
|
139
|
-
- React-cxxreact (= 0.69.6)
|
|
140
|
-
- React-jsi (= 0.69.6)
|
|
141
|
-
- React-jsiexecutor (= 0.69.6)
|
|
142
|
-
- React-perflogger (= 0.69.6)
|
|
143
|
-
- Yoga
|
|
144
|
-
- React-Core/RCTLinkingHeaders (0.69.6):
|
|
145
|
-
- glog
|
|
146
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
147
|
-
- React-Core/Default
|
|
148
|
-
- React-cxxreact (= 0.69.6)
|
|
149
|
-
- React-jsi (= 0.69.6)
|
|
150
|
-
- React-jsiexecutor (= 0.69.6)
|
|
151
|
-
- React-perflogger (= 0.69.6)
|
|
152
|
-
- Yoga
|
|
153
|
-
- React-Core/RCTNetworkHeaders (0.69.6):
|
|
154
|
-
- glog
|
|
155
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
156
|
-
- React-Core/Default
|
|
157
|
-
- React-cxxreact (= 0.69.6)
|
|
158
|
-
- React-jsi (= 0.69.6)
|
|
159
|
-
- React-jsiexecutor (= 0.69.6)
|
|
160
|
-
- React-perflogger (= 0.69.6)
|
|
161
|
-
- Yoga
|
|
162
|
-
- React-Core/RCTSettingsHeaders (0.69.6):
|
|
163
|
-
- glog
|
|
164
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
165
|
-
- React-Core/Default
|
|
166
|
-
- React-cxxreact (= 0.69.6)
|
|
167
|
-
- React-jsi (= 0.69.6)
|
|
168
|
-
- React-jsiexecutor (= 0.69.6)
|
|
169
|
-
- React-perflogger (= 0.69.6)
|
|
170
|
-
- Yoga
|
|
171
|
-
- React-Core/RCTTextHeaders (0.69.6):
|
|
172
|
-
- glog
|
|
173
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
174
|
-
- React-Core/Default
|
|
175
|
-
- React-cxxreact (= 0.69.6)
|
|
176
|
-
- React-jsi (= 0.69.6)
|
|
177
|
-
- React-jsiexecutor (= 0.69.6)
|
|
178
|
-
- React-perflogger (= 0.69.6)
|
|
179
|
-
- Yoga
|
|
180
|
-
- React-Core/RCTVibrationHeaders (0.69.6):
|
|
181
|
-
- glog
|
|
182
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
183
|
-
- React-Core/Default
|
|
184
|
-
- React-cxxreact (= 0.69.6)
|
|
185
|
-
- React-jsi (= 0.69.6)
|
|
186
|
-
- React-jsiexecutor (= 0.69.6)
|
|
187
|
-
- React-perflogger (= 0.69.6)
|
|
188
|
-
- Yoga
|
|
189
|
-
- React-Core/RCTWebSocket (0.69.6):
|
|
190
|
-
- glog
|
|
191
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
192
|
-
- React-Core/Default (= 0.69.6)
|
|
193
|
-
- React-cxxreact (= 0.69.6)
|
|
194
|
-
- React-jsi (= 0.69.6)
|
|
195
|
-
- React-jsiexecutor (= 0.69.6)
|
|
196
|
-
- React-perflogger (= 0.69.6)
|
|
197
|
-
- Yoga
|
|
198
|
-
- React-CoreModules (0.69.6):
|
|
199
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
200
|
-
- RCTTypeSafety (= 0.69.6)
|
|
201
|
-
- React-Codegen (= 0.69.6)
|
|
202
|
-
- React-Core/CoreModulesHeaders (= 0.69.6)
|
|
203
|
-
- React-jsi (= 0.69.6)
|
|
204
|
-
- React-RCTImage (= 0.69.6)
|
|
205
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
206
|
-
- React-cxxreact (0.69.6):
|
|
207
|
-
- boost (= 1.76.0)
|
|
208
|
-
- DoubleConversion
|
|
209
|
-
- glog
|
|
210
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
211
|
-
- React-callinvoker (= 0.69.6)
|
|
212
|
-
- React-jsi (= 0.69.6)
|
|
213
|
-
- React-jsinspector (= 0.69.6)
|
|
214
|
-
- React-logger (= 0.69.6)
|
|
215
|
-
- React-perflogger (= 0.69.6)
|
|
216
|
-
- React-runtimeexecutor (= 0.69.6)
|
|
217
|
-
- React-jsi (0.69.6):
|
|
218
|
-
- boost (= 1.76.0)
|
|
219
|
-
- DoubleConversion
|
|
220
|
-
- glog
|
|
221
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
222
|
-
- React-jsi/Default (= 0.69.6)
|
|
223
|
-
- React-jsi/Default (0.69.6):
|
|
224
|
-
- boost (= 1.76.0)
|
|
225
|
-
- DoubleConversion
|
|
226
|
-
- glog
|
|
227
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
228
|
-
- React-jsiexecutor (0.69.6):
|
|
229
|
-
- DoubleConversion
|
|
230
|
-
- glog
|
|
231
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
232
|
-
- React-cxxreact (= 0.69.6)
|
|
233
|
-
- React-jsi (= 0.69.6)
|
|
234
|
-
- React-perflogger (= 0.69.6)
|
|
235
|
-
- React-jsinspector (0.69.6)
|
|
236
|
-
- React-logger (0.69.6):
|
|
237
|
-
- glog
|
|
238
|
-
- React-perflogger (0.69.6)
|
|
239
|
-
- React-RCTActionSheet (0.69.6):
|
|
240
|
-
- React-Core/RCTActionSheetHeaders (= 0.69.6)
|
|
241
|
-
- React-RCTAnimation (0.69.6):
|
|
242
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
243
|
-
- RCTTypeSafety (= 0.69.6)
|
|
244
|
-
- React-Codegen (= 0.69.6)
|
|
245
|
-
- React-Core/RCTAnimationHeaders (= 0.69.6)
|
|
246
|
-
- React-jsi (= 0.69.6)
|
|
247
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
248
|
-
- React-RCTBlob (0.69.6):
|
|
249
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
250
|
-
- React-Codegen (= 0.69.6)
|
|
251
|
-
- React-Core/RCTBlobHeaders (= 0.69.6)
|
|
252
|
-
- React-Core/RCTWebSocket (= 0.69.6)
|
|
253
|
-
- React-jsi (= 0.69.6)
|
|
254
|
-
- React-RCTNetwork (= 0.69.6)
|
|
255
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
256
|
-
- React-RCTImage (0.69.6):
|
|
257
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
258
|
-
- RCTTypeSafety (= 0.69.6)
|
|
259
|
-
- React-Codegen (= 0.69.6)
|
|
260
|
-
- React-Core/RCTImageHeaders (= 0.69.6)
|
|
261
|
-
- React-jsi (= 0.69.6)
|
|
262
|
-
- React-RCTNetwork (= 0.69.6)
|
|
263
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
264
|
-
- React-RCTLinking (0.69.6):
|
|
265
|
-
- React-Codegen (= 0.69.6)
|
|
266
|
-
- React-Core/RCTLinkingHeaders (= 0.69.6)
|
|
267
|
-
- React-jsi (= 0.69.6)
|
|
268
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
269
|
-
- React-RCTNetwork (0.69.6):
|
|
270
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
271
|
-
- RCTTypeSafety (= 0.69.6)
|
|
272
|
-
- React-Codegen (= 0.69.6)
|
|
273
|
-
- React-Core/RCTNetworkHeaders (= 0.69.6)
|
|
274
|
-
- React-jsi (= 0.69.6)
|
|
275
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
276
|
-
- React-RCTSettings (0.69.6):
|
|
277
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
278
|
-
- RCTTypeSafety (= 0.69.6)
|
|
279
|
-
- React-Codegen (= 0.69.6)
|
|
280
|
-
- React-Core/RCTSettingsHeaders (= 0.69.6)
|
|
281
|
-
- React-jsi (= 0.69.6)
|
|
282
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
283
|
-
- React-RCTText (0.69.6):
|
|
284
|
-
- React-Core/RCTTextHeaders (= 0.69.6)
|
|
285
|
-
- React-RCTVibration (0.69.6):
|
|
286
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
287
|
-
- React-Codegen (= 0.69.6)
|
|
288
|
-
- React-Core/RCTVibrationHeaders (= 0.69.6)
|
|
289
|
-
- React-jsi (= 0.69.6)
|
|
290
|
-
- ReactCommon/turbomodule/core (= 0.69.6)
|
|
291
|
-
- React-runtimeexecutor (0.69.6):
|
|
292
|
-
- React-jsi (= 0.69.6)
|
|
293
|
-
- ReactCommon/turbomodule/core (0.69.6):
|
|
294
|
-
- DoubleConversion
|
|
295
|
-
- glog
|
|
296
|
-
- RCT-Folly (= 2021.06.28.00-v2)
|
|
297
|
-
- React-bridging (= 0.69.6)
|
|
298
|
-
- React-callinvoker (= 0.69.6)
|
|
299
|
-
- React-Core (= 0.69.6)
|
|
300
|
-
- React-cxxreact (= 0.69.6)
|
|
301
|
-
- React-jsi (= 0.69.6)
|
|
302
|
-
- React-logger (= 0.69.6)
|
|
303
|
-
- React-perflogger (= 0.69.6)
|
|
304
|
-
- ReactNativeMeasureText (0.1.0):
|
|
305
|
-
- ExpoModulesCore
|
|
306
|
-
- Yoga (1.14.0)
|
|
307
|
-
|
|
308
|
-
DEPENDENCIES:
|
|
309
|
-
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
|
|
310
|
-
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
|
|
311
|
-
- EXApplication (from `../node_modules/expo-application/ios`)
|
|
312
|
-
- EXConstants (from `../node_modules/expo-constants/ios`)
|
|
313
|
-
- EXFileSystem (from `../node_modules/expo-file-system/ios`)
|
|
314
|
-
- EXFont (from `../node_modules/expo-font/ios`)
|
|
315
|
-
- Expo (from `../node_modules/expo`)
|
|
316
|
-
- ExpoKeepAwake (from `../node_modules/expo-keep-awake/ios`)
|
|
317
|
-
- ExpoModulesCore (from `../node_modules/expo-modules-core/ios`)
|
|
318
|
-
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
|
|
319
|
-
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
|
|
320
|
-
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
|
|
321
|
-
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
|
|
322
|
-
- RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
|
|
323
|
-
- RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
|
|
324
|
-
- React (from `../node_modules/react-native/`)
|
|
325
|
-
- React-bridging (from `../node_modules/react-native/ReactCommon`)
|
|
326
|
-
- React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
|
|
327
|
-
- React-Codegen (from `build/generated/ios`)
|
|
328
|
-
- React-Core (from `../node_modules/react-native/`)
|
|
329
|
-
- React-Core/RCTWebSocket (from `../node_modules/react-native/`)
|
|
330
|
-
- React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
|
|
331
|
-
- React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
|
|
332
|
-
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
|
|
333
|
-
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
|
|
334
|
-
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
|
|
335
|
-
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
|
|
336
|
-
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
|
|
337
|
-
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
|
|
338
|
-
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
|
|
339
|
-
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
|
|
340
|
-
- React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
|
|
341
|
-
- React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
|
|
342
|
-
- React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
|
|
343
|
-
- React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
|
|
344
|
-
- React-RCTText (from `../node_modules/react-native/Libraries/Text`)
|
|
345
|
-
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
|
|
346
|
-
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
|
|
347
|
-
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
|
|
348
|
-
- ReactNativeMeasureText (from `../../ios`)
|
|
349
|
-
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
|
|
350
|
-
|
|
351
|
-
SPEC REPOS:
|
|
352
|
-
trunk:
|
|
353
|
-
- fmt
|
|
354
|
-
|
|
355
|
-
EXTERNAL SOURCES:
|
|
356
|
-
boost:
|
|
357
|
-
:podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
|
|
358
|
-
DoubleConversion:
|
|
359
|
-
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
|
|
360
|
-
EXApplication:
|
|
361
|
-
:path: "../node_modules/expo-application/ios"
|
|
362
|
-
EXConstants:
|
|
363
|
-
:path: "../node_modules/expo-constants/ios"
|
|
364
|
-
EXFileSystem:
|
|
365
|
-
:path: "../node_modules/expo-file-system/ios"
|
|
366
|
-
EXFont:
|
|
367
|
-
:path: "../node_modules/expo-font/ios"
|
|
368
|
-
Expo:
|
|
369
|
-
:path: "../node_modules/expo"
|
|
370
|
-
ExpoKeepAwake:
|
|
371
|
-
:path: "../node_modules/expo-keep-awake/ios"
|
|
372
|
-
ExpoModulesCore:
|
|
373
|
-
:path: "../node_modules/expo-modules-core/ios"
|
|
374
|
-
FBLazyVector:
|
|
375
|
-
:path: "../node_modules/react-native/Libraries/FBLazyVector"
|
|
376
|
-
FBReactNativeSpec:
|
|
377
|
-
:path: "../node_modules/react-native/React/FBReactNativeSpec"
|
|
378
|
-
glog:
|
|
379
|
-
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
|
|
380
|
-
RCT-Folly:
|
|
381
|
-
:podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
|
|
382
|
-
RCTRequired:
|
|
383
|
-
:path: "../node_modules/react-native/Libraries/RCTRequired"
|
|
384
|
-
RCTTypeSafety:
|
|
385
|
-
:path: "../node_modules/react-native/Libraries/TypeSafety"
|
|
386
|
-
React:
|
|
387
|
-
:path: "../node_modules/react-native/"
|
|
388
|
-
React-bridging:
|
|
389
|
-
:path: "../node_modules/react-native/ReactCommon"
|
|
390
|
-
React-callinvoker:
|
|
391
|
-
:path: "../node_modules/react-native/ReactCommon/callinvoker"
|
|
392
|
-
React-Codegen:
|
|
393
|
-
:path: build/generated/ios
|
|
394
|
-
React-Core:
|
|
395
|
-
:path: "../node_modules/react-native/"
|
|
396
|
-
React-CoreModules:
|
|
397
|
-
:path: "../node_modules/react-native/React/CoreModules"
|
|
398
|
-
React-cxxreact:
|
|
399
|
-
:path: "../node_modules/react-native/ReactCommon/cxxreact"
|
|
400
|
-
React-jsi:
|
|
401
|
-
:path: "../node_modules/react-native/ReactCommon/jsi"
|
|
402
|
-
React-jsiexecutor:
|
|
403
|
-
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
|
|
404
|
-
React-jsinspector:
|
|
405
|
-
:path: "../node_modules/react-native/ReactCommon/jsinspector"
|
|
406
|
-
React-logger:
|
|
407
|
-
:path: "../node_modules/react-native/ReactCommon/logger"
|
|
408
|
-
React-perflogger:
|
|
409
|
-
:path: "../node_modules/react-native/ReactCommon/reactperflogger"
|
|
410
|
-
React-RCTActionSheet:
|
|
411
|
-
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
|
|
412
|
-
React-RCTAnimation:
|
|
413
|
-
:path: "../node_modules/react-native/Libraries/NativeAnimation"
|
|
414
|
-
React-RCTBlob:
|
|
415
|
-
:path: "../node_modules/react-native/Libraries/Blob"
|
|
416
|
-
React-RCTImage:
|
|
417
|
-
:path: "../node_modules/react-native/Libraries/Image"
|
|
418
|
-
React-RCTLinking:
|
|
419
|
-
:path: "../node_modules/react-native/Libraries/LinkingIOS"
|
|
420
|
-
React-RCTNetwork:
|
|
421
|
-
:path: "../node_modules/react-native/Libraries/Network"
|
|
422
|
-
React-RCTSettings:
|
|
423
|
-
:path: "../node_modules/react-native/Libraries/Settings"
|
|
424
|
-
React-RCTText:
|
|
425
|
-
:path: "../node_modules/react-native/Libraries/Text"
|
|
426
|
-
React-RCTVibration:
|
|
427
|
-
:path: "../node_modules/react-native/Libraries/Vibration"
|
|
428
|
-
React-runtimeexecutor:
|
|
429
|
-
:path: "../node_modules/react-native/ReactCommon/runtimeexecutor"
|
|
430
|
-
ReactCommon:
|
|
431
|
-
:path: "../node_modules/react-native/ReactCommon"
|
|
432
|
-
ReactNativeMeasureText:
|
|
433
|
-
:path: "../../ios"
|
|
434
|
-
Yoga:
|
|
435
|
-
:path: "../node_modules/react-native/ReactCommon/yoga"
|
|
436
|
-
|
|
437
|
-
SPEC CHECKSUMS:
|
|
438
|
-
boost: a7c83b31436843459a1961bfd74b96033dc77234
|
|
439
|
-
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
|
|
440
|
-
EXApplication: e418d737a036e788510f2c4ad6c10a7d54d18586
|
|
441
|
-
EXConstants: 7c44785d41d8e959d527d23d29444277a4d1ee73
|
|
442
|
-
EXFileSystem: 927e0a8885aa9c49e50fc38eaba2c2389f2f1019
|
|
443
|
-
EXFont: 06df627203afcb8a3b3152ec06eb2f11f46f0cff
|
|
444
|
-
Expo: 7ac824960a6059d6c68e73f432c8e6bf6d92a0ef
|
|
445
|
-
ExpoKeepAwake: 0e8f18142e71bbf2c7f6aa66ebed249ba1420320
|
|
446
|
-
ExpoModulesCore: 39ec590ce622289c060183aba57f77b1e73b4e11
|
|
447
|
-
FBLazyVector: 739d2f9719faecb463c7aa191591af31c8c94182
|
|
448
|
-
FBReactNativeSpec: 957de82f66e31f2f14bbec34e37242282fdd26de
|
|
449
|
-
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
|
|
450
|
-
glog: 3d02b25ca00c2d456734d0bcff864cbc62f6ae1a
|
|
451
|
-
RCT-Folly: b9d9fe1fc70114b751c076104e52f3b1b5e5a95a
|
|
452
|
-
RCTRequired: c8c080849a3670601d5c7056023a2176067a69d8
|
|
453
|
-
RCTTypeSafety: 710aef40f5ae246bc5fff7e873855b17ed11c180
|
|
454
|
-
React: b6bb382534be4de9d367ef3d04f92108c1768160
|
|
455
|
-
React-bridging: 0fca0337cef9305026814907dd29254a833a2db7
|
|
456
|
-
React-callinvoker: 700e6eb96b5f7f2fdd96d7263cd4627d2fa080ed
|
|
457
|
-
React-Codegen: fd21633c4b9f47d0681bbb54b173a203963a5e4d
|
|
458
|
-
React-Core: 8ec15c9727c8c01b1e4f14cad5bd21f7c1d56d49
|
|
459
|
-
React-CoreModules: 79486447bf901292a83df52d4f7acbecda296723
|
|
460
|
-
React-cxxreact: 9022135650dd9960a60a1361e9add424c6c37ab9
|
|
461
|
-
React-jsi: 4ccb3599c422ad071e3895c5feab9b0afc40505d
|
|
462
|
-
React-jsiexecutor: c61b60de03b3474e5749b8a8fd8e6507630d62c4
|
|
463
|
-
React-jsinspector: eaacb698c5af7a99131bc1933806372c20222dfd
|
|
464
|
-
React-logger: ebb4d31bbbe4f1a8a1a9b658d7429210b8f68160
|
|
465
|
-
React-perflogger: 1fb1ad5333b43a5137afd7608695f7a42c5efd27
|
|
466
|
-
React-RCTActionSheet: a435bd67689433575a1e5d7614b021d2c17f0726
|
|
467
|
-
React-RCTAnimation: d097c5ed2d00735958508617555abd85183b94e2
|
|
468
|
-
React-RCTBlob: f43a0fceb328e1a40aa52701a4eba955635444ab
|
|
469
|
-
React-RCTImage: 08f4428e931efe0eefb94443c8ca08cfb250a556
|
|
470
|
-
React-RCTLinking: 3a8851e818652582f87e5a7577302e6ad7e1de3e
|
|
471
|
-
React-RCTNetwork: 19f7c66b612e2336eefdfbc7ab3a9bd8ca4e21cf
|
|
472
|
-
React-RCTSettings: 9324e718a865ff01e4a96be4c65923581b2d5170
|
|
473
|
-
React-RCTText: 9cadcd5d982c1d25f7439f47354b1c1b75e60105
|
|
474
|
-
React-RCTVibration: 285f8538386c660e6b9497e204636acd93bf7fcc
|
|
475
|
-
React-runtimeexecutor: 0af71c94f968fa10015bf0119951bccd2e4d8865
|
|
476
|
-
ReactCommon: fe7580b9d10f00249facf25659e0ec051320cc8a
|
|
477
|
-
ReactNativeMeasureText: 15b68f121e14d541939daccaf80c7c8f46dacea6
|
|
478
|
-
Yoga: 75bf4b0131cfb46a659cd0c13309b79a6fcff66d
|
|
479
|
-
|
|
480
|
-
PODFILE CHECKSUM: f4139bfc3496f5822b0c9122e01fba1d8de0b727
|
|
481
|
-
|
|
482
|
-
COCOAPODS: 1.11.3
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
#import "AppDelegate.h"
|
|
2
|
-
|
|
3
|
-
#import <React/RCTBridge.h>
|
|
4
|
-
#import <React/RCTBundleURLProvider.h>
|
|
5
|
-
#import <React/RCTRootView.h>
|
|
6
|
-
#import <React/RCTLinkingManager.h>
|
|
7
|
-
#import <React/RCTConvert.h>
|
|
8
|
-
|
|
9
|
-
#import <React/RCTAppSetupUtils.h>
|
|
10
|
-
|
|
11
|
-
#if RCT_NEW_ARCH_ENABLED
|
|
12
|
-
#import <React/CoreModulesPlugins.h>
|
|
13
|
-
#import <React/RCTCxxBridgeDelegate.h>
|
|
14
|
-
#import <React/RCTFabricSurfaceHostingProxyRootView.h>
|
|
15
|
-
#import <React/RCTSurfacePresenter.h>
|
|
16
|
-
#import <React/RCTSurfacePresenterBridgeAdapter.h>
|
|
17
|
-
#import <ReactCommon/RCTTurboModuleManager.h>
|
|
18
|
-
|
|
19
|
-
#import <react/config/ReactNativeConfig.h>
|
|
20
|
-
|
|
21
|
-
static NSString *const kRNConcurrentRoot = @"concurrentRoot";
|
|
22
|
-
|
|
23
|
-
@interface AppDelegate () <RCTCxxBridgeDelegate, RCTTurboModuleManagerDelegate> {
|
|
24
|
-
RCTTurboModuleManager *_turboModuleManager;
|
|
25
|
-
RCTSurfacePresenterBridgeAdapter *_bridgeAdapter;
|
|
26
|
-
std::shared_ptr<const facebook::react::ReactNativeConfig> _reactNativeConfig;
|
|
27
|
-
facebook::react::ContextContainer::Shared _contextContainer;
|
|
28
|
-
}
|
|
29
|
-
@end
|
|
30
|
-
#endif
|
|
31
|
-
|
|
32
|
-
@implementation AppDelegate
|
|
33
|
-
|
|
34
|
-
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
|
35
|
-
{
|
|
36
|
-
RCTAppSetupPrepareApp(application);
|
|
37
|
-
|
|
38
|
-
RCTBridge *bridge = [self.reactDelegate createBridgeWithDelegate:self launchOptions:launchOptions];
|
|
39
|
-
|
|
40
|
-
#if RCT_NEW_ARCH_ENABLED
|
|
41
|
-
_contextContainer = std::make_shared<facebook::react::ContextContainer const>();
|
|
42
|
-
_reactNativeConfig = std::make_shared<facebook::react::EmptyReactNativeConfig const>();
|
|
43
|
-
_contextContainer->insert("ReactNativeConfig", _reactNativeConfig);
|
|
44
|
-
_bridgeAdapter = [[RCTSurfacePresenterBridgeAdapter alloc] initWithBridge:bridge contextContainer:_contextContainer];
|
|
45
|
-
bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
|
|
46
|
-
#endif
|
|
47
|
-
|
|
48
|
-
NSDictionary *initProps = [self prepareInitialProps];
|
|
49
|
-
UIView *rootView = [self.reactDelegate createRootViewWithBridge:bridge moduleName:@"main" initialProperties:initProps];
|
|
50
|
-
|
|
51
|
-
rootView.backgroundColor = [UIColor whiteColor];
|
|
52
|
-
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
|
53
|
-
UIViewController *rootViewController = [self.reactDelegate createRootViewController];
|
|
54
|
-
rootViewController.view = rootView;
|
|
55
|
-
self.window.rootViewController = rootViewController;
|
|
56
|
-
[self.window makeKeyAndVisible];
|
|
57
|
-
|
|
58
|
-
[super application:application didFinishLaunchingWithOptions:launchOptions];
|
|
59
|
-
|
|
60
|
-
return YES;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
- (NSArray<id<RCTBridgeModule>> *)extraModulesForBridge:(RCTBridge *)bridge
|
|
64
|
-
{
|
|
65
|
-
// If you'd like to export some custom RCTBridgeModules, add them here!
|
|
66
|
-
return @[];
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/// This method controls whether the `concurrentRoot`feature of React18 is turned on or off.
|
|
70
|
-
///
|
|
71
|
-
/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html
|
|
72
|
-
/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).
|
|
73
|
-
/// @return: `true` if the `concurrentRoot` feture is enabled. Otherwise, it returns `false`.
|
|
74
|
-
- (BOOL)concurrentRootEnabled
|
|
75
|
-
{
|
|
76
|
-
// Switch this bool to turn on and off the concurrent root
|
|
77
|
-
return true;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
- (NSDictionary *)prepareInitialProps
|
|
81
|
-
{
|
|
82
|
-
NSMutableDictionary *initProps = [NSMutableDictionary new];
|
|
83
|
-
#if RCT_NEW_ARCH_ENABLED
|
|
84
|
-
initProps[kRNConcurrentRoot] = @([self concurrentRootEnabled]);
|
|
85
|
-
#endif
|
|
86
|
-
return initProps;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
|
|
90
|
-
{
|
|
91
|
-
#if DEBUG
|
|
92
|
-
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
|
|
93
|
-
#else
|
|
94
|
-
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
|
|
95
|
-
#endif
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Linking API
|
|
99
|
-
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
|
|
100
|
-
return [super application:application openURL:url options:options] || [RCTLinkingManager application:application openURL:url options:options];
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Universal Links
|
|
104
|
-
- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler {
|
|
105
|
-
BOOL result = [RCTLinkingManager application:application continueUserActivity:userActivity restorationHandler:restorationHandler];
|
|
106
|
-
return [super application:application continueUserActivity:userActivity restorationHandler:restorationHandler] || result;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// Explicitly define remote notification delegates to ensure compatibility with some third-party libraries
|
|
110
|
-
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
|
|
111
|
-
{
|
|
112
|
-
return [super application:application didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// Explicitly define remote notification delegates to ensure compatibility with some third-party libraries
|
|
116
|
-
- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error
|
|
117
|
-
{
|
|
118
|
-
return [super application:application didFailToRegisterForRemoteNotificationsWithError:error];
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// Explicitly define remote notification delegates to ensure compatibility with some third-party libraries
|
|
122
|
-
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
|
|
123
|
-
{
|
|
124
|
-
return [super application:application didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
#if RCT_NEW_ARCH_ENABLED
|
|
128
|
-
|
|
129
|
-
#pragma mark - RCTCxxBridgeDelegate
|
|
130
|
-
|
|
131
|
-
- (std::unique_ptr<facebook::react::JSExecutorFactory>)jsExecutorFactoryForBridge:(RCTBridge *)bridge
|
|
132
|
-
{
|
|
133
|
-
_turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge
|
|
134
|
-
delegate:self
|
|
135
|
-
jsInvoker:bridge.jsCallInvoker];
|
|
136
|
-
return RCTAppSetupDefaultJsExecutorFactory(bridge, _turboModuleManager);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
#pragma mark RCTTurboModuleManagerDelegate
|
|
140
|
-
|
|
141
|
-
- (Class)getModuleClassFromName:(const char *)name
|
|
142
|
-
{
|
|
143
|
-
return RCTCoreModulesClassProvider(name);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:(const std::string &)name
|
|
147
|
-
jsInvoker:(std::shared_ptr<facebook::react::CallInvoker>)jsInvoker
|
|
148
|
-
{
|
|
149
|
-
return nullptr;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:(const std::string &)name
|
|
153
|
-
initParams:
|
|
154
|
-
(const facebook::react::ObjCTurboModule::InitParams &)params
|
|
155
|
-
{
|
|
156
|
-
return nullptr;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
- (id<RCTTurboModule>)getModuleInstanceFromClass:(Class)moduleClass
|
|
160
|
-
{
|
|
161
|
-
return RCTAppSetupDefaultModuleFromClass(moduleClass);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
#endif
|
|
165
|
-
|
|
166
|
-
@end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|