瀏覽代碼

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
 }
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
 ### Build and use your own SDK artifacts/binaries
36
 ### Build and use your own SDK artifacts/binaries
50
 
37
 
51
 <details>
38
 <details>

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

22
         targetSdkVersion rootProject.ext.targetSdkVersion
22
         targetSdkVersion rootProject.ext.targetSdkVersion
23
 
23
 
24
         ndk {
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
     - SDWebImage/GIF
97
     - SDWebImage/GIF
98
   - react-native-keep-awake (4.0.0):
98
   - react-native-keep-awake (4.0.0):
99
     - React
99
     - React
100
-  - react-native-webrtc (1.67.1):
100
+  - react-native-webrtc (1.69.0):
101
     - React
101
     - React
102
   - React/Core (0.59.1):
102
   - React/Core (0.59.1):
103
     - yoga (= 0.59.1.React)
103
     - yoga (= 0.59.1.React)
273
   react-native-calendar-events: ee9573e355711ac679e071be70789542431f4ce3
273
   react-native-calendar-events: ee9573e355711ac679e071be70789542431f4ce3
274
   react-native-fast-image: 47487b71169aea34868e7b38bf870b6b3f2157c5
274
   react-native-fast-image: 47487b71169aea34868e7b38bf870b6b3f2157c5
275
   react-native-keep-awake: eba3137546b10003361b37c761f6c429b59814ae
275
   react-native-keep-awake: eba3137546b10003361b37c761f6c429b59814ae
276
-  react-native-webrtc: 7152e789c1efefb695fe1166bd9432eff2afd8ac
276
+  react-native-webrtc: a14197fefe96ab462dc098b79c428fc5a7f68216
277
   RNGoogleSignin: 361174d9a3090d295b06257162b560d8efc8a6ed
277
   RNGoogleSignin: 361174d9a3090d295b06257162b560d8efc8a6ed
278
   RNSound: 53d2fc9c6589bd68daba530262b7560393def3ac
278
   RNSound: 53d2fc9c6589bd68daba530262b7560393def3ac
279
   RNVectorIcons: d819334932bcda3332deb3d2c8ea4d069e0b98f9
279
   RNVectorIcons: d819334932bcda3332deb3d2c8ea4d069e0b98f9

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

11952
       }
11952
       }
11953
     },
11953
     },
11954
     "react-native-webrtc": {
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
       "requires": {
11957
       "requires": {
11958
         "base64-js": "^1.1.2",
11958
         "base64-js": "^1.1.2",
11959
         "event-target-shim": "^1.0.5",
11959
         "event-target-shim": "^1.0.5",

+ 1
- 1
package.json 查看文件

75
     "react-native-sound": "github:jitsi/react-native-sound#e4260ed7f641eeb0377d76eac7987aba72e1cf08",
75
     "react-native-sound": "github:jitsi/react-native-sound#e4260ed7f641eeb0377d76eac7987aba72e1cf08",
76
     "react-native-swipeout": "2.3.6",
76
     "react-native-swipeout": "2.3.6",
77
     "react-native-vector-icons": "6.0.2",
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
     "react-redux": "5.0.7",
79
     "react-redux": "5.0.7",
80
     "react-transition-group": "2.4.0",
80
     "react-transition-group": "2.4.0",
81
     "redux": "4.0.0",
81
     "redux": "4.0.0",

Loading…
取消
儲存