build for Amazon store - retain com.android.vending.CHECK_LICENSE ok or no?

my “primary” build was for Google Play, and includes licensing and the com.android.vending.CHECK_LICENSE permission in build.settings.

if I now intend to create a build for Amazon, am I ok leaving that permission in, or should it be removed?  i guess the question boils down to:  would it cause any problems if left in?

i already have the actual license-checking code conditional upon system.getInfo(“targetAppStore”) since it only applies to google.

while it would seem “simple enough” to remove/comment-out the unneeded permission, it further complicates my (already complicated) build process by requiring yet another customized build.settings (i already have 2).

so purely for ease of any future maintenance am wondering if i can just ignore that extra/unneeded permission and leave it in, or if Amazon is going to flag it as something unsupported or whatever.


and just a quick survey:  is it expected (or not) to create a build *specifically* for Amazon?  that is, is it expected that an apk for google play will be publishable *as is* on amazon?  and if so, any limitations?  that is, under what conditions might that single google apk *not* be valid for amazon?  (my app doesn’t use ads or google play services, but assuming appropriate run-time ad-switching logic were in place based on app store, q is: any *other* such run-time switching that might be necessary?)  thanks!

posted a highly related question here - if you’ve happened to solve/understand would be keen to get your comments on this post:

http://forums.coronalabs.com/topic/43481-amazon-google-play-deployment-what-is-pseudo-code-for-license-checking/

posted a highly related question here - if you’ve happened to solve/understand would be keen to get your comments on this post:

http://forums.coronalabs.com/topic/43481-amazon-google-play-deployment-what-is-pseudo-code-for-license-checking/

“under what conditions might that single google apk *not* be valid for amazon?”

Answer:  When your app fails after downloading it from the Amazon store and gives you an error message like this:" java.lang.SecurityException:Neither user 10044 nor current process has com.android.vending.CHECK_LICENSE."

I get two stories on the corona forums: 1)  You don’t have to do much to your APK file when submitting to different stores “you don’t need to do anything different to prepare your app for release on Kindle, but you should note the following Kindle specifications and design your app content accordingly.” from Corona Docs.   2)  To make your app work, do this - remove com.android.vending.CHECK_LICENSE from the build settings.  I tried this but no luck…

From:http://forums.coronalabs.com/topic/35647-quick-tip-for-google-licensing-android-permissions-and-the-other-android-stores. 

com.android.vending.CHECK_LICENSE is needed for various Google Play services like License verification.  Some other services require licensing.  Nothing on Amazon should require it and you probably should turn off any Google Play licensing based features before uploading to Amazon.  They have their own DRM they apply to apps.

“under what conditions might that single google apk *not* be valid for amazon?”

Answer:  When your app fails after downloading it from the Amazon store and gives you an error message like this:" java.lang.SecurityException:Neither user 10044 nor current process has com.android.vending.CHECK_LICENSE."

I get two stories on the corona forums: 1)  You don’t have to do much to your APK file when submitting to different stores “you don’t need to do anything different to prepare your app for release on Kindle, but you should note the following Kindle specifications and design your app content accordingly.” from Corona Docs.   2)  To make your app work, do this - remove com.android.vending.CHECK_LICENSE from the build settings.  I tried this but no luck…

From:http://forums.coronalabs.com/topic/35647-quick-tip-for-google-licensing-android-permissions-and-the-other-android-stores. 

com.android.vending.CHECK_LICENSE is needed for various Google Play services like License verification.  Some other services require licensing.  Nothing on Amazon should require it and you probably should turn off any Google Play licensing based features before uploading to Amazon.  They have their own DRM they apply to apps.