React-native-fast-image: App Crash

Created on 9 Feb 2019  路  6Comments  路  Source: DylanVann/react-native-fast-image

Most helpful comment

@jacquesdev & @NareshNama
I was experiencing the same issue.

I went to android/app/proguard-rules.pro and added the code below. It happens that app is unable to find GlideModule

Unable to find GlideModule implementation

-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 *;
}

After I added the above code, app is working just fine in release mode. Hope it helps you too guys.

All 6 comments

app crash on real devices both (iOS & android ) please help

@NareshNama are you experiencing this in release mode or in debug mode (or both)

I am experiencing this in release mode

@jacquesdev & @NareshNama
I was experiencing the same issue.

I went to android/app/proguard-rules.pro and added the code below. It happens that app is unable to find GlideModule

Unable to find GlideModule implementation

-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 *;
}

After I added the above code, app is working just fine in release mode. Hope it helps you too guys.

thanks @PatrickPhadi, it works!
but should be

-keep public class com.dylanvann.fastimage.* {*;}
-keep public class com.dylanvann.fastimage.** {*;}
...

thanks its worked

Was this page helpful?
0 / 5 - 0 ratings