Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Oct 4, 2018
2 parents f3c5a15 + 505c774 commit 1a8a714
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions KINDLE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Amazon Kindle Fire In-App Purchases Guide

The plugin will automatically detect Amazon Kindle devices during runtime.

## Testing In-App Purchases

To test your purchases, you do not need to create an Amazon developer account.

Install the Amazon App Tester (AAT) :
[Amazon App Tester](https://www.amazon.com/Amazon-App-Tester/dp/B00BN3YZM2)

You need to create an amazon.sdktester.json file.

Example : [amazon.sdktester.json](https://github.com/dooboolab/flutter_inapp_purchase/blob/master/ancillary/amazon.sdktester.json)
Edit this to add your own Product Ids.

Put this file into the kindle sdcard with :

adb push amazon.sdktester.json /sdcard/

You can verify if the file is valid in the AAT and view the purchases.

Now, when you make a purchase the AAT will intercept, show the purchases screen and allow you to make a purchase. Your app will think a real purchase has been made and you can test the full purchase flow.

## Testing Live Purchases
Add your apk into the "Live App Testing" tab. Add your IAP into the "In-App Items" tab. You must fill in your bank details first and submit your IAP so that the status is "live".
Now your testers will be sent a link to the test version of your app. They can make purchases at no cost to test your app.

## Submitting to the Amazon store
Amazon developer accounts are free. I found the Amazon store the easiest to submit to (compared with Googles play & Apple store). Required screenshots are the same size as a Nexus 7 so that is what I used.

I found the staff who checked my app very helpful (such as providing logcat output on request for example). Text is the same as other stores, except there is an additional up-to 10 bullet point summary of your app you can add.

When you submit your app to the store there will be a warning that google billing is detected in your code. When you submit your app for approval you can mention in the testing instructions for the Amazon reviewer that you are using a cross-platform tool and the google IAP code is not used. I dont know if this is necessary but my app was approved anyway.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ For help on adding as a dependency, view the [documentation](https://flutter.io/

## Configuring in app purchase
- Please refer to [Blog](https://medium.com/@dooboolab/react-native-in-app-purchase-121622d26b67).
- [Amazon Kindle Fire](KINDLE.md)


## Usage Guide
Expand Down

0 comments on commit 1a8a714

Please sign in to comment.