-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skottie causing crashes on Android release build only on Expo SDK 51 #52
Comments
Hi everyone, I am also experiencing the same issue with react-native-skottie on Android in release mode. I started a new project with the latest Expo SDK 51, and my app crashes at launch with the error below in logcat, but without any specific trace pointing to skottie.
After removing skottie usage, the issue was resolved. Here are my configurations for reference: Proguard Rules
package.json
|
any solution? |
Same issue for me, see Shopify/react-native-skia#2430 (comment) Will be moving to lottie-react-native as this breaking production right now. Let me know if you want any other types of logs or tests. |
We've recently upgrade expo SDK 51 and didn't realise this as it only happened in release build. However, the crash are rather hard to pin-point because the only trace in sentry/crashlytics is
[TypeError: undefined is not a function]
. It doesn't show at which line and which function, and doesn't point that to skottie at all.At first I thought it was reanimated issue, then I suspect it to be Skia. Anything that have the
Canvas
will crash the app instantly. Not until I found this issue..After replacing all skotie instance with rn-lottie, the issue gone away.
I will try to create a repro tomorrow, if that's needed.
The text was updated successfully, but these errors were encountered: