Published android app crashes

I publish my app as android app bundle (aab) through the play store.
On one of my own devices the app crashes on startup 9/10 times.
So sometimes it does work completely. But most of the times it just crashes almost immediately (I can see the splash screen).
While developing on the expo client everything just works fine.

How can I find out what’s going wrong? I added Sentry error logging, but no error is logged.
I wanted to add Fabric, but you can’t create a new Fabric account anymore since it’s now on Firebase.

Using expo 36.0.2.

EDIT: I just found out I can actually check the error on the device sometimes. This is the error (but the property seems to be different most of the times):
Expo encountered a fatal error: Error while updating property ‘collapsable’ in shadow node of type: RCTView.

Hi. It looks like this can be caused by a number of different things :-/

e.g. there are a bunch of “I fixed this like so” messages towards the bottom of this issue:

https://github.com/facebook/react-native/issues/21002

This StackOverflow answer says it’s expecting an int and getting a string somewhere instead, but I’m not sure how they came to that conclusion.

Anyway I hope my comment is not entirely useless to you :slight_smile:

I just found out it’s an expo issue with dark mode on my phone

https://github.com/expo/expo/issues/6523

1 Like

I got the same errors as well. MyPrepaidCenter Balance

Do you have any idea how to solve it?

Did you try this?

This dark mode issue has been fixed. See the comment below:

https://github.com/expo/expo/pull/6825#issuecomment-579016559