-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 Preload Crash #165
Comments
getCurrentActivity() returns null on that case. I guess for now (and since preloading is probably not a life / death matter) we can just null check the return value of it. |
Until @DylanVann accepts (or not) my PR, you can use a fork I pushed to npm: https://www.npmjs.com/package/kh-react-native-fast-image |
Checking for null activity has been merged, thank you @Kouznetsov For future reference this seems to happen when a preload is called from JS, and then the native activity becomes null. In this case we just do not perform the preloading. |
I'm still getting
This is how I call FastImage
What exactly means "this seems to happen when a preload is called from JS"?
|
@rochapablo I am also getting this on some devices. Specifically saw this coming from Nexus 5X. Any help? |
Still nothing. |
Getting this issue too: RN-Version: 0.60.4 Device Operating System
|
Also getting this with Nexus 5X |
Hi,
Some android users are experiencing crashes when trying to preload android.
here's the stacktrace from Fabric
This is not happening for all users or all devices.
And doesn't seems to be the memory issue
Any idea how to go about fixing this?
The text was updated successfully, but these errors were encountered: