浏览代码

android: enable 64bit builds

master
Saúl Ibarra Corretgé 6 年前
父节点
当前提交
2c592f61c3
共有 5 个文件被更改,包括 6 次插入29 次删除
  1. 0
    13
      android/README.md
  2. 1
    11
      android/app/build.gradle
  3. 2
    2
      ios/Podfile.lock
  4. 2
    2
      package-lock.json
  5. 1
    1
      package.json

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

@@ -33,19 +33,6 @@ dependencies {
33 33
 }
34 34
 ```
35 35
 
36
-Also, enable 32bit mode for react-native, since the react-native version we currently depend on only supports 32bit apps. (If you have a 64bit device, it will not run unless this setting it set).
37
-
38
-```gradle
39
-android {
40
-    ...
41
-    defaultConfig {
42
-        ndk {
43
-            abiFilters "armeabi-v7a", "x86"
44
-        }
45
-    }
46
-    ...
47
-```
48
-
49 36
 ### Build and use your own SDK artifacts/binaries
50 37
 
51 38
 <details>

+ 1
- 11
android/app/build.gradle 查看文件

@@ -22,17 +22,7 @@ android {
22 22
         targetSdkVersion rootProject.ext.targetSdkVersion
23 23
 
24 24
         ndk {
25
-            abiFilters 'armeabi-v7a', 'x86'
26
-        }
27
-
28
-        packagingOptions {
29
-            // The project react-native does not provide 64-bit binaries at the
30
-            // time of this writing. Unfortunately, packaging any 64-bit
31
-            // binaries into the .apk will crash the app at runtime on 64-bit
32
-            // platforms.
33
-            exclude '/lib/mips64/**'
34
-            exclude '/lib/arm64-v8a/**'
35
-            exclude '/lib/x86_64/**'
25
+            abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
36 26
         }
37 27
     }
38 28
 

+ 2
- 2
ios/Podfile.lock 查看文件

@@ -97,7 +97,7 @@ PODS:
97 97
     - SDWebImage/GIF
98 98
   - react-native-keep-awake (4.0.0):
99 99
     - React
100
-  - react-native-webrtc (1.67.1):
100
+  - react-native-webrtc (1.69.0):
101 101
     - React
102 102
   - React/Core (0.59.1):
103 103
     - yoga (= 0.59.1.React)
@@ -273,7 +273,7 @@ SPEC CHECKSUMS:
273 273
   react-native-calendar-events: ee9573e355711ac679e071be70789542431f4ce3
274 274
   react-native-fast-image: 47487b71169aea34868e7b38bf870b6b3f2157c5
275 275
   react-native-keep-awake: eba3137546b10003361b37c761f6c429b59814ae
276
-  react-native-webrtc: 7152e789c1efefb695fe1166bd9432eff2afd8ac
276
+  react-native-webrtc: a14197fefe96ab462dc098b79c428fc5a7f68216
277 277
   RNGoogleSignin: 361174d9a3090d295b06257162b560d8efc8a6ed
278 278
   RNSound: 53d2fc9c6589bd68daba530262b7560393def3ac
279 279
   RNVectorIcons: d819334932bcda3332deb3d2c8ea4d069e0b98f9

+ 2
- 2
package-lock.json 查看文件

@@ -11952,8 +11952,8 @@
11952 11952
       }
11953 11953
     },
11954 11954
     "react-native-webrtc": {
11955
-      "version": "github:jitsi/react-native-webrtc#4ded2c299651472ff4569e412161e93826aa5bf3",
11956
-      "from": "github:jitsi/react-native-webrtc#4ded2c299651472ff4569e412161e93826aa5bf3",
11955
+      "version": "github:jitsi/react-native-webrtc#032ee5c90e2c5ff27ab2f952217104772fcbd155",
11956
+      "from": "github:jitsi/react-native-webrtc#032ee5c90e2c5ff27ab2f952217104772fcbd155",
11957 11957
       "requires": {
11958 11958
         "base64-js": "^1.1.2",
11959 11959
         "event-target-shim": "^1.0.5",

+ 1
- 1
package.json 查看文件

@@ -75,7 +75,7 @@
75 75
     "react-native-sound": "github:jitsi/react-native-sound#e4260ed7f641eeb0377d76eac7987aba72e1cf08",
76 76
     "react-native-swipeout": "2.3.6",
77 77
     "react-native-vector-icons": "6.0.2",
78
-    "react-native-webrtc": "github:jitsi/react-native-webrtc#4ded2c299651472ff4569e412161e93826aa5bf3",
78
+    "react-native-webrtc": "github:jitsi/react-native-webrtc#032ee5c90e2c5ff27ab2f952217104772fcbd155",
79 79
     "react-redux": "5.0.7",
80 80
     "react-transition-group": "2.4.0",
81 81
     "redux": "4.0.0",

正在加载...
取消
保存