Skip to content

Commit

Permalink
Fix some build problems on expo-image
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunnini committed Feb 5, 2024
1 parent 4057fa3 commit 098d16d
Show file tree
Hide file tree
Showing 6 changed files with 926 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/mobile/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ buildscript {
compileSdkVersion = 34
targetSdkVersion = 34

kotlinVersion = "1.8.10"

// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"buffer": "^6.0.3",
"color": "^4.2.3",
"delay": "^6.0.0",
"expo": "^49.0.21",
"expo": "^49.0.22",
"expo-apple-authentication": "^6.3.0",
"expo-clipboard": "^4.8.0",
"expo-crypto": "^12.8.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/mobile/scripts/postinstall/exec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ cp ${DIR}/ledger/BleTransport.js ${DIR}/../../node_modules/@ledgerhq/react-nativ
cp ${DIR}/restart-fix/JSCRuntime.cpp ${DIR}/../../node_modules/react-native/ReactCommon/jsc/JSCRuntime.cpp

cp ${DIR}/wc/index.js ${DIR}/../../node_modules/@walletconnect/react-native-compat/index.js

cp ${DIR}/expo-image/ExpoImageViewWrapper.kt ${DIR}/../../node_modules/expo-image/android/src/main/java/expo/modules/image/ExpoImageViewWrapper.kt
cp ${DIR}/expo-image/ImageViewWrapperTarget.kt ${DIR}/../../node_modules/expo-image/android/src/main/java/expo/modules/image/ImageViewWrapperTarget.kt
Loading

0 comments on commit 098d16d

Please sign in to comment.