Add note about Proguard.

This commit is contained in:
Dylan Vann 2018-04-26 22:58:05 -04:00 committed by GitHub
parent d2b5457bae
commit f31e8d6a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -66,6 +66,13 @@ const YourImage = () =>
/>
```
If you use Proguard you will need to add these lines to `android/app/proguard-rules.pro`:
```
-keep public class com.dylanvann.fastimage.* {*;}
-keep public class com.dylanvann.fastimage.** {*;}
```
## Other Linking Methods
- [Manual](docs/installation-manual.md) (might be needed if something went wrong with `react-native link`)