mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 12:23:24 +00:00
fix: react-native crypto on android
This commit is contained in:
@@ -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",
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
});
|
||||
|
||||
|
@@ -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",
|
||||
|
13
pnpm-lock.yaml
generated
13
pnpm-lock.yaml
generated
@@ -55,6 +55,9 @@ importers:
|
||||
expo:
|
||||
specifier: ~50.0.5
|
||||
version: 50.0.5(@babel/core@7.23.9)(@react-native/babel-preset@0.73.20)
|
||||
expo-build-properties:
|
||||
specifier: ~0.11.1
|
||||
version: 0.11.1(expo@50.0.5)
|
||||
expo-constants:
|
||||
specifier: ~15.4.5
|
||||
version: 15.4.5(expo@50.0.5)
|
||||
@@ -5491,6 +5494,16 @@ packages:
|
||||
- supports-color
|
||||
dev: false
|
||||
|
||||
/expo-build-properties@0.11.1(expo@50.0.5):
|
||||
resolution: {integrity: sha512-m4j4aEjFaDuBE6KWYMxDhWgLzzSmpE7uHKAwtvXyNmRK+6JKF0gjiXi0sXgI5ngNppDQpsyPFMvqG7uQpRuCuw==}
|
||||
peerDependencies:
|
||||
expo: '*'
|
||||
dependencies:
|
||||
ajv: 8.12.0
|
||||
expo: 50.0.5(@babel/core@7.23.9)(@react-native/babel-preset@0.73.20)
|
||||
semver: 7.5.4
|
||||
dev: false
|
||||
|
||||
/expo-constants@15.4.5(expo@50.0.5):
|
||||
resolution: {integrity: sha512-1pVVjwk733hbbIjtQcvUFCme540v4gFemdNlaxM2UXKbfRCOh2hzgKN5joHMOysoXQe736TTUrRj7UaZI5Yyhg==}
|
||||
peerDependencies:
|
||||
|
Reference in New Issue
Block a user