fix: react-native crypto on android

This commit is contained in:
Jorrin
2024-02-11 19:40:20 +01:00
parent c52c3309fe
commit 2dd7eb49bb
3 changed files with 29 additions and 0 deletions

View File

@@ -49,6 +49,21 @@ const defineConfig = (): ExpoConfig => ({
initialOrientation: "DEFAULT",
},
],
[
"expo-build-properties",
{
android: {
packagingOptions: {
pickFirst: [
"lib/x86/libcrypto.so",
"lib/x86_64/libcrypto.so",
"lib/armeabi-v7a/libcrypto.so",
"lib/arm64-v8a/libcrypto.so",
],
},
},
},
],
],
});