React-native-fast-image: Application Force Close after convert to APK

Created on 15 Dec 2017  路  8Comments  路  Source: DylanVann/react-native-fast-image

I using this library, in debug mode it's normal. But after build to apk and install in android device, force close. Why is that ? Bug or why ?

Most helpful comment

trying to add these 2 lines to {project_root}/android/app/proguard-rules.pro

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

All 8 comments

+1

@DylanVann please help

Me too, I experienced same issue here

@DylanVan also experiencing this

same issue here

trying to add these 2 lines to {project_root}/android/app/proguard-rules.pro

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

@barghi Thanks for figuring this out, a note has been added to the README.

I don't use Proguard so I don't think I ever would have thought of this.

https://github.com/DylanVann/react-native-fast-image/blob/master/README.md#proguard

@DylanVann thanks for your great component 馃憤馃徎馃憤馃徎

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ryoid picture ryoid  路  3Comments

banphlet picture banphlet  路  3Comments

kkarmalkar picture kkarmalkar  路  4Comments

guihouchang picture guihouchang  路  4Comments

pehagg picture pehagg  路  3Comments