Skip to content

Commit

Permalink
chore: revert to stable quick crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
castdrian committed May 7, 2024
1 parent 07a64d1 commit 38e220c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
7 changes: 1 addition & 6 deletions apps/expo/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,7 @@ const defineConfig = (): ExpoConfig => ({
newArchEnabled: false,
minSdkVersion: 24,
packagingOptions: {
pickFirst: [
"lib/x86/libcrypto.so",
"lib/x86_64/libcrypto.so",
"lib/armeabi-v7a/libcrypto.so",
"lib/arm64-v8a/libcrypto.so",
],
pickFirst: ['**/libcrypto.so'],
},
},
},
Expand Down
3 changes: 3 additions & 0 deletions apps/expo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ import "expo-router/entry";
import "react-native-gesture-handler";
import "@react-native-anywhere/polyfill-base64";
import "text-encoding-polyfill";

// eslint-disable-next-line @typescript-eslint/no-unused-vars
import crypto from "react-native-quick-crypto";
7 changes: 5 additions & 2 deletions apps/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"lint": "eslint .",
"typecheck": "tsc --noEmit"
},
"overrides": {
"browserify-sign": "4.2.2"
},
"dependencies": {
"@expo/metro-config": "^0.17.3",
"@movie-web/api": "workspace:*",
Expand Down Expand Up @@ -71,7 +74,7 @@
"react-native-mmkv": "^2.12.2",
"react-native-modal": "^13.0.1",
"react-native-quick-base64": "^2.1.2",
"react-native-quick-crypto": "https://github.com/margelo/react-native-quick-crypto",
"react-native-quick-crypto": "^0.6.1",
"react-native-reanimated": "~3.6.2",
"react-native-safe-area-context": "~4.8.2",
"react-native-screens": "~3.29.0",
Expand Down Expand Up @@ -108,4 +111,4 @@
]
},
"prettier": "@movie-web/prettier-config"
}
}
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit 38e220c

Please sign in to comment.