Browse Source

Update example to RN 0.61.1

Mathieu Acthernoene 5 years ago
parent
commit
583fc9cab2

+ 1
- 0
.gitignore View File

@@ -39,6 +39,7 @@ yarn-error.log
39 39
 buck-out/
40 40
 \.buckd/
41 41
 *.keystore
42
+!debug.keystore
42 43
 
43 44
 # Bundle artifact
44 45
 *.jsbundle

+ 4
- 13
example/android/app/build.gradle View File

@@ -176,15 +176,6 @@ android {
176 176
 
177 177
         }
178 178
     }
179
-
180
-    packagingOptions {
181
-        pickFirst '**/armeabi-v7a/libc++_shared.so'
182
-        pickFirst '**/x86/libc++_shared.so'
183
-        pickFirst '**/arm64-v8a/libc++_shared.so'
184
-        pickFirst '**/x86_64/libc++_shared.so'
185
-        pickFirst '**/x86/libjsc.so'
186
-        pickFirst '**/armeabi-v7a/libjsc.so'
187
-    }
188 179
 }
189 180
 
190 181
 dependencies {
@@ -192,11 +183,11 @@ dependencies {
192 183
     implementation "com.facebook.react:react-native:+"  // From node_modules
193 184
 
194 185
     if (enableHermes) {
195
-      def hermesPath = "../../node_modules/hermesvm/android/";
196
-      debugImplementation files(hermesPath + "hermes-debug.aar")
197
-      releaseImplementation files(hermesPath + "hermes-release.aar")
186
+        def hermesPath = "../../node_modules/hermes-engine/android/";
187
+        debugImplementation files(hermesPath + "hermes-debug.aar")
188
+        releaseImplementation files(hermesPath + "hermes-release.aar")
198 189
     } else {
199
-      implementation jscFlavor
190
+        implementation jscFlavor
200 191
     }
201 192
 }
202 193
 

BIN
example/android/app/debug.keystore View File


+ 48
- 23
example/android/app/src/main/java/com/rnpermissionsexample/MainApplication.java View File

@@ -1,40 +1,38 @@
1 1
 package com.rnpermissionsexample;
2 2
 
3 3
 import android.app.Application;
4
-import android.util.Log;
5
-
4
+import android.content.Context;
6 5
 import com.facebook.react.PackageList;
7
-import com.facebook.hermes.reactexecutor.HermesExecutorFactory;
8
-import com.facebook.react.bridge.JavaScriptExecutorFactory;
9 6
 import com.facebook.react.ReactApplication;
10 7
 import com.facebook.react.ReactNativeHost;
11 8
 import com.facebook.react.ReactPackage;
12 9
 import com.facebook.soloader.SoLoader;
13
-
10
+import java.lang.reflect.InvocationTargetException;
14 11
 import java.util.List;
15 12
 
16 13
 public class MainApplication extends Application implements ReactApplication {
17 14
 
18
-  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
19
-    @Override
20
-    public boolean getUseDeveloperSupport() {
21
-      return BuildConfig.DEBUG;
22
-    }
15
+  private final ReactNativeHost mReactNativeHost =
16
+      new ReactNativeHost(this) {
17
+        @Override
18
+        public boolean getUseDeveloperSupport() {
19
+          return BuildConfig.DEBUG;
20
+        }
23 21
 
24
-    @Override
25
-    protected List<ReactPackage> getPackages() {
26
-      @SuppressWarnings("UnnecessaryLocalVariable")
27
-      List<ReactPackage> packages = new PackageList(this).getPackages();
28
-      // Packages that cannot be autolinked yet can be added manually here, for example:
29
-      // packages.add(new MyReactNativePackage());
30
-      return packages;
31
-    }
22
+        @Override
23
+        protected List<ReactPackage> getPackages() {
24
+          @SuppressWarnings("UnnecessaryLocalVariable")
25
+          List<ReactPackage> packages = new PackageList(this).getPackages();
26
+          // Packages that cannot be autolinked yet can be added manually here, for example:
27
+          // packages.add(new MyReactNativePackage());
28
+          return packages;
29
+        }
32 30
 
33
-    @Override
34
-    protected String getJSMainModuleName() {
35
-      return "index";
36
-    }
37
-  };
31
+        @Override
32
+        protected String getJSMainModuleName() {
33
+          return "index";
34
+        }
35
+      };
38 36
 
39 37
   @Override
40 38
   public ReactNativeHost getReactNativeHost() {
@@ -45,5 +43,32 @@ public class MainApplication extends Application implements ReactApplication {
45 43
   public void onCreate() {
46 44
     super.onCreate();
47 45
     SoLoader.init(this, /* native exopackage */ false);
46
+    initializeFlipper(this); // Remove this line if you don't want Flipper enabled
47
+  }
48
+
49
+  /**
50
+   * Loads Flipper in React Native templates.
51
+   *
52
+   * @param context
53
+   */
54
+  private static void initializeFlipper(Context context) {
55
+    if (BuildConfig.DEBUG) {
56
+      try {
57
+        /*
58
+         We use reflection here to pick up the class that initializes Flipper,
59
+        since Flipper library is not available in release mode
60
+        */
61
+        Class<?> aClass = Class.forName("com.facebook.flipper.ReactNativeFlipper");
62
+        aClass.getMethod("initializeFlipper", Context.class).invoke(null, context);
63
+      } catch (ClassNotFoundException e) {
64
+        e.printStackTrace();
65
+      } catch (NoSuchMethodException e) {
66
+        e.printStackTrace();
67
+      } catch (IllegalAccessException e) {
68
+        e.printStackTrace();
69
+      } catch (InvocationTargetException e) {
70
+        e.printStackTrace();
71
+      }
72
+    }
48 73
   }
49 74
 }

+ 2
- 1
example/android/build.gradle View File

@@ -13,7 +13,7 @@ buildscript {
13 13
         jcenter()
14 14
     }
15 15
     dependencies {
16
-        classpath("com.android.tools.build:gradle:3.4.1")
16
+        classpath("com.android.tools.build:gradle:3.4.2")
17 17
 
18 18
         // NOTE: Do not place your application dependencies here; they belong
19 19
         // in the individual module build.gradle files
@@ -34,5 +34,6 @@ allprojects {
34 34
 
35 35
         google()
36 36
         jcenter()
37
+        maven { url 'https://jitpack.io' }
37 38
     }
38 39
 }

+ 1
- 1
example/android/gradle/wrapper/gradle-wrapper.properties View File

@@ -1,5 +1,5 @@
1 1
 distributionBase=GRADLE_USER_HOME
2 2
 distributionPath=wrapper/dists
3
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
3
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
4 4
 zipStoreBase=GRADLE_USER_HOME
5 5
 zipStorePath=wrapper/dists

+ 11
- 4
example/ios/Podfile View File

@@ -2,9 +2,14 @@ platform :ios, '9.0'
2 2
 require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
3 3
 
4 4
 target 'RNPermissionsExample' do
5
+  pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
6
+  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
7
+  pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
8
+  pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
5 9
   pod 'React', :path => '../node_modules/react-native/'
6
-  pod 'React-Core', :path => '../node_modules/react-native/React'
7
-  pod 'React-DevSupport', :path => '../node_modules/react-native/React'
10
+  pod 'React-Core', :path => '../node_modules/react-native/'
11
+  pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
12
+  pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
8 13
   pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
9 14
   pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
10 15
   pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
@@ -14,13 +19,15 @@ target 'RNPermissionsExample' do
14 19
   pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
15 20
   pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
16 21
   pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
17
-  pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'
22
+  pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
18 23
 
19 24
   pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
20 25
   pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
21 26
   pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
22 27
   pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
23
-  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
28
+  pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
29
+  pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
30
+  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
24 31
 
25 32
   pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
26 33
   pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'

+ 271
- 114
example/ios/Podfile.lock View File

@@ -1,6 +1,14 @@
1 1
 PODS:
2 2
   - boost-for-react-native (1.63.0)
3 3
   - DoubleConversion (1.1.6)
4
+  - FBLazyVector (0.61.1)
5
+  - FBReactNativeSpec (0.61.1):
6
+    - Folly (= 2018.10.22.00)
7
+    - RCTRequired (= 0.61.1)
8
+    - RCTTypeSafety (= 0.61.1)
9
+    - React-Core (= 0.61.1)
10
+    - React-jsi (= 0.61.1)
11
+    - ReactCommon/turbomodule/core (= 0.61.1)
4 12
   - Folly (2018.10.22.00):
5 13
     - boost-for-react-native
6 14
     - DoubleConversion
@@ -11,112 +19,244 @@ PODS:
11 19
     - DoubleConversion
12 20
     - glog
13 21
   - glog (0.3.5)
14
-  - Permission-BluetoothPeripheral (2.0.0-rc.1):
22
+  - Permission-BluetoothPeripheral (2.0.0):
15 23
     - RNPermissions
16
-  - Permission-Calendars (2.0.0-rc.1):
24
+  - Permission-Calendars (2.0.0):
17 25
     - RNPermissions
18
-  - Permission-Camera (2.0.0-rc.1):
26
+  - Permission-Camera (2.0.0):
19 27
     - RNPermissions
20
-  - Permission-Contacts (2.0.0-rc.1):
28
+  - Permission-Contacts (2.0.0):
21 29
     - RNPermissions
22
-  - Permission-FaceID (2.0.0-rc.1):
30
+  - Permission-FaceID (2.0.0):
23 31
     - RNPermissions
24
-  - Permission-LocationAlways (2.0.0-rc.1):
32
+  - Permission-LocationAlways (2.0.0):
25 33
     - RNPermissions
26
-  - Permission-LocationWhenInUse (2.0.0-rc.1):
34
+  - Permission-LocationWhenInUse (2.0.0):
27 35
     - RNPermissions
28
-  - Permission-MediaLibrary (2.0.0-rc.1):
36
+  - Permission-MediaLibrary (2.0.0):
29 37
     - RNPermissions
30
-  - Permission-Microphone (2.0.0-rc.1):
38
+  - Permission-Microphone (2.0.0):
31 39
     - RNPermissions
32
-  - Permission-Motion (2.0.0-rc.1):
40
+  - Permission-Motion (2.0.0):
33 41
     - RNPermissions
34
-  - Permission-Notifications (2.0.0-rc.1):
42
+  - Permission-Notifications (2.0.0):
35 43
     - RNPermissions
36
-  - Permission-PhotoLibrary (2.0.0-rc.1):
44
+  - Permission-PhotoLibrary (2.0.0):
37 45
     - RNPermissions
38
-  - Permission-Reminders (2.0.0-rc.1):
46
+  - Permission-Reminders (2.0.0):
39 47
     - RNPermissions
40
-  - Permission-SpeechRecognition (2.0.0-rc.1):
48
+  - Permission-SpeechRecognition (2.0.0):
41 49
     - RNPermissions
42
-  - Permission-StoreKit (2.0.0-rc.1):
50
+  - Permission-StoreKit (2.0.0):
43 51
     - RNPermissions
44
-  - React (0.60.5):
45
-    - React-Core (= 0.60.5)
46
-    - React-DevSupport (= 0.60.5)
47
-    - React-RCTActionSheet (= 0.60.5)
48
-    - React-RCTAnimation (= 0.60.5)
49
-    - React-RCTBlob (= 0.60.5)
50
-    - React-RCTImage (= 0.60.5)
51
-    - React-RCTLinking (= 0.60.5)
52
-    - React-RCTNetwork (= 0.60.5)
53
-    - React-RCTSettings (= 0.60.5)
54
-    - React-RCTText (= 0.60.5)
55
-    - React-RCTVibration (= 0.60.5)
56
-    - React-RCTWebSocket (= 0.60.5)
57
-  - React-Core (0.60.5):
52
+  - RCTRequired (0.61.1)
53
+  - RCTTypeSafety (0.61.1):
54
+    - FBLazyVector (= 0.61.1)
55
+    - Folly (= 2018.10.22.00)
56
+    - RCTRequired (= 0.61.1)
57
+    - React-Core (= 0.61.1)
58
+  - React (0.61.1):
59
+    - React-Core (= 0.61.1)
60
+    - React-Core/DevSupport (= 0.61.1)
61
+    - React-Core/RCTWebSocket (= 0.61.1)
62
+    - React-RCTActionSheet (= 0.61.1)
63
+    - React-RCTAnimation (= 0.61.1)
64
+    - React-RCTBlob (= 0.61.1)
65
+    - React-RCTImage (= 0.61.1)
66
+    - React-RCTLinking (= 0.61.1)
67
+    - React-RCTNetwork (= 0.61.1)
68
+    - React-RCTSettings (= 0.61.1)
69
+    - React-RCTText (= 0.61.1)
70
+    - React-RCTVibration (= 0.61.1)
71
+  - React-Core (0.61.1):
72
+    - Folly (= 2018.10.22.00)
73
+    - glog
74
+    - React-Core/Default (= 0.61.1)
75
+    - React-cxxreact (= 0.61.1)
76
+    - React-jsi (= 0.61.1)
77
+    - React-jsiexecutor (= 0.61.1)
78
+    - Yoga
79
+  - React-Core/CoreModulesHeaders (0.61.1):
80
+    - Folly (= 2018.10.22.00)
81
+    - glog
82
+    - React-Core/Default
83
+    - React-cxxreact (= 0.61.1)
84
+    - React-jsi (= 0.61.1)
85
+    - React-jsiexecutor (= 0.61.1)
86
+    - Yoga
87
+  - React-Core/Default (0.61.1):
88
+    - Folly (= 2018.10.22.00)
89
+    - glog
90
+    - React-cxxreact (= 0.61.1)
91
+    - React-jsi (= 0.61.1)
92
+    - React-jsiexecutor (= 0.61.1)
93
+    - Yoga
94
+  - React-Core/DevSupport (0.61.1):
95
+    - Folly (= 2018.10.22.00)
96
+    - glog
97
+    - React-Core/Default (= 0.61.1)
98
+    - React-Core/RCTWebSocket (= 0.61.1)
99
+    - React-cxxreact (= 0.61.1)
100
+    - React-jsi (= 0.61.1)
101
+    - React-jsiexecutor (= 0.61.1)
102
+    - React-jsinspector (= 0.61.1)
103
+    - Yoga
104
+  - React-Core/RCTActionSheetHeaders (0.61.1):
58 105
     - Folly (= 2018.10.22.00)
59
-    - React-cxxreact (= 0.60.5)
60
-    - React-jsiexecutor (= 0.60.5)
61
-    - yoga (= 0.60.5.React)
62
-  - React-cxxreact (0.60.5):
106
+    - glog
107
+    - React-Core/Default
108
+    - React-cxxreact (= 0.61.1)
109
+    - React-jsi (= 0.61.1)
110
+    - React-jsiexecutor (= 0.61.1)
111
+    - Yoga
112
+  - React-Core/RCTAnimationHeaders (0.61.1):
113
+    - Folly (= 2018.10.22.00)
114
+    - glog
115
+    - React-Core/Default
116
+    - React-cxxreact (= 0.61.1)
117
+    - React-jsi (= 0.61.1)
118
+    - React-jsiexecutor (= 0.61.1)
119
+    - Yoga
120
+  - React-Core/RCTBlobHeaders (0.61.1):
121
+    - Folly (= 2018.10.22.00)
122
+    - glog
123
+    - React-Core/Default
124
+    - React-cxxreact (= 0.61.1)
125
+    - React-jsi (= 0.61.1)
126
+    - React-jsiexecutor (= 0.61.1)
127
+    - Yoga
128
+  - React-Core/RCTImageHeaders (0.61.1):
129
+    - Folly (= 2018.10.22.00)
130
+    - glog
131
+    - React-Core/Default
132
+    - React-cxxreact (= 0.61.1)
133
+    - React-jsi (= 0.61.1)
134
+    - React-jsiexecutor (= 0.61.1)
135
+    - Yoga
136
+  - React-Core/RCTLinkingHeaders (0.61.1):
137
+    - Folly (= 2018.10.22.00)
138
+    - glog
139
+    - React-Core/Default
140
+    - React-cxxreact (= 0.61.1)
141
+    - React-jsi (= 0.61.1)
142
+    - React-jsiexecutor (= 0.61.1)
143
+    - Yoga
144
+  - React-Core/RCTNetworkHeaders (0.61.1):
145
+    - Folly (= 2018.10.22.00)
146
+    - glog
147
+    - React-Core/Default
148
+    - React-cxxreact (= 0.61.1)
149
+    - React-jsi (= 0.61.1)
150
+    - React-jsiexecutor (= 0.61.1)
151
+    - Yoga
152
+  - React-Core/RCTSettingsHeaders (0.61.1):
153
+    - Folly (= 2018.10.22.00)
154
+    - glog
155
+    - React-Core/Default
156
+    - React-cxxreact (= 0.61.1)
157
+    - React-jsi (= 0.61.1)
158
+    - React-jsiexecutor (= 0.61.1)
159
+    - Yoga
160
+  - React-Core/RCTTextHeaders (0.61.1):
161
+    - Folly (= 2018.10.22.00)
162
+    - glog
163
+    - React-Core/Default
164
+    - React-cxxreact (= 0.61.1)
165
+    - React-jsi (= 0.61.1)
166
+    - React-jsiexecutor (= 0.61.1)
167
+    - Yoga
168
+  - React-Core/RCTVibrationHeaders (0.61.1):
169
+    - Folly (= 2018.10.22.00)
170
+    - glog
171
+    - React-Core/Default
172
+    - React-cxxreact (= 0.61.1)
173
+    - React-jsi (= 0.61.1)
174
+    - React-jsiexecutor (= 0.61.1)
175
+    - Yoga
176
+  - React-Core/RCTWebSocket (0.61.1):
177
+    - Folly (= 2018.10.22.00)
178
+    - glog
179
+    - React-Core/Default (= 0.61.1)
180
+    - React-cxxreact (= 0.61.1)
181
+    - React-jsi (= 0.61.1)
182
+    - React-jsiexecutor (= 0.61.1)
183
+    - Yoga
184
+  - React-CoreModules (0.61.1):
185
+    - FBReactNativeSpec (= 0.61.1)
186
+    - Folly (= 2018.10.22.00)
187
+    - RCTTypeSafety (= 0.61.1)
188
+    - React-Core/CoreModulesHeaders (= 0.61.1)
189
+    - React-RCTImage (= 0.61.1)
190
+    - ReactCommon/turbomodule/core (= 0.61.1)
191
+  - React-cxxreact (0.61.1):
63 192
     - boost-for-react-native (= 1.63.0)
64 193
     - DoubleConversion
65 194
     - Folly (= 2018.10.22.00)
66 195
     - glog
67
-    - React-jsinspector (= 0.60.5)
68
-  - React-DevSupport (0.60.5):
69
-    - React-Core (= 0.60.5)
70
-    - React-RCTWebSocket (= 0.60.5)
71
-  - React-jsi (0.60.5):
196
+    - React-jsinspector (= 0.61.1)
197
+  - React-jsi (0.61.1):
72 198
     - boost-for-react-native (= 1.63.0)
73 199
     - DoubleConversion
74 200
     - Folly (= 2018.10.22.00)
75 201
     - glog
76
-    - React-jsi/Default (= 0.60.5)
77
-  - React-jsi/Default (0.60.5):
202
+    - React-jsi/Default (= 0.61.1)
203
+  - React-jsi/Default (0.61.1):
78 204
     - boost-for-react-native (= 1.63.0)
79 205
     - DoubleConversion
80 206
     - Folly (= 2018.10.22.00)
81 207
     - glog
82
-  - React-jsiexecutor (0.60.5):
208
+  - React-jsiexecutor (0.61.1):
209
+    - DoubleConversion
210
+    - Folly (= 2018.10.22.00)
211
+    - glog
212
+    - React-cxxreact (= 0.61.1)
213
+    - React-jsi (= 0.61.1)
214
+  - React-jsinspector (0.61.1)
215
+  - React-RCTActionSheet (0.61.1):
216
+    - React-Core/RCTActionSheetHeaders (= 0.61.1)
217
+  - React-RCTAnimation (0.61.1):
218
+    - React-Core/RCTAnimationHeaders (= 0.61.1)
219
+  - React-RCTBlob (0.61.1):
220
+    - React-Core/RCTBlobHeaders (= 0.61.1)
221
+    - React-Core/RCTWebSocket (= 0.61.1)
222
+    - React-jsi (= 0.61.1)
223
+    - React-RCTNetwork (= 0.61.1)
224
+  - React-RCTImage (0.61.1):
225
+    - React-Core/RCTImageHeaders (= 0.61.1)
226
+    - React-RCTNetwork (= 0.61.1)
227
+  - React-RCTLinking (0.61.1):
228
+    - React-Core/RCTLinkingHeaders (= 0.61.1)
229
+  - React-RCTNetwork (0.61.1):
230
+    - React-Core/RCTNetworkHeaders (= 0.61.1)
231
+  - React-RCTSettings (0.61.1):
232
+    - React-Core/RCTSettingsHeaders (= 0.61.1)
233
+  - React-RCTText (0.61.1):
234
+    - React-Core/RCTTextHeaders (= 0.61.1)
235
+  - React-RCTVibration (0.61.1):
236
+    - React-Core/RCTVibrationHeaders (= 0.61.1)
237
+  - ReactCommon/jscallinvoker (0.61.1):
83 238
     - DoubleConversion
84 239
     - Folly (= 2018.10.22.00)
85 240
     - glog
86
-    - React-cxxreact (= 0.60.5)
87
-    - React-jsi (= 0.60.5)
88
-  - React-jsinspector (0.60.5)
89
-  - React-RCTActionSheet (0.60.5):
90
-    - React-Core (= 0.60.5)
91
-  - React-RCTAnimation (0.60.5):
92
-    - React-Core (= 0.60.5)
93
-  - React-RCTBlob (0.60.5):
94
-    - React-Core (= 0.60.5)
95
-    - React-RCTNetwork (= 0.60.5)
96
-    - React-RCTWebSocket (= 0.60.5)
97
-  - React-RCTImage (0.60.5):
98
-    - React-Core (= 0.60.5)
99
-    - React-RCTNetwork (= 0.60.5)
100
-  - React-RCTLinking (0.60.5):
101
-    - React-Core (= 0.60.5)
102
-  - React-RCTNetwork (0.60.5):
103
-    - React-Core (= 0.60.5)
104
-  - React-RCTSettings (0.60.5):
105
-    - React-Core (= 0.60.5)
106
-  - React-RCTText (0.60.5):
107
-    - React-Core (= 0.60.5)
108
-  - React-RCTVibration (0.60.5):
109
-    - React-Core (= 0.60.5)
110
-  - React-RCTWebSocket (0.60.5):
111
-    - React-Core (= 0.60.5)
112
-  - RNPermissions (2.0.0-rc.1):
241
+    - React-cxxreact (= 0.61.1)
242
+  - ReactCommon/turbomodule/core (0.61.1):
243
+    - DoubleConversion
244
+    - Folly (= 2018.10.22.00)
245
+    - glog
246
+    - React-Core (= 0.61.1)
247
+    - React-cxxreact (= 0.61.1)
248
+    - React-jsi (= 0.61.1)
249
+    - ReactCommon/jscallinvoker (= 0.61.1)
250
+  - RNPermissions (2.0.0):
113 251
     - React
114 252
   - RNVectorIcons (6.6.0):
115 253
     - React
116
-  - yoga (0.60.5.React)
254
+  - Yoga (1.14.0)
117 255
 
118 256
 DEPENDENCIES:
119 257
   - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
258
+  - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
259
+  - FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
120 260
   - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
121 261
   - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
122 262
   - Permission-BluetoothPeripheral (from `../node_modules/react-native-permissions/ios/BluetoothPeripheral.podspec`)
@@ -134,10 +274,14 @@ DEPENDENCIES:
134 274
   - Permission-Reminders (from `../node_modules/react-native-permissions/ios/Reminders.podspec`)
135 275
   - Permission-SpeechRecognition (from `../node_modules/react-native-permissions/ios/SpeechRecognition.podspec`)
136 276
   - Permission-StoreKit (from `../node_modules/react-native-permissions/ios/StoreKit.podspec`)
277
+  - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
278
+  - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
137 279
   - React (from `../node_modules/react-native/`)
138
-  - React-Core (from `../node_modules/react-native/React`)
280
+  - React-Core (from `../node_modules/react-native/`)
281
+  - React-Core/DevSupport (from `../node_modules/react-native/`)
282
+  - React-Core/RCTWebSocket (from `../node_modules/react-native/`)
283
+  - React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
139 284
   - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
140
-  - React-DevSupport (from `../node_modules/react-native/React`)
141 285
   - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
142 286
   - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
143 287
   - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
@@ -150,10 +294,11 @@ DEPENDENCIES:
150 294
   - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
151 295
   - React-RCTText (from `../node_modules/react-native/Libraries/Text`)
152 296
   - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
153
-  - React-RCTWebSocket (from `../node_modules/react-native/Libraries/WebSocket`)
297
+  - ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)
298
+  - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
154 299
   - RNPermissions (from `../node_modules/react-native-permissions`)
155 300
   - RNVectorIcons (from `../node_modules/react-native-vector-icons`)
156
-  - yoga (from `../node_modules/react-native/ReactCommon/yoga`)
301
+  - Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
157 302
 
158 303
 SPEC REPOS:
159 304
   https://github.com/cocoapods/specs.git:
@@ -162,6 +307,10 @@ SPEC REPOS:
162 307
 EXTERNAL SOURCES:
163 308
   DoubleConversion:
164 309
     :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
310
+  FBLazyVector:
311
+    :path: "../node_modules/react-native/Libraries/FBLazyVector"
312
+  FBReactNativeSpec:
313
+    :path: "../node_modules/react-native/Libraries/FBReactNativeSpec"
165 314
   Folly:
166 315
     :podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
167 316
   glog:
@@ -196,14 +345,18 @@ EXTERNAL SOURCES:
196 345
     :path: "../node_modules/react-native-permissions/ios/SpeechRecognition.podspec"
197 346
   Permission-StoreKit:
198 347
     :path: "../node_modules/react-native-permissions/ios/StoreKit.podspec"
348
+  RCTRequired:
349
+    :path: "../node_modules/react-native/Libraries/RCTRequired"
350
+  RCTTypeSafety:
351
+    :path: "../node_modules/react-native/Libraries/TypeSafety"
199 352
   React:
200 353
     :path: "../node_modules/react-native/"
201 354
   React-Core:
202
-    :path: "../node_modules/react-native/React"
355
+    :path: "../node_modules/react-native/"
356
+  React-CoreModules:
357
+    :path: "../node_modules/react-native/React/CoreModules"
203 358
   React-cxxreact:
204 359
     :path: "../node_modules/react-native/ReactCommon/cxxreact"
205
-  React-DevSupport:
206
-    :path: "../node_modules/react-native/React"
207 360
   React-jsi:
208 361
     :path: "../node_modules/react-native/ReactCommon/jsi"
209 362
   React-jsiexecutor:
@@ -228,56 +381,60 @@ EXTERNAL SOURCES:
228 381
     :path: "../node_modules/react-native/Libraries/Text"
229 382
   React-RCTVibration:
230 383
     :path: "../node_modules/react-native/Libraries/Vibration"
231
-  React-RCTWebSocket:
232
-    :path: "../node_modules/react-native/Libraries/WebSocket"
384
+  ReactCommon:
385
+    :path: "../node_modules/react-native/ReactCommon"
233 386
   RNPermissions:
234 387
     :path: "../node_modules/react-native-permissions"
235 388
   RNVectorIcons:
236 389
     :path: "../node_modules/react-native-vector-icons"
237
-  yoga:
390
+  Yoga:
238 391
     :path: "../node_modules/react-native/ReactCommon/yoga"
239 392
 
240 393
 SPEC CHECKSUMS:
241 394
   boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
242 395
   DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
396
+  FBLazyVector: 0846affdb2924b01093eb696766ecb0104e409e0
397
+  FBReactNativeSpec: c4cf958af1b97799b524f63a26a1c509c0295b04
243 398
   Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
244 399
   glog: 1f3da668190260b06b429bb211bfbee5cd790c28
245
-  Permission-BluetoothPeripheral: 5cf4dcbf8bf8bfa26cdc8d5e22560ead66907aea
246
-  Permission-Calendars: 671913c79ffcc834b0ca63696f94420ccf8db260
247
-  Permission-Camera: 943fe2127d7547eb5faf127849967e0010375dc5
248
-  Permission-Contacts: f22e9dd0c13aa3db548c67c75fe404a30984fb29
249
-  Permission-FaceID: 07f01e3037e305074a94e4b287ecb55ce0d23ed2
250
-  Permission-LocationAlways: edb0f76f677df94ef6e4fff7075152c80c7b3b91
251
-  Permission-LocationWhenInUse: 4ae6f7b723bd972c1854ab352ed16ab4facdc11e
252
-  Permission-MediaLibrary: 92f69c8b63e1e33ef7eaf4b854774034536493c7
253
-  Permission-Microphone: 1095d084f4998b1bfeccf6df25cb632452f601b6
254
-  Permission-Motion: def24295b0a06686567e44eab11c40fd043fb3fd
255
-  Permission-Notifications: bfb61a77dcacec8742d651e7023732dec4501df1
256
-  Permission-PhotoLibrary: 4002b02a7732a9d7edf13180e87a1233644048cd
257
-  Permission-Reminders: eeac1b0c2d40fd5d9b707fa2a77788745dd7c825
258
-  Permission-SpeechRecognition: 4865644601fc35513e1808aef119b907260bf667
259
-  Permission-StoreKit: 3eb5299146c0f87d30b4146a1fbc02df3256b923
260
-  React: 53c53c4d99097af47cf60594b8706b4e3321e722
261
-  React-Core: ba421f6b4f4cbe2fb17c0b6fc675f87622e78a64
262
-  React-cxxreact: 8384287780c4999351ad9b6e7a149d9ed10a2395
263
-  React-DevSupport: 197fb409737cff2c4f9986e77c220d7452cb9f9f
264
-  React-jsi: 4d8c9efb6312a9725b18d6fc818ffc103f60fec2
265
-  React-jsiexecutor: 90ad2f9db09513fc763bc757fdc3c4ff8bde2a30
266
-  React-jsinspector: e08662d1bf5b129a3d556eb9ea343a3f40353ae4
267
-  React-RCTActionSheet: b0f1ea83f4bf75fb966eae9bfc47b78c8d3efd90
268
-  React-RCTAnimation: 359ba1b5690b1e87cc173558a78e82d35919333e
269
-  React-RCTBlob: 5e2b55f76e9a1c7ae52b826923502ddc3238df24
270
-  React-RCTImage: f5f1c50922164e89bdda67bcd0153952a5cfe719
271
-  React-RCTLinking: d0ecbd791e9ddddc41fa1f66b0255de90e8ee1e9
272
-  React-RCTNetwork: e26946300b0ab7bb6c4a6348090e93fa21f33a9d
273
-  React-RCTSettings: d0d37cb521b7470c998595a44f05847777cc3f42
274
-  React-RCTText: b074d89033583d4f2eb5faf7ea2db3a13c7553a2
275
-  React-RCTVibration: 2105b2e0e2b66a6408fc69a46c8a7fb5b2fdade0
276
-  React-RCTWebSocket: cd932a16b7214898b6b7f788c8bddb3637246ac4
277
-  RNPermissions: 3753579000223a353d41b51e41e1d51788b75486
400
+  Permission-BluetoothPeripheral: ca07124613f3e7ee8633a39074e912e1d724e28b
401
+  Permission-Calendars: eadc1b8060ff4e98417c6339e75c76f277fc7fce
402
+  Permission-Camera: 550f1b7609fc658fa2e28f930e235aa994c7b315
403
+  Permission-Contacts: 3a6e04f3960fcaf6d352c9c4c5e82d42bcbcb4cc
404
+  Permission-FaceID: de6d7c544fee1425f8d3d32f1240b290f198e194
405
+  Permission-LocationAlways: 358bb6ab37d28a39dfcdc7b35cf2e3bbbf69d295
406
+  Permission-LocationWhenInUse: eba4249d3c1783fd235b18c213c530b66398bbbd
407
+  Permission-MediaLibrary: 7c30b4ba4bdb062863c58ed6013a4219a01ef6fc
408
+  Permission-Microphone: c63c2adf5027d69383e27784622af743207fdf10
409
+  Permission-Motion: 534e287327fbf44e864328c52b2cd5a584e94cb5
410
+  Permission-Notifications: b85820c267c433ba07b5212f575f6dd02e9b4420
411
+  Permission-PhotoLibrary: 908dceabf4cc66c81c0c485a72e1e6b1d253f58e
412
+  Permission-Reminders: 412dd3103fae872f13c34bfd2f9061395ea27900
413
+  Permission-SpeechRecognition: 15ca6fa0535ad385de45f166f0748ccea8912450
414
+  Permission-StoreKit: 97edf428564d8a11356f311afa1aa498274e9787
415
+  RCTRequired: 53825815218847d3e9c7b6d92ad2d197a926d51e
416
+  RCTTypeSafety: d886540c518e53064dfa081bf7693fd650699b92
417
+  React: 5dea58967c421bd1fdf6b94c18b9ed0f5134683c
418
+  React-Core: b381e65aa0da9b94b9dcdc4a99298075b1c3876c
419
+  React-CoreModules: 4ed224e29848ba76d26aacb8e3fe85712d3c4fe1
420
+  React-cxxreact: 52c98f5c1fb4e4d9f4b588742718350a55f4f088
421
+  React-jsi: 61ff417c95e6c3af50fb96399037e80752fb5ce7
422
+  React-jsiexecutor: ee45274419eb95614bbbadb98e20684c5f29996e
423
+  React-jsinspector: 574d597112f9ea3d1b717f6fb62aef764c70dd6f
424
+  React-RCTActionSheet: af4d951113b1e068bb30611f91b984a7a73597ff
425
+  React-RCTAnimation: 4f518d70bb6890b7c3d9d732f84786d6693ca297
426
+  React-RCTBlob: 072a4888c08de0eef6d04eaa727d25e577e6ff26
427
+  React-RCTImage: 78c5cdf1b2de6cd3cd650dd741868fad19a35528
428
+  React-RCTLinking: 486ed1c9a659c7f9fea213868f8930b9a0a79f07
429
+  React-RCTNetwork: e79599f3160b459da03447e32b8bcca1a0f0f797
430
+  React-RCTSettings: 48b7c5a64ffe0c54c39d59eb7d9036e72305f95a
431
+  React-RCTText: 81b62b4e7f11531a5154e4daa5617670d5a2d5de
432
+  React-RCTVibration: 8be61459e3749d1fb02cf414edd05b3007622882
433
+  ReactCommon: 4fba5be89efdf0b5720e0adb3d8d7edf6e532db0
434
+  RNPermissions: 0954178834810a675efad2a26041ffa5380e663f
278 435
   RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
279
-  yoga: 312528f5bbbba37b4dcea5ef00e8b4033fdd9411
436
+  Yoga: d8c572ddec8d05b7dba08e4e5f1924004a177078
280 437
 
281
-PODFILE CHECKSUM: a037c27dcc3fbbe5fde19672f4add90655640f7e
438
+PODFILE CHECKSUM: fd41fb3cc785483e3289e017b0986b9b143fd760
282 439
 
283 440
 COCOAPODS: 1.7.5

+ 0
- 12
example/ios/RNPermissionsExample.xcodeproj/project.pbxproj View File

@@ -11,7 +11,6 @@
11 11
 		13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
12 12
 		13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13 13
 		13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
14
-		2A94077659864F9EB01C8A33 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A7C280AB05534E81BE62866B /* MaterialIcons.ttf */; };
15 14
 		FF61E46FEEB7199D22A548F5 /* libPods-RNPermissionsExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D78CFB0B797068FC55B9C8C1 /* libPods-RNPermissionsExample.a */; };
16 15
 /* End PBXBuildFile section */
17 16
 
@@ -25,7 +24,6 @@
25 24
 		13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNPermissionsExample/Info.plist; sourceTree = "<group>"; };
26 25
 		13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNPermissionsExample/main.m; sourceTree = "<group>"; };
27 26
 		6508191B9B16B2AC0281B3AC /* Pods-RNPermissionsExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNPermissionsExample.release.xcconfig"; path = "Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample.release.xcconfig"; sourceTree = "<group>"; };
28
-		A7C280AB05534E81BE62866B /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = "<group>"; };
29 27
 		B6736F72654167EDBA7145AA /* Pods-RNPermissionsExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNPermissionsExample.debug.xcconfig"; path = "Target Support Files/Pods-RNPermissionsExample/Pods-RNPermissionsExample.debug.xcconfig"; sourceTree = "<group>"; };
30 28
 		D78CFB0B797068FC55B9C8C1 /* libPods-RNPermissionsExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNPermissionsExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
31 29
 		ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
@@ -77,14 +75,6 @@
77 75
 			name = Frameworks;
78 76
 			sourceTree = "<group>";
79 77
 		};
80
-		5F78D441884D47A18F90131B /* Resources */ = {
81
-			isa = PBXGroup;
82
-			children = (
83
-				A7C280AB05534E81BE62866B /* MaterialIcons.ttf */,
84
-			);
85
-			name = Resources;
86
-			sourceTree = "<group>";
87
-		};
88 78
 		83CBB9F61A601CBA00E9B192 = {
89 79
 			isa = PBXGroup;
90 80
 			children = (
@@ -92,7 +82,6 @@
92 82
 				83CBBA001A601CBA00E9B192 /* Products */,
93 83
 				2D16E6871FA4F8E400B85C8A /* Frameworks */,
94 84
 				2426786032D9E4653AC74A82 /* Pods */,
95
-				5F78D441884D47A18F90131B /* Resources */,
96 85
 			);
97 86
 			indentWidth = 2;
98 87
 			sourceTree = "<group>";
@@ -171,7 +160,6 @@
171 160
 			files = (
172 161
 				13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
173 162
 				13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
174
-				2A94077659864F9EB01C8A33 /* MaterialIcons.ttf in Resources */,
175 163
 			);
176 164
 			runOnlyForDeploymentPostprocessing = 0;
177 165
 		};

+ 6
- 6
example/package.json View File

@@ -11,17 +11,17 @@
11 11
     "reinstall": "yarn clean && yarn install"
12 12
   },
13 13
   "dependencies": {
14
-    "react": "16.8.6",
15
-    "react-native": "0.60.5",
14
+    "react": "16.9.0",
15
+    "react-native": "0.61.1",
16 16
     "react-native-paper": "2.16.0",
17 17
     "react-native-permissions": "../",
18 18
     "react-native-vector-icons": "6.6.0"
19 19
   },
20 20
   "devDependencies": {
21
-    "@babel/core": "7.6.0",
22
-    "@babel/runtime": "7.6.0",
23
-    "@types/react": "16.8.25",
24
-    "@types/react-native": "0.60.15",
21
+    "@babel/core": "7.6.2",
22
+    "@babel/runtime": "7.6.2",
23
+    "@types/react": "16.9.3",
24
+    "@types/react-native": "0.60.17",
25 25
     "metro-react-native-babel-preset": "0.56.0",
26 26
     "typescript": "3.6.3"
27 27
   }

+ 237
- 352
example/yarn.lock
File diff suppressed because it is too large
View File