Skip to content

Commit

Permalink
Add a pro guard section
Browse files Browse the repository at this point in the history
This is what worked for me, not sure if you want to add more details
  • Loading branch information
edgartrem committed Dec 5, 2018
1 parent 0e74e68 commit 8ba7fd2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -394,6 +394,18 @@ class _MyAppState extends State<MyApp> {
}
```

## ProGuard
If you have eneabled proguard you will need to add the following rules to your `proguard-rules.pro`

```
#In app Purchase
-keep class com.amazon.** {*;}
-keep class com.dooboolab.** { *; }
-keep class com.android.vending.billing.**
-dontwarn com.amazon.**
-keepattributes *Annotation*
```

## Q & A

#### Can I buy product right away skipping fetching products if I already know productId?
Expand Down

0 comments on commit 8ba7fd2

Please sign in to comment.