I’m on my 6th attempt to deploy to the Amazon app store and I just can’t seem to wrap my brain around it.
Oddly enough, they accepted my very first submission, but I suppressed it because it had hard coded credentials. That’s a whole other story and not really relevant.
I have an Android only app and I’m utilizing IAP Badger in order to [seamlessly] target both GP and Amazon. Everything is good, code-wise, but I can’t get the build settings right. I’ve read a several posts and articles, but they are leading me in circles.
For example, here is a subset of my build.settings file. If I list the plug-ins like this while targeting Amazon in my build, then I get " Corona: Developer Error : <App> ** does not target the Google Play store, but includes Google Play Services. **
["plugin.firebaseInvites"] = { publisherId = "tech.scotth" }, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, ["plugin.OneSignal"] = { publisherId = "com.onesignal" }, ["plugin.appodeal"] = { publisherId = "com.coronalabs" }, ["plugin.amazon.iap"] = { publisherId = "com.coronalabs", supportedPlatforms = { ["android-kindle"]=true } },
If I modify the build settings like below, then Amazon rejects me with a series of Runtime Errors, one for each plugin (see the attached image)
["plugin.firebaseInvites"] = { publisherId = "tech.scotth", supportedPlatforms = { android=true } }, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["plugin.OneSignal"] = { publisherId = "com.onesignal", supportedPlatforms = { android=true } }, ["plugin.appodeal"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["plugin.amazon.iap"] = { publisherId = "com.coronalabs", supportedPlatforms = { ["android-kindle"]=true } },
Affected Device List
Non-Amazon Android
Kindle Fire HD 8.9 WAN (2012)
Kindle Fire HDX WAN (2013)
Kindle Fire HDX 8.9 WAN (2013)
Fire Phone
Fire HDX 8.9 WAN (2014)
BlackBerry Classic
BlackBerry Passport
BlackBerry P’9982
BlackBerry P’9983
BlackBerry Q10
BlackBerry Q5
BlackBerry Z10
BlackBerry Z3
BlackBerry Z30
BlackBerry Leap
I’ve tried different combinations, based off of some plugins not being compatible, but every submission gets the same result.
The only thing I haven’t tried is not letting Amazon sign the apk for me and I always say yes to Apply Amazon DRM?
I’m building for Amazon with a production keystore
Windows 10
Version: 3.0.0
Build: 2017.3155
Platform: KFJWI / x64 / 10.0 / Intel® HD Graphics 630 / 4.5.0 - Build 22.20.16.4749 / 2017.3155 / en_US |