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",
],
},
},
},
],
],
});

View File

@@ -26,6 +26,7 @@
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"expo": "~50.0.5",
"expo-build-properties": "~0.11.1",
"expo-constants": "~15.4.5",
"expo-linking": "~6.2.2",
"expo-router": "~3.4.6",