fix: exclude reanimated/worklets native build, disable New Architecture
Release APK / build (push) Has been cancelled
Release APK / build (push) Has been cancelled
react-native.config.js excludes react-native-reanimated and react-native-worklets from Android native linking — neither is used in the app and react-native-gesture-handler has a dedicated noreanimated codepath for exactly this case. build-apk.sh step 4.6 forces newArchEnabled=false in gradle.properties after expo prebuild, as a fallback for New Architecture init issues on Android 15. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// Exclude native build for packages not used in this project.
|
||||
// react-native-gesture-handler detects their absence and falls back to its
|
||||
// noreanimated codepath, so GestureHandlerRootView continues to work.
|
||||
module.exports = {
|
||||
dependencies: {
|
||||
'react-native-reanimated': {
|
||||
platforms: { android: null },
|
||||
},
|
||||
'react-native-worklets': {
|
||||
platforms: { android: null },
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user