An implementation for the Android platform of the Flutter `in_app_purchase` plugin

in_app_purchase_amazon

A new Flutter plugin project.

Getting Started

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    ...>
    ...
    <queries>
        <package android:name="com.amazon.venezia"/>
    </queries>
    ...
  • Add rules below in <project-root>\android\app\proguard-rules.pro

-keep class com.amazon.** {*;}
-keep class com.android.vending.billing.**
-dontwarn com.amazon.**
-keepattributes *Annotation*
adb push ancillary/amazon.sdktester.json /sdcard/
adb shell setprop debug.amazon.sandboxmode debug
  • To exit sandbox, type adb shell setprop debug.amazon.sandboxmode none

GitHub

View Github