android: enable 64bit builds

This commit is contained in:
Saúl Ibarra Corretgé 2019-03-15 15:10:29 +01:00
parent c025c7e132
commit 2c592f61c3
5 changed files with 6 additions and 29 deletions

View File

@ -33,19 +33,6 @@ dependencies {
}
```
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).
```gradle
android {
...
defaultConfig {
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
...
```
### Build and use your own SDK artifacts/binaries
<details>

View File

@ -22,17 +22,7 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion
ndk {
abiFilters 'armeabi-v7a', 'x86'
}
packagingOptions {
// The project react-native does not provide 64-bit binaries at the
// time of this writing. Unfortunately, packaging any 64-bit
// binaries into the .apk will crash the app at runtime on 64-bit
// platforms.
exclude '/lib/mips64/**'
exclude '/lib/arm64-v8a/**'
exclude '/lib/x86_64/**'
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
}
}

View File

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

4
package-lock.json generated
View File

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

View File

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