React-native-fast-image: NullPointerException: Attempt to invoke virtual method ... in Nexus 5X (Android)

Created on 21 Oct 2019  路  4Comments  路  Source: DylanVann/react-native-fast-image

Describe the bug
I'm getting the following error from my crash analytics in Nexus 5X devices that installed my app:
https://sentry.io/share/issue/f99e6147b26842ada4e04ddd83c59a0b/

To Reproduce
I used fast images like the example in a Nexus 5X device to display images from WebServer but every time app crashes.

Expected behavior
Display images properly.

Dependency versions

  • React Native version: 0.61.2
  • React version: 16.8.1
  • React Native Fast Image version: 7.0.2
  • Device: Nexus 5X
  • OS: Android 6.0.1
bug

All 4 comments

any one fix it?

@hamidfzm Did you add these pro guard rules?

-keep public class com.dylanvann.fastimage.* {*;}
-keep public class com.dylanvann.fastimage.** {*;}
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.module.AppGlideModule
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
  **[] $VALUES;
  public *;
}

@philipheinser Yes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hawkup picture hawkup  路  3Comments

kmilodenisglez picture kmilodenisglez  路  3Comments

baba43 picture baba43  路  3Comments

Aligertor picture Aligertor  路  3Comments

StiffFy picture StiffFy  路  3Comments