瀏覽代碼

deps: update React Native to version 0.59

This new version comes with an updated JSC runtime, so we no longer need to
depend on the updated version ourselves.
j8
Saúl Ibarra Corretgé 6 年之前
父節點
當前提交
b53a034aaf

+ 1
- 2
.flowconfig 查看文件

33
 [libs]
33
 [libs]
34
 node_modules/react-native/Libraries/react-native/react-native-interface.js
34
 node_modules/react-native/Libraries/react-native/react-native-interface.js
35
 node_modules/react-native/flow/
35
 node_modules/react-native/flow/
36
-node_modules/react-native/flow-github/
37
 
36
 
38
 [options]
37
 [options]
39
 emoji=true
38
 emoji=true
83
 module.file_ext=.json
82
 module.file_ext=.json
84
 
83
 
85
 [version]
84
 [version]
86
-^0.78.0
85
+^0.92.0

+ 0
- 4
android/README.md 查看文件

69
 
69
 
70
     $ cp -r ../node_modules/react-native/android/com /tmp/repo/
70
     $ cp -r ../node_modules/react-native/android/com /tmp/repo/
71
 
71
 
72
-In the same way, copy the JavaScriptCore dependency:
73
-
74
-    $ cp -r ../node_modules/jsc-android/dist/org /tmp/repo/
75
-
76
 Alternatively, you can use the scripts located in the android/scripts directory to publish these dependencies to your Maven repo.
72
 Alternatively, you can use the scripts located in the android/scripts directory to publish these dependencies to your Maven repo.
77
 
73
 
78
 Third-party React Native _modules_, which Jitsi Meet SDK for Android depends on, are download by NPM in source code form. These need to be assembled into Maven artifacts, and then published to your local Maven repository. The SDK project facilitates this.
74
 Third-party React Native _modules_, which Jitsi Meet SDK for Android depends on, are download by NPM in source code form. These need to be assembled into Maven artifacts, and then published to your local Maven repository. The SDK project facilitates this.

+ 0
- 7
android/build.gradle 查看文件

25
     repositories {
25
     repositories {
26
         google()
26
         google()
27
         jcenter()
27
         jcenter()
28
-        maven { url "$rootDir/../node_modules/jsc-android/dist" }
29
         // React Native (JS, Obj-C sources, Android binaries) is installed from
28
         // React Native (JS, Obj-C sources, Android binaries) is installed from
30
         // npm.
29
         // npm.
31
         maven { url "$rootDir/../node_modules/react-native/android" }
30
         maven { url "$rootDir/../node_modules/react-native/android" }
42
                     def version = new JsonSlurper().parseText(file.text).version
41
                     def version = new JsonSlurper().parseText(file.text).version
43
                     details.useVersion version
42
                     details.useVersion version
44
                 }
43
                 }
45
-                if (details.requested.group == 'org.webkit'
46
-                        && details.requested.name == 'android-jsc') {
47
-                    def file = new File("$rootDir/../node_modules/jsc-android/package.json")
48
-                    def version = new JsonSlurper().parseText(file.text).version
49
-                    details.useVersion "r${version.tokenize('.')[0]}"
50
-                }
51
             }
44
             }
52
         }
45
         }
53
     }
46
     }

+ 0
- 17
android/scripts/publish-android-jsc.sh 查看文件

1
-#!/bin/bash
2
-
3
-CWD=$(dirname $0)
4
-MVN_REPO=$(realpath $1)
5
-JSC_VERSION="r"$(jq -r '.dependencies."jsc-android"' ${CWD}/../../package.json | cut -d . -f 1)
6
-
7
-pushd ${CWD}/../../node_modules/jsc-android/dist/org/webkit/android-jsc/${JSC_VERSION}
8
-
9
-mvn \
10
-    deploy:deploy-file \
11
-    -Durl=file://${MVN_REPO} \
12
-    -Dfile=android-jsc-${JSC_VERSION}.aar \
13
-    -Dpackaging=aar \
14
-    -DgeneratePom=false \
15
-    -DpomFile=android-jsc-${JSC_VERSION}.pom
16
-
17
-popd

+ 0
- 1
android/sdk/build.gradle 查看文件

24
     implementation "com.android.support:support-v4:${rootProject.ext.supportLibVersion}"
24
     implementation "com.android.support:support-v4:${rootProject.ext.supportLibVersion}"
25
     implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
25
     implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
26
 
26
 
27
-    implementation 'org.webkit:android-jsc:+'
28
     implementation 'com.amplitude:android-sdk:2.14.1'
27
     implementation 'com.amplitude:android-sdk:2.14.1'
29
     implementation 'com.dropbox.core:dropbox-core-sdk:3.0.8'
28
     implementation 'com.dropbox.core:dropbox-core-sdk:3.0.8'
30
     api 'com.facebook.react:react-native:+'
29
     api 'com.facebook.react:react-native:+'

+ 5
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/AndroidSettingsModule.java 查看文件

15
 import com.facebook.react.bridge.ReactApplicationContext;
15
 import com.facebook.react.bridge.ReactApplicationContext;
16
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
16
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
17
 import com.facebook.react.bridge.ReactMethod;
17
 import com.facebook.react.bridge.ReactMethod;
18
+import com.facebook.react.module.annotations.ReactModule;
18
 
19
 
20
+@ReactModule(name = AndroidSettingsModule.NAME)
19
 class AndroidSettingsModule
21
 class AndroidSettingsModule
20
     extends ReactContextBaseJavaModule {
22
     extends ReactContextBaseJavaModule {
21
 
23
 
24
+    public static final String NAME = "AndroidSettings";
25
+
22
     public AndroidSettingsModule(ReactApplicationContext reactContext) {
26
     public AndroidSettingsModule(ReactApplicationContext reactContext) {
23
         super(reactContext);
27
         super(reactContext);
24
     }
28
     }
25
 
29
 
26
     @Override
30
     @Override
27
     public String getName() {
31
     public String getName() {
28
-        return "AndroidSettings";
32
+        return NAME;
29
     }
33
     }
30
 
34
 
31
     @ReactMethod
35
     @ReactMethod

+ 5
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/AppInfoModule.java 查看文件

23
 
23
 
24
 import com.facebook.react.bridge.ReactApplicationContext;
24
 import com.facebook.react.bridge.ReactApplicationContext;
25
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
25
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
26
+import com.facebook.react.module.annotations.ReactModule;
26
 
27
 
27
 import java.util.HashMap;
28
 import java.util.HashMap;
28
 import java.util.Map;
29
 import java.util.Map;
29
 
30
 
31
+@ReactModule(name = AppInfoModule.NAME)
30
 class AppInfoModule
32
 class AppInfoModule
31
     extends ReactContextBaseJavaModule {
33
     extends ReactContextBaseJavaModule {
32
 
34
 
35
+    public static final String NAME = "AppInfo";
36
+
33
     public AppInfoModule(ReactApplicationContext reactContext) {
37
     public AppInfoModule(ReactApplicationContext reactContext) {
34
         super(reactContext);
38
         super(reactContext);
35
     }
39
     }
74
 
78
 
75
     @Override
79
     @Override
76
     public String getName() {
80
     public String getName() {
77
-        return "AppInfo";
81
+        return NAME;
78
     }
82
     }
79
 }
83
 }

+ 6
- 8
android/sdk/src/main/java/org/jitsi/meet/sdk/AudioModeModule.java 查看文件

35
 import com.facebook.react.bridge.ReactMethod;
35
 import com.facebook.react.bridge.ReactMethod;
36
 import com.facebook.react.bridge.WritableArray;
36
 import com.facebook.react.bridge.WritableArray;
37
 import com.facebook.react.bridge.WritableMap;
37
 import com.facebook.react.bridge.WritableMap;
38
+import com.facebook.react.module.annotations.ReactModule;
38
 
39
 
39
 import java.util.HashMap;
40
 import java.util.HashMap;
40
 import java.util.HashSet;
41
 import java.util.HashSet;
58
  * Before a call has started and after it has ended the
59
  * Before a call has started and after it has ended the
59
  * {@code AudioModeModule.DEFAULT} mode should be used.
60
  * {@code AudioModeModule.DEFAULT} mode should be used.
60
  */
61
  */
62
+@ReactModule(name = AudioModeModule.NAME)
61
 class AudioModeModule extends ReactContextBaseJavaModule
63
 class AudioModeModule extends ReactContextBaseJavaModule
62
     implements AudioManager.OnAudioFocusChangeListener {
64
     implements AudioManager.OnAudioFocusChangeListener {
63
 
65
 
66
+    public static final String NAME = "AudioMode";
67
+
64
     /**
68
     /**
65
      * Constants representing the audio mode.
69
      * Constants representing the audio mode.
66
      * - DEFAULT: Used before and after every call. It represents the default
70
      * - DEFAULT: Used before and after every call. It represents the default
89
      */
93
      */
90
     private static final int TYPE_USB_HEADSET = 22;
94
     private static final int TYPE_USB_HEADSET = 22;
91
 
95
 
92
-    /**
93
-     * The name of {@code AudioModeModule} to be used in the React Native
94
-     * bridge.
95
-     */
96
-    private static final String MODULE_NAME = "AudioMode";
97
-
98
     /**
96
     /**
99
      * The {@code Log} tag {@code AudioModeModule} is to log messages with.
97
      * The {@code Log} tag {@code AudioModeModule} is to log messages with.
100
      */
98
      */
101
-    static final String TAG = MODULE_NAME;
99
+    static final String TAG = NAME;
102
 
100
 
103
     /**
101
     /**
104
      * Converts any of the "DEVICE_" constants into the corresponding
102
      * Converts any of the "DEVICE_" constants into the corresponding
373
      */
371
      */
374
     @Override
372
     @Override
375
     public String getName() {
373
     public String getName() {
376
-        return MODULE_NAME;
374
+        return NAME;
377
     }
375
     }
378
 
376
 
379
     /**
377
     /**

+ 6
- 2
android/sdk/src/main/java/org/jitsi/meet/sdk/ExternalAPIModule.java 查看文件

22
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
22
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
23
 import com.facebook.react.bridge.ReactMethod;
23
 import com.facebook.react.bridge.ReactMethod;
24
 import com.facebook.react.bridge.ReadableMap;
24
 import com.facebook.react.bridge.ReadableMap;
25
+import com.facebook.react.module.annotations.ReactModule;
25
 
26
 
26
 /**
27
 /**
27
  * Module implementing an API for sending events from JavaScript to native code.
28
  * Module implementing an API for sending events from JavaScript to native code.
28
  */
29
  */
30
+@ReactModule(name = ExternalAPIModule.NAME)
29
 class ExternalAPIModule
31
 class ExternalAPIModule
30
     extends ReactContextBaseJavaModule {
32
     extends ReactContextBaseJavaModule {
31
 
33
 
32
-    private static final String TAG = ExternalAPIModule.class.getSimpleName();
34
+    public static final String NAME = "ExternalAPI";
35
+
36
+    private static final String TAG = NAME;
33
 
37
 
34
     /**
38
     /**
35
      * Initializes a new module instance. There shall be a single instance of
39
      * Initializes a new module instance. There shall be a single instance of
49
      */
53
      */
50
     @Override
54
     @Override
51
     public String getName() {
55
     public String getName() {
52
-        return "ExternalAPI";
56
+        return NAME;
53
     }
57
     }
54
 
58
 
55
     /**
59
     /**

+ 6
- 2
android/sdk/src/main/java/org/jitsi/meet/sdk/PictureInPictureModule.java 查看文件

27
 import com.facebook.react.bridge.ReactApplicationContext;
27
 import com.facebook.react.bridge.ReactApplicationContext;
28
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
28
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
29
 import com.facebook.react.bridge.ReactMethod;
29
 import com.facebook.react.bridge.ReactMethod;
30
+import com.facebook.react.module.annotations.ReactModule;
30
 
31
 
32
+@ReactModule(name = PictureInPictureModule.NAME)
31
 class PictureInPictureModule
33
 class PictureInPictureModule
32
     extends ReactContextBaseJavaModule {
34
     extends ReactContextBaseJavaModule {
33
 
35
 
34
-    private final static String TAG = "PictureInPicture";
36
+    public static final String NAME = "PictureInPicture";
37
+
38
+    private static final String TAG = NAME;
35
 
39
 
36
     static boolean isPictureInPictureSupported() {
40
     static boolean isPictureInPictureSupported() {
37
         return Build.VERSION.SDK_INT >= Build.VERSION_CODES.O;
41
         return Build.VERSION.SDK_INT >= Build.VERSION_CODES.O;
101
 
105
 
102
     @Override
106
     @Override
103
     public String getName() {
107
     public String getName() {
104
-        return TAG;
108
+        return NAME;
105
     }
109
     }
106
 }
110
 }

+ 5
- 7
android/sdk/src/main/java/org/jitsi/meet/sdk/ProximityModule.java 查看文件

24
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
24
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
25
 import com.facebook.react.bridge.ReactMethod;
25
 import com.facebook.react.bridge.ReactMethod;
26
 import com.facebook.react.bridge.UiThreadUtil;
26
 import com.facebook.react.bridge.UiThreadUtil;
27
+import com.facebook.react.module.annotations.ReactModule;
27
 
28
 
28
 /**
29
 /**
29
  * Module implementing a simple API to enable a proximity sensor-controlled
30
  * Module implementing a simple API to enable a proximity sensor-controlled
31
  * object it will dim the screen and disable touch controls. The functionality
32
  * object it will dim the screen and disable touch controls. The functionality
32
  * is used with the conference audio-only mode.
33
  * is used with the conference audio-only mode.
33
  */
34
  */
35
+@ReactModule(name = ProximityModule.NAME)
34
 class ProximityModule
36
 class ProximityModule
35
     extends ReactContextBaseJavaModule {
37
     extends ReactContextBaseJavaModule {
36
 
38
 
37
-    /**
38
-     * The name of {@code ProximityModule} to be used in the React Native
39
-     * bridge.
40
-     */
41
-    private static final String MODULE_NAME = "Proximity";
39
+    public static final String NAME = "Proximity";
42
 
40
 
43
     /**
41
     /**
44
      * This type of wake lock (the one activated by the proximity sensor) has
42
      * This type of wake lock (the one activated by the proximity sensor) has
74
             wakeLock
72
             wakeLock
75
                 = powerManager.newWakeLock(
73
                 = powerManager.newWakeLock(
76
                         PROXIMITY_SCREEN_OFF_WAKE_LOCK,
74
                         PROXIMITY_SCREEN_OFF_WAKE_LOCK,
77
-                        MODULE_NAME);
75
+                        "jitsi:"+NAME);
78
         } catch (Throwable ignored) {
76
         } catch (Throwable ignored) {
79
             wakeLock = null;
77
             wakeLock = null;
80
         }
78
         }
89
      */
87
      */
90
     @Override
88
     @Override
91
     public String getName() {
89
     public String getName() {
92
-        return MODULE_NAME;
90
+        return NAME;
93
     }
91
     }
94
 
92
 
95
     /**
93
     /**

+ 6
- 2
android/sdk/src/main/java/org/jitsi/meet/sdk/RNConnectionService.java 查看文件

18
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
18
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
19
 import com.facebook.react.bridge.ReactMethod;
19
 import com.facebook.react.bridge.ReactMethod;
20
 import com.facebook.react.bridge.ReadableMap;
20
 import com.facebook.react.bridge.ReadableMap;
21
+import com.facebook.react.module.annotations.ReactModule;
21
 
22
 
22
 /**
23
 /**
23
  * The react-native side of Jitsi Meet's {@link ConnectionService}. Exposes
24
  * The react-native side of Jitsi Meet's {@link ConnectionService}. Exposes
26
  * @author Pawel Domas
27
  * @author Pawel Domas
27
  */
28
  */
28
 @RequiresApi(api = Build.VERSION_CODES.O)
29
 @RequiresApi(api = Build.VERSION_CODES.O)
30
+@ReactModule(name = RNConnectionService.NAME)
29
 class RNConnectionService
31
 class RNConnectionService
30
     extends ReactContextBaseJavaModule {
32
     extends ReactContextBaseJavaModule {
31
 
33
 
32
-    private final static String TAG = ConnectionService.TAG;
34
+    public static final String NAME = "ConnectionService";
35
+
36
+    private static final String TAG = ConnectionService.TAG;
33
 
37
 
34
     /**
38
     /**
35
      * Sets the audio route on all existing {@link android.telecom.Connection}s
39
      * Sets the audio route on all existing {@link android.telecom.Connection}s
146
 
150
 
147
     @Override
151
     @Override
148
     public String getName() {
152
     public String getName() {
149
-        return "ConnectionService";
153
+        return NAME;
150
     }
154
     }
151
 
155
 
152
     /**
156
     /**

+ 5
- 7
android/sdk/src/main/java/org/jitsi/meet/sdk/WiFiStatsModule.java 查看文件

25
 import com.facebook.react.bridge.ReactApplicationContext;
25
 import com.facebook.react.bridge.ReactApplicationContext;
26
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
26
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
27
 import com.facebook.react.bridge.ReactMethod;
27
 import com.facebook.react.bridge.ReactMethod;
28
+import com.facebook.react.module.annotations.ReactModule;
28
 
29
 
29
 import org.json.JSONArray;
30
 import org.json.JSONArray;
30
 import org.json.JSONObject;
31
 import org.json.JSONObject;
43
  * Gathers rssi, signal in percentage, timestamp and the addresses of the wifi
44
  * Gathers rssi, signal in percentage, timestamp and the addresses of the wifi
44
  * device.
45
  * device.
45
  */
46
  */
47
+@ReactModule(name = WiFiStatsModule.NAME)
46
 class WiFiStatsModule
48
 class WiFiStatsModule
47
     extends ReactContextBaseJavaModule {
49
     extends ReactContextBaseJavaModule {
48
 
50
 
49
-    /**
50
-     * The name of {@code WiFiStatsModule} to be used in the React Native
51
-     * bridge.
52
-     */
53
-    private static final String MODULE_NAME = "WiFiStats";
51
+    public static final String NAME = "WiFiStats";
54
 
52
 
55
     /**
53
     /**
56
      * The {@code Log} tag {@code WiFiStatsModule} is to log messages with.
54
      * The {@code Log} tag {@code WiFiStatsModule} is to log messages with.
57
      */
55
      */
58
-    static final String TAG = MODULE_NAME;
56
+    static final String TAG = NAME;
59
 
57
 
60
     /**
58
     /**
61
      * The scale used for the signal value. A level of the signal, given in the
59
      * The scale used for the signal value. A level of the signal, given in the
87
      */
85
      */
88
     @Override
86
     @Override
89
     public String getName() {
87
     public String getName() {
90
-        return MODULE_NAME;
88
+        return NAME;
91
     }
89
     }
92
 
90
 
93
     /**
91
     /**

+ 6
- 3
android/sdk/src/main/java/org/jitsi/meet/sdk/analytics/AmplitudeModule.java 查看文件

22
 import com.facebook.react.bridge.ReadableMap;
22
 import com.facebook.react.bridge.ReadableMap;
23
 
23
 
24
 import com.amplitude.api.Amplitude;
24
 import com.amplitude.api.Amplitude;
25
+import com.facebook.react.module.annotations.ReactModule;
25
 
26
 
26
 import org.json.JSONException;
27
 import org.json.JSONException;
27
 import org.json.JSONObject;
28
 import org.json.JSONObject;
29
 /**
30
 /**
30
  * Implements the react-native module for the Amplitude integration.
31
  * Implements the react-native module for the Amplitude integration.
31
  */
32
  */
33
+@ReactModule(name = AmplitudeModule.NAME)
32
 public class AmplitudeModule
34
 public class AmplitudeModule
33
         extends ReactContextBaseJavaModule {
35
         extends ReactContextBaseJavaModule {
34
 
36
 
37
+    public static final String NAME = "Amplitude";
38
+
35
     public AmplitudeModule(ReactApplicationContext reactContext) {
39
     public AmplitudeModule(ReactApplicationContext reactContext) {
36
         super(reactContext);
40
         super(reactContext);
37
     }
41
     }
71
      */
75
      */
72
     @ReactMethod
76
     @ReactMethod
73
     public void logEvent(String instanceName, String eventType, String eventPropsString) {
77
     public void logEvent(String instanceName, String eventType, String eventPropsString) {
74
-        JSONObject eventProps = null;
75
         try {
78
         try {
76
-            eventProps = new JSONObject(eventPropsString);
79
+            JSONObject eventProps = new JSONObject(eventPropsString);
77
             Amplitude.getInstance(instanceName).logEvent(eventType, eventProps);
80
             Amplitude.getInstance(instanceName).logEvent(eventType, eventProps);
78
         } catch (JSONException e) {
81
         } catch (JSONException e) {
79
             e.printStackTrace();
82
             e.printStackTrace();
82
 
85
 
83
     @Override
86
     @Override
84
     public String getName() {
87
     public String getName() {
85
-        return "Amplitude";
88
+        return NAME;
86
     }
89
     }
87
 }
90
 }

+ 6
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/dropbox/Dropbox.java 查看文件

20
 import com.dropbox.core.android.Auth;
20
 import com.dropbox.core.android.Auth;
21
 import com.facebook.react.bridge.ReactMethod;
21
 import com.facebook.react.bridge.ReactMethod;
22
 import com.facebook.react.bridge.WritableMap;
22
 import com.facebook.react.bridge.WritableMap;
23
+import com.facebook.react.module.annotations.ReactModule;
23
 
24
 
24
 import java.util.HashMap;
25
 import java.util.HashMap;
25
 import java.util.Map;
26
 import java.util.Map;
27
 /**
28
 /**
28
  * Implements the react-native module for the dropbox integration.
29
  * Implements the react-native module for the dropbox integration.
29
  */
30
  */
31
+@ReactModule(name = Dropbox.NAME)
30
 public class Dropbox
32
 public class Dropbox
31
         extends ReactContextBaseJavaModule
33
         extends ReactContextBaseJavaModule
32
         implements LifecycleEventListener {
34
         implements LifecycleEventListener {
35
+
36
+    public static final String NAME = "Dropbox";
37
+
33
     private String appKey;
38
     private String appKey;
34
 
39
 
35
     private String clientId;
40
     private String clientId;
131
 
136
 
132
     @Override
137
     @Override
133
     public String getName() {
138
     public String getName() {
134
-        return "Dropbox";
139
+        return NAME;
135
     }
140
     }
136
 
141
 
137
     /**
142
     /**

+ 6
- 7
android/sdk/src/main/java/org/jitsi/meet/sdk/net/NAT64AddrInfoModule.java 查看文件

21
 import com.facebook.react.bridge.ReactApplicationContext;
21
 import com.facebook.react.bridge.ReactApplicationContext;
22
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
22
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
23
 import com.facebook.react.bridge.ReactMethod;
23
 import com.facebook.react.bridge.ReactMethod;
24
+import com.facebook.react.module.annotations.ReactModule;
24
 
25
 
25
 import java.net.UnknownHostException;
26
 import java.net.UnknownHostException;
26
 
27
 
32
  * [1]: https://tools.ietf.org/html/rfc6146
33
  * [1]: https://tools.ietf.org/html/rfc6146
33
  * [2]: https://tools.ietf.org/html/rfc6052
34
  * [2]: https://tools.ietf.org/html/rfc6052
34
  */
35
  */
36
+@ReactModule(name = NAT64AddrInfoModule.NAME)
35
 public class NAT64AddrInfoModule
37
 public class NAT64AddrInfoModule
36
     extends ReactContextBaseJavaModule {
38
     extends ReactContextBaseJavaModule {
37
 
39
 
40
+    public final static String NAME = "NAT64AddrInfo";
41
+
38
     /**
42
     /**
39
      * The host for which the module wil try to resolve both IPv4 and IPv6
43
      * The host for which the module wil try to resolve both IPv4 and IPv6
40
      * addresses in order to figure out the NAT64 prefix.
44
      * addresses in order to figure out the NAT64 prefix.
46
      */
50
      */
47
     private final static long INFO_LIFETIME = 60 * 1000;
51
     private final static long INFO_LIFETIME = 60 * 1000;
48
 
52
 
49
-    /**
50
-     * The name of this module.
51
-     */
52
-    private final static String MODULE_NAME = "NAT64AddrInfo";
53
-
54
     /**
53
     /**
55
      * The {@code Log} tag {@code NAT64AddrInfoModule} is to log messages with.
54
      * The {@code Log} tag {@code NAT64AddrInfoModule} is to log messages with.
56
      */
55
      */
57
-    private final static String TAG = MODULE_NAME;
56
+    private final static String TAG = NAME;
58
 
57
 
59
     /**
58
     /**
60
      * The {@link NAT64AddrInfo} instance which holds NAT64 prefix/suffix.
59
      * The {@link NAT64AddrInfo} instance which holds NAT64 prefix/suffix.
119
 
118
 
120
     @Override
119
     @Override
121
     public String getName() {
120
     public String getName() {
122
-        return MODULE_NAME;
121
+        return NAME;
123
     }
122
     }
124
 }
123
 }

+ 76
- 68
ios/Podfile.lock 查看文件

7
     - Fabric (~> 1.9.0)
7
     - Fabric (~> 1.9.0)
8
   - DoubleConversion (1.1.6)
8
   - DoubleConversion (1.1.6)
9
   - Fabric (1.9.0)
9
   - Fabric (1.9.0)
10
-  - Firebase/Core (5.15.0):
10
+  - Firebase/Core (5.18.0):
11
     - Firebase/CoreOnly
11
     - Firebase/CoreOnly
12
-    - FirebaseAnalytics (= 5.4.0)
13
-  - Firebase/CoreOnly (5.15.0):
14
-    - FirebaseCore (= 5.1.10)
15
-  - Firebase/DynamicLinks (5.15.0):
12
+    - FirebaseAnalytics (= 5.7.0)
13
+  - Firebase/CoreOnly (5.18.0):
14
+    - FirebaseCore (= 5.3.1)
15
+  - Firebase/DynamicLinks (5.18.0):
16
     - Firebase/CoreOnly
16
     - Firebase/CoreOnly
17
-    - FirebaseDynamicLinks (= 3.3.0)
18
-  - FirebaseAnalytics (5.4.0):
19
-    - FirebaseCore (~> 5.1)
20
-    - FirebaseInstanceID (~> 3.3)
21
-    - GoogleAppMeasurement (= 5.4.0)
17
+    - FirebaseDynamicLinks (= 3.4.1)
18
+  - FirebaseAnalytics (5.7.0):
19
+    - FirebaseCore (~> 5.3)
20
+    - FirebaseInstanceID (~> 3.6)
21
+    - GoogleAppMeasurement (= 5.7.0)
22
     - GoogleUtilities/AppDelegateSwizzler (~> 5.2)
22
     - GoogleUtilities/AppDelegateSwizzler (~> 5.2)
23
     - GoogleUtilities/MethodSwizzler (~> 5.2)
23
     - GoogleUtilities/MethodSwizzler (~> 5.2)
24
     - GoogleUtilities/Network (~> 5.2)
24
     - GoogleUtilities/Network (~> 5.2)
25
     - "GoogleUtilities/NSData+zlib (~> 5.2)"
25
     - "GoogleUtilities/NSData+zlib (~> 5.2)"
26
     - nanopb (~> 0.3)
26
     - nanopb (~> 0.3)
27
-  - FirebaseAnalyticsInterop (1.1.0)
28
-  - FirebaseCore (5.1.10):
27
+  - FirebaseAnalyticsInterop (1.2.0)
28
+  - FirebaseCore (5.3.1):
29
     - GoogleUtilities/Logger (~> 5.2)
29
     - GoogleUtilities/Logger (~> 5.2)
30
-  - FirebaseDynamicLinks (3.3.0):
30
+  - FirebaseDynamicLinks (3.4.1):
31
     - FirebaseAnalytics (~> 5.1)
31
     - FirebaseAnalytics (~> 5.1)
32
     - FirebaseAnalyticsInterop (~> 1.0)
32
     - FirebaseAnalyticsInterop (~> 1.0)
33
-    - FirebaseCore (~> 5.1)
34
-  - FirebaseInstanceID (3.3.0):
35
-    - FirebaseCore (~> 5.1)
36
-    - GoogleUtilities/Environment (~> 5.3)
37
-    - GoogleUtilities/UserDefaults (~> 5.3)
33
+    - FirebaseCore (~> 5.2)
34
+  - FirebaseInstanceID (3.7.0):
35
+    - FirebaseCore (~> 5.2)
36
+    - GoogleUtilities/Environment (~> 5.2)
37
+    - GoogleUtilities/UserDefaults (~> 5.2)
38
   - FLAnimatedImage (1.0.12)
38
   - FLAnimatedImage (1.0.12)
39
-  - Folly (2016.10.31.00):
39
+  - Folly (2018.10.22.00):
40
     - boost-for-react-native
40
     - boost-for-react-native
41
     - DoubleConversion
41
     - DoubleConversion
42
     - glog
42
     - glog
43
   - glog (0.3.5)
43
   - glog (0.3.5)
44
-  - GoogleAppMeasurement (5.4.0):
44
+  - GoogleAppMeasurement (5.7.0):
45
     - GoogleUtilities/AppDelegateSwizzler (~> 5.2)
45
     - GoogleUtilities/AppDelegateSwizzler (~> 5.2)
46
     - GoogleUtilities/MethodSwizzler (~> 5.2)
46
     - GoogleUtilities/MethodSwizzler (~> 5.2)
47
     - GoogleUtilities/Network (~> 5.2)
47
     - GoogleUtilities/Network (~> 5.2)
59
     - GoogleToolboxForMac/Defines (= 2.2.0)
59
     - GoogleToolboxForMac/Defines (= 2.2.0)
60
     - "GoogleToolboxForMac/NSString+URLArguments (= 2.2.0)"
60
     - "GoogleToolboxForMac/NSString+URLArguments (= 2.2.0)"
61
   - "GoogleToolboxForMac/NSString+URLArguments (2.2.0)"
61
   - "GoogleToolboxForMac/NSString+URLArguments (2.2.0)"
62
-  - GoogleUtilities/AppDelegateSwizzler (5.3.7):
62
+  - GoogleUtilities/AppDelegateSwizzler (5.4.1):
63
     - GoogleUtilities/Environment
63
     - GoogleUtilities/Environment
64
     - GoogleUtilities/Logger
64
     - GoogleUtilities/Logger
65
     - GoogleUtilities/Network
65
     - GoogleUtilities/Network
66
-  - GoogleUtilities/Environment (5.3.7)
67
-  - GoogleUtilities/Logger (5.3.7):
66
+  - GoogleUtilities/Environment (5.4.1)
67
+  - GoogleUtilities/Logger (5.4.1):
68
     - GoogleUtilities/Environment
68
     - GoogleUtilities/Environment
69
-  - GoogleUtilities/MethodSwizzler (5.3.7):
69
+  - GoogleUtilities/MethodSwizzler (5.4.1):
70
     - GoogleUtilities/Logger
70
     - GoogleUtilities/Logger
71
-  - GoogleUtilities/Network (5.3.7):
71
+  - GoogleUtilities/Network (5.4.1):
72
     - GoogleUtilities/Logger
72
     - GoogleUtilities/Logger
73
     - "GoogleUtilities/NSData+zlib"
73
     - "GoogleUtilities/NSData+zlib"
74
     - GoogleUtilities/Reachability
74
     - GoogleUtilities/Reachability
75
-  - "GoogleUtilities/NSData+zlib (5.3.7)"
76
-  - GoogleUtilities/Reachability (5.3.7):
75
+  - "GoogleUtilities/NSData+zlib (5.4.1)"
76
+  - GoogleUtilities/Reachability (5.4.1):
77
     - GoogleUtilities/Logger
77
     - GoogleUtilities/Logger
78
-  - GoogleUtilities/UserDefaults (5.3.7):
78
+  - GoogleUtilities/UserDefaults (5.4.1):
79
     - GoogleUtilities/Logger
79
     - GoogleUtilities/Logger
80
   - GTMSessionFetcher/Core (1.2.1)
80
   - GTMSessionFetcher/Core (1.2.1)
81
   - nanopb (0.3.901):
81
   - nanopb (0.3.901):
84
   - nanopb/decode (0.3.901)
84
   - nanopb/decode (0.3.901)
85
   - nanopb/encode (0.3.901)
85
   - nanopb/encode (0.3.901)
86
   - ObjectiveDropboxOfficial (3.9.4)
86
   - ObjectiveDropboxOfficial (3.9.4)
87
-  - React (0.57.8):
88
-    - React/Core (= 0.57.8)
87
+  - React (0.59.1):
88
+    - React/Core (= 0.59.1)
89
   - react-native-background-timer (2.1.1):
89
   - react-native-background-timer (2.1.1):
90
     - React
90
     - React
91
   - react-native-calendar-events (1.6.4):
91
   - react-native-calendar-events (1.6.4):
99
     - React
99
     - React
100
   - react-native-webrtc (1.67.1):
100
   - react-native-webrtc (1.67.1):
101
     - React
101
     - React
102
-  - React/Core (0.57.8):
103
-    - yoga (= 0.57.8.React)
104
-  - React/CxxBridge (0.57.8):
105
-    - Folly (= 2016.10.31.00)
102
+  - React/Core (0.59.1):
103
+    - yoga (= 0.59.1.React)
104
+  - React/CxxBridge (0.59.1):
105
+    - Folly (= 2018.10.22.00)
106
     - React/Core
106
     - React/Core
107
     - React/cxxreact
107
     - React/cxxreact
108
-  - React/cxxreact (0.57.8):
108
+    - React/jsiexecutor
109
+  - React/cxxreact (0.59.1):
109
     - boost-for-react-native (= 1.63.0)
110
     - boost-for-react-native (= 1.63.0)
110
-    - Folly (= 2016.10.31.00)
111
-    - React/jschelpers
111
+    - DoubleConversion
112
+    - Folly (= 2018.10.22.00)
113
+    - glog
112
     - React/jsinspector
114
     - React/jsinspector
113
-  - React/DevSupport (0.57.8):
115
+  - React/DevSupport (0.59.1):
114
     - React/Core
116
     - React/Core
115
     - React/RCTWebSocket
117
     - React/RCTWebSocket
116
-  - React/fishhook (0.57.8)
117
-  - React/jschelpers (0.57.8):
118
-    - Folly (= 2016.10.31.00)
119
-    - React/PrivateDatabase
120
-  - React/jsinspector (0.57.8)
121
-  - React/PrivateDatabase (0.57.8)
122
-  - React/RCTActionSheet (0.57.8):
118
+  - React/fishhook (0.59.1)
119
+  - React/jsi (0.59.1):
120
+    - DoubleConversion
121
+    - Folly (= 2018.10.22.00)
122
+    - glog
123
+  - React/jsiexecutor (0.59.1):
124
+    - DoubleConversion
125
+    - Folly (= 2018.10.22.00)
126
+    - glog
127
+    - React/cxxreact
128
+    - React/jsi
129
+  - React/jsinspector (0.59.1)
130
+  - React/RCTActionSheet (0.59.1):
123
     - React/Core
131
     - React/Core
124
-  - React/RCTAnimation (0.57.8):
132
+  - React/RCTAnimation (0.59.1):
125
     - React/Core
133
     - React/Core
126
-  - React/RCTBlob (0.57.8):
134
+  - React/RCTBlob (0.59.1):
127
     - React/Core
135
     - React/Core
128
-  - React/RCTImage (0.57.8):
136
+  - React/RCTImage (0.59.1):
129
     - React/Core
137
     - React/Core
130
     - React/RCTNetwork
138
     - React/RCTNetwork
131
-  - React/RCTLinkingIOS (0.57.8):
139
+  - React/RCTLinkingIOS (0.59.1):
132
     - React/Core
140
     - React/Core
133
-  - React/RCTNetwork (0.57.8):
141
+  - React/RCTNetwork (0.59.1):
134
     - React/Core
142
     - React/Core
135
-  - React/RCTText (0.57.8):
143
+  - React/RCTText (0.59.1):
136
     - React/Core
144
     - React/Core
137
-  - React/RCTWebSocket (0.57.8):
145
+  - React/RCTWebSocket (0.59.1):
138
     - React/Core
146
     - React/Core
139
     - React/fishhook
147
     - React/fishhook
140
     - React/RCTBlob
148
     - React/RCTBlob
148
     - React/Core
156
     - React/Core
149
   - RNVectorIcons (6.0.2):
157
   - RNVectorIcons (6.0.2):
150
     - React
158
     - React
151
-  - SDWebImage/Core (4.4.3)
152
-  - SDWebImage/GIF (4.4.3):
159
+  - SDWebImage/Core (4.4.6)
160
+  - SDWebImage/GIF (4.4.6):
153
     - FLAnimatedImage (~> 1.0)
161
     - FLAnimatedImage (~> 1.0)
154
     - SDWebImage/Core
162
     - SDWebImage/Core
155
-  - yoga (0.57.8.React)
163
+  - yoga (0.59.1.React)
156
 
164
 
157
 DEPENDENCIES:
165
 DEPENDENCIES:
158
   - Amplitude-iOS (~> 4.0.4)
166
   - Amplitude-iOS (~> 4.0.4)
244
   Crashlytics: 07fb167b1694128c1c9a5a5cc319b0e9c3ca0933
252
   Crashlytics: 07fb167b1694128c1c9a5a5cc319b0e9c3ca0933
245
   DoubleConversion: bb338842f62ab1d708ceb63ec3d999f0f3d98ecd
253
   DoubleConversion: bb338842f62ab1d708ceb63ec3d999f0f3d98ecd
246
   Fabric: f988e33c97f08930a413e08123064d2e5f68d655
254
   Fabric: f988e33c97f08930a413e08123064d2e5f68d655
247
-  Firebase: 8bb9268bff82374f2cbaaabb143e725743c316ae
248
-  FirebaseAnalytics: c06f9d70577d79074214700a71fd5d39de5550fb
249
-  FirebaseAnalyticsInterop: e5f21be9af6548372e2f0815834ff909bff395a2
250
-  FirebaseCore: 35747502d9e8c6ee217385ad04446c7c2aaf9c5c
251
-  FirebaseDynamicLinks: c713da5f75c324f38fb2d57164bbc1c461aa6739
252
-  FirebaseInstanceID: e2fa4cb35ef5558c200f7f0ad8a53e212215f93e
255
+  Firebase: 02f3281965c075426141a0ce1277e9de6649cab9
256
+  FirebaseAnalytics: 23851fe602c872130a2c5c55040b302120346cc2
257
+  FirebaseAnalyticsInterop: efbe45c8385ec626e29f9525e5ebd38520dfb6c1
258
+  FirebaseCore: 52f851b30e11360f1e67cf04b1edfebf0a47a2d3
259
+  FirebaseDynamicLinks: f209c3caccd82102caa0e91d393e3ccc593501fd
260
+  FirebaseInstanceID: bd6fc5a258884e206fd5c474ebe4f5b00e21770e
253
   FLAnimatedImage: 4a0b56255d9b05f18b6dd7ee06871be5d3b89e31
261
   FLAnimatedImage: 4a0b56255d9b05f18b6dd7ee06871be5d3b89e31
254
-  Folly: c89ac2d5c6ab169cd7397ef27485c44f35f742c7
255
-  glog: e8acf0ebbf99759d3ff18c86c292a5898282dcde
256
-  GoogleAppMeasurement: 98b71f5e04142793729a5ef23e5b96651ff4b70f
262
+  Folly: de497beb10f102453a1afa9edbf8cf8a251890de
263
+  glog: aefd1eb5dda2ab95ba0938556f34b98e2da3a60d
264
+  GoogleAppMeasurement: 6cf307834da065863f9faf4c0de0a936d81dd832
257
   GoogleSignIn: 7ff245e1a7b26d379099d3243a562f5747e23d39
265
   GoogleSignIn: 7ff245e1a7b26d379099d3243a562f5747e23d39
258
   GoogleToolboxForMac: ff31605b7d66400dcec09bed5861689aebadda4d
266
   GoogleToolboxForMac: ff31605b7d66400dcec09bed5861689aebadda4d
259
-  GoogleUtilities: 111a012f4c3a29c9e7c954c082fafd6ee3c999c0
267
+  GoogleUtilities: 1e25823cbf46540b4284f6ef8e17b3a68ee12bbc
260
   GTMSessionFetcher: 32aeca0aa144acea523e1c8e053089dec2cb98ca
268
   GTMSessionFetcher: 32aeca0aa144acea523e1c8e053089dec2cb98ca
261
   nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
269
   nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
262
   ObjectiveDropboxOfficial: a5afefc83f6467c42c45f2253f583f2ad1ffc701
270
   ObjectiveDropboxOfficial: a5afefc83f6467c42c45f2253f583f2ad1ffc701
263
-  React: adbac0757ce35e92fbd447ab98c810209d27d9b0
271
+  React: 34a405ead72252839fdc4afc1f972a7ed984af84
264
   react-native-background-timer: 0d34748e53a972507c66963490c775321a88f6f2
272
   react-native-background-timer: 0d34748e53a972507c66963490c775321a88f6f2
265
   react-native-calendar-events: ee9573e355711ac679e071be70789542431f4ce3
273
   react-native-calendar-events: ee9573e355711ac679e071be70789542431f4ce3
266
   react-native-fast-image: 47487b71169aea34868e7b38bf870b6b3f2157c5
274
   react-native-fast-image: 47487b71169aea34868e7b38bf870b6b3f2157c5
269
   RNGoogleSignin: 361174d9a3090d295b06257162b560d8efc8a6ed
277
   RNGoogleSignin: 361174d9a3090d295b06257162b560d8efc8a6ed
270
   RNSound: 53d2fc9c6589bd68daba530262b7560393def3ac
278
   RNSound: 53d2fc9c6589bd68daba530262b7560393def3ac
271
   RNVectorIcons: d819334932bcda3332deb3d2c8ea4d069e0b98f9
279
   RNVectorIcons: d819334932bcda3332deb3d2c8ea4d069e0b98f9
272
-  SDWebImage: c5594f1a19c48d526d321e548902b56b479cd508
273
-  yoga: 74cdf036c30820443b25ade59916236b1e95ee93
280
+  SDWebImage: 3f3f0c02f09798048c47a5ed0a13f17b063572d8
281
+  yoga: 8fb47f180b19b0dadb285a09e4c74c8a41721d3a
274
 
282
 
275
 PODFILE CHECKSUM: b300161e95d65c24b91368803afb8873f4b873cc
283
 PODFILE CHECKSUM: b300161e95d65c24b91368803afb8873f4b873cc
276
 
284
 

+ 1
- 1
ios/sdk/sdk.xcodeproj/project.pbxproj 查看文件

373
 			);
373
 			);
374
 			runOnlyForDeploymentPostprocessing = 0;
374
 			runOnlyForDeploymentPostprocessing = 0;
375
 			shellPath = /bin/sh;
375
 			shellPath = /bin/sh;
376
-			shellScript = "if [[ \"$CONFIGURATION\" == *Debug* && ! \"$PLATFORM_NAME\" == *simulator ]]; then\n    IP=$(ipconfig getifaddr en0)\n    if [ -z \"$IP\" ]; then\n        IP=$(ifconfig | grep 'inet ' | grep -v ' 127.' | cut -d\\   -f2  | awk 'NR==1{print $1}')\n    fi\n    DEST=$CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH\n    echo \"$IP\" > \"$DEST/ip.txt\"\n    exit 0\nfi\nexport NODE_BINARY=node\n../../node_modules/react-native/scripts/react-native-xcode.sh\n";
376
+			shellScript = "export NODE_BINARY=node\n../../node_modules/react-native/scripts/react-native-xcode.sh\n";
377
 		};
377
 		};
378
 		26796D8589142D80C8AFDA51 /* [CP] Check Pods Manifest.lock */ = {
378
 		26796D8589142D80C8AFDA51 /* [CP] Check Pods Manifest.lock */ = {
379
 			isa = PBXShellScriptBuildPhase;
379
 			isa = PBXShellScriptBuildPhase;

+ 1
- 1
ios/sdk/src/RCTBridgeWrapper.m 查看文件

97
     NSString *host = [self guessPackagerHost];
97
     NSString *host = [self guessPackagerHost];
98
 
98
 
99
     if (host != nil) {
99
     if (host != nil) {
100
-        NSString *path = @"/index.ios.bundle";
100
+        NSString *path = @"/index.bundle";
101
         NSString *query = @"platform=ios&dev=true&minify=false";
101
         NSString *query = @"platform=ios&dev=true&minify=false";
102
         NSURLComponents *components
102
         NSURLComponents *components
103
             = [NSURLComponents componentsWithURL:serverRootWithHost(host)
103
             = [NSURLComponents componentsWithURL:serverRootWithHost(host)

+ 19
- 0
metro.config.js 查看文件

1
+/* eslint-disable */
2
+
3
+/**
4
+ * Metro configuration for React Native
5
+ * https://github.com/facebook/react-native
6
+ *
7
+ * @format
8
+ */
9
+
10
+module.exports = {
11
+  transformer: {
12
+    getTransformOptions: async () => ({
13
+      transform: {
14
+        experimentalImportSupport: false,
15
+        inlineRequires: false,
16
+      },
17
+    }),
18
+  },
19
+};

+ 600
- 289
package-lock.json
文件差異過大導致無法顯示
查看文件


+ 5
- 6
package.json 查看文件

49
     "jquery-i18next": "1.2.0",
49
     "jquery-i18next": "1.2.0",
50
     "js-md5": "0.6.1",
50
     "js-md5": "0.6.1",
51
     "js-utils": "github:jitsi/js-utils#73a67a7a60d52f8e895f50939c8fcbd1f20fe7b5",
51
     "js-utils": "github:jitsi/js-utils#73a67a7a60d52f8e895f50939c8fcbd1f20fe7b5",
52
-    "jsc-android": "224109.1.0",
53
     "jsrsasign": "8.0.12",
52
     "jsrsasign": "8.0.12",
54
     "jwt-decode": "2.2.0",
53
     "jwt-decode": "2.2.0",
55
     "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#74f48e168eec4c05fd8600812cc00e6e34e9ab90",
54
     "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#74f48e168eec4c05fd8600812cc00e6e34e9ab90",
58
     "moment": "2.19.4",
57
     "moment": "2.19.4",
59
     "moment-duration-format": "2.2.2",
58
     "moment-duration-format": "2.2.2",
60
     "postis": "2.2.0",
59
     "postis": "2.2.0",
61
-    "react": "16.6.3",
62
-    "react-dom": "16.6.3",
60
+    "react": "16.8.3",
61
+    "react-dom": "16.8.3",
63
     "react-emoji-render": "0.4.6",
62
     "react-emoji-render": "0.4.6",
64
     "react-i18next": "7.13.0",
63
     "react-i18next": "7.13.0",
65
     "react-linkify": "0.2.2",
64
     "react-linkify": "0.2.2",
66
-    "react-native": "0.57.8",
65
+    "react-native": "0.59.1",
67
     "react-native-background-timer": "2.1.1",
66
     "react-native-background-timer": "2.1.1",
68
     "react-native-calendar-events": "1.6.4",
67
     "react-native-calendar-events": "1.6.4",
69
     "react-native-callstats": "3.57.1",
68
     "react-native-callstats": "3.57.1",
76
     "react-native-sound": "github:jitsi/react-native-sound#e4260ed7f641eeb0377d76eac7987aba72e1cf08",
75
     "react-native-sound": "github:jitsi/react-native-sound#e4260ed7f641eeb0377d76eac7987aba72e1cf08",
77
     "react-native-swipeout": "2.3.6",
76
     "react-native-swipeout": "2.3.6",
78
     "react-native-vector-icons": "6.0.2",
77
     "react-native-vector-icons": "6.0.2",
79
-    "react-native-webrtc": "github:jitsi/react-native-webrtc#c1be0cb1c6e8a83dfd406e478082a5ff205a97ec",
78
+    "react-native-webrtc": "github:jitsi/react-native-webrtc#4ded2c299651472ff4569e412161e93826aa5bf3",
80
     "react-redux": "5.0.7",
79
     "react-redux": "5.0.7",
81
     "react-transition-group": "2.4.0",
80
     "react-transition-group": "2.4.0",
82
     "redux": "4.0.0",
81
     "redux": "4.0.0",
107
     "eslint-plugin-react": "7.11.1",
106
     "eslint-plugin-react": "7.11.1",
108
     "eslint-plugin-react-native": "3.3.0",
107
     "eslint-plugin-react-native": "3.3.0",
109
     "expose-loader": "0.7.5",
108
     "expose-loader": "0.7.5",
110
-    "flow-bin": "0.78.0",
109
+    "flow-bin": "0.92.0",
111
     "imports-loader": "0.7.1",
110
     "imports-loader": "0.7.1",
112
     "metro-react-native-babel-preset": "0.49.2",
111
     "metro-react-native-babel-preset": "0.49.2",
113
     "node-sass": "4.10.0",
112
     "node-sass": "4.10.0",

+ 1
- 1
react/features/welcome/components/WelcomePage.native.js 查看文件

113
                             <TextInput
113
                             <TextInput
114
                                 accessibilityLabel = { t(roomnameAccLabel) }
114
                                 accessibilityLabel = { t(roomnameAccLabel) }
115
                                 autoCapitalize = 'none'
115
                                 autoCapitalize = 'none'
116
-                                autoComplete = { false }
116
+                                autoComplete = 'off'
117
                                 autoCorrect = { false }
117
                                 autoCorrect = { false }
118
                                 autoFocus = { false }
118
                                 autoFocus = { false }
119
                                 onBlur = { this._onFieldBlur }
119
                                 onBlur = { this._onFieldBlur }

Loading…
取消
儲存