question

Philip Belgrave-Herbert avatar image
Philip Belgrave-Herbert asked

Do you need androids internet permission when using In-App Purchasing?

To effectively implement the In-App Purchasing in live app, do I NEED to include androids internet permission as shown below?
iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

DougM@Amazon avatar image
DougM@Amazon answered
Hello Philip, Thank you for asking, as it appears this isn't covered in our In-App Purchasing implementation guide. We'll make sure to forward that feedback to the appropriate internal team for consideration. The answer for this would be yes. If you do not include the android.permission.INTERNET permission, your app will crash with a security exception when you attempt to use the In-App Purchasing SDK in your app.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ZigZag, Inc. avatar image
ZigZag, Inc. answered
Is this new to 2.0? We have several apps that use IAP 1 and do not have INTERNET permission yet work fine. Doesn't IAP rely on the Amazon AppStore app to do all the Internet communication? If so, then android.permission.INTERNET is not required.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Levon@Amazon avatar image
Levon@Amazon answered
Hi ZigZag, You are right. Technically, you don't need it for IAP alone, however most modern apps need that permission to access the internet for various other functionality (third party analytics, ads, fetching instructions, news, etc). On a related note, if the concern is only about displaying that extra permission to the end user when installing the app, then developers should not worry about it. The INTERNET permission is so essential and basic that it is granted by default and won't even be shown to the end user in the list of primary permissions for the app (I believe this change has been in place since Android Ice Cream Sandwich).
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.