App Crash on Production (SDK 44)

Please provide the following:

  1. SDK Version: 44
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

My app work fine on Dev, but crash on production. When I see adb logcat, the culprit seems to be react-native-reanimated library:

Run on .apk

03-29 10:24:19.049 3501 3577 I TABE.CrashHandler: Exception Info{Name=‘Sunnah Keseharian’, Pkg=‘com.fuwafuwa.sunnahkeseharian’, EType=‘crash’, ProcessType=‘data_app’, EClassName=‘java.lang.NullPointerException’, EMessage=‘Attempt to invoke interface method ‘boolean versioned.host.exp.exponent.modules.api.reanimated.layoutReanimation.NativeMethodsHolder.isLayoutAnimationEnabled()’ on a null object reference’, IsFG=1, TimeStamp=‘2022-03-29 11:24:19’, Version=‘1.4.0’, Installer=‘org.mozilla.firefox’, LastUpdate=2022-03-29 11:10, Abi=‘arm64-v8a’} isApp=true

Run on Expo Go with expo start --no-dev --minify

03-29 10:48:10.419 3501 3577 I TABE.CrashHandler: Exception Info{Name=‘Expo Go’, Pkg=‘host.exp.exponent’, EType=‘crash’, ProcessType=‘data_app’, EClassName=‘java.lang.NullPointerException’, EMessage=‘Attempt to invoke interface method ‘boolean abi44_0_0.host.exp.exponent.modules.api.reanimated.layoutReanimation.NativeMethodsHolder.isLayoutAnimationEnabled()’ on a null object reference’, IsFG=1, TimeStamp=‘2022-03-29 11:48:10’, Version=‘2.23.2’, Installer=‘com.android.vending’, LastUpdate=2022-03-28 21:00, Abi=‘arm64-v8a’} isApp=true

I’ve downgraded react-native-reanimated library to 2.2.4 as suggestion on stackoverflow, but the same error still there.

Dependencies:

"@react-native-async-storage/async-storage": "~1.15.0",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/bottom-tabs": "^6.2.0",
"@react-navigation/material-top-tabs": "^6.1.1",
"@react-navigation/native": "^6.0.8",
"@react-navigation/stack": "^6.1.1",
"@umalqura/core": "^0.0.7",
"adhan": "^4.3.1",
"axios": "^0.26.0",
"dayjs": "^1.10.7",
"expo": "^44.0.0",
"expo-app-loading": "~1.3.0",
"expo-asset": "~8.4.6",
"expo-av": "~10.2.0",
"expo-keep-awake": "~10.0.1",
"expo-linear-gradient": "~11.0.3",
"expo-location": "~14.0.1",
"expo-mail-composer": "~11.1.0",
"expo-notifications": "~0.14.0",
"expo-sqlite": "~10.1.0",
"expo-sqlite-orm": "^1.5.6",
"expo-status-bar": "~1.2.0",
"expo-store-review": "~5.1.0",
"expo-updates": "~0.11.6",
"expo-web-browser": "~10.1.0",
"html-entities": "^2.3.2",
"i18n-js": "^3.8.0",
"moment": "^2.29.1",
"punycode": "^2.1.1",
"react": "17.0.1",
"react-lifecycles-compat": "^3.0.4",
"react-native": "0.64.3",
"react-native-calendar-strip": "^2.2.5",
"react-native-elements": "^3.4.2",
"react-native-gesture-handler": "~2.1.0",
"react-native-markdown-display": "^7.0.0-alpha.2",
"react-native-pager-view": "5.4.9",
"react-native-popover-tooltip": "^1.1.4",
"react-native-reanimated": "~2.2.4",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.10.1",
"react-native-svg": "12.1.1",
"react-native-tab-view": "^3.1.1",
"react-native-typography": "^1.4.1",
"react-native-webview": "11.15.0",
"react-native-youtube-iframe": "^2.2.2",
"victory-native": "^36.3.0"

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.