-
Notifications
You must be signed in to change notification settings - Fork 141
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
Android - Exception in HostObject::get(propName:ReactNativeBlobUtil) #34
Comments
Crash is most likely happening from here or its surroundings, as this is the only place the reported method is called on app startup: From the stack trace, it is impossible to tell which |
Which react-native version are you using? But the questions is, how can that fail. The dictionaries we try to access should exist by default for every app on andorid or ios. |
RN 0.62.2 I think the fail may be very rare, and it can be blamed on Android itself. Perhaps the crash itself is better than falling back to a default value, but at least a better message should be provided. |
I wrapped both now in methods. This should prevent the app from crashing. |
Version: 0.13.7
OS: Android 11 (Samsung Note 10+)
Possibly related to: #33
The following crash is happening randomly (seen from our reporting tool) on android while the app is in background, presumably right before getting killed:
Basically, this:
Looking at the breadcrumbs, it looks like the user opened the app, but it never entered in foreground mode. The app works fine with normal use, and all permissions are properly defined in manifest and whatsoever.
I'm also loading some folders from the config.js file (loaded pretty much right after app start) like this:
The text was updated successfully, but these errors were encountered: