Developer Error when launching app targeted to Amazon

@amandaelinn

I’m in the process of fixing this. I’ll notify you on this thread once it’s done.

@amandaelinn

The issue should be fixed now.

Also, you can remove supportedPlatforms from the plugin definition completely. However if you still prefer to include it, you must add [“android-kindle”] = true for Amazon builds.

It’s fixed, thanks!  :slight_smile:

I just updated my simulator to version 2017.3068 and this problem came back…

I tried to remove OneSignal, in case it was their plugin to blame again, but it still showed me this developer error…

Can you take a look why this is happening again?

Here is my updated plugin list:

plugins = {     ["plugin.facebook.v4"] =     {         publisherId = "com.coronalabs",     },     ["plugin.google.iap.v3"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { android=true }     },     ["plugin.amazon.iap"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { ["android-kindle"]=true },     },     ["plugin.flurry.analytics"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { iphone=true, android=true }     },     ["plugin.gameanalytics\_v2"] =     {         publisherId = "com.gameanalytics",         supportedPlatforms = { iphone=true, android=true }     },     ["plugin.kochava"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { iphone=true, android=true }     },     ["plugin.googleAnalytics"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { iphone=true, android=true }     },     ["plugin.openssl"] =     {         publisherId = "com.coronalabs"     },     ["plugin.advertisingId"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { iphone=true, android=true }     },     ["plugin.OneSignal"] =     {         publisherId = "com.onesignal",     },     ["plugin.notifications"] =     {         publisherId = "com.coronalabs",     },     ["plugin.pasteboard"] =     {         publisherId = "com.coronalabs",     },     ["plugin.utf8"] =     {         publisherId = "com.coronalabs",     },     ["plugin.iCloud"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { iphone=true },     },     ["CoronaProvider.native.popup.social"] =     {         publisherId = "com.coronalabs",     },     ["CoronaProvider.native.popup.activity"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { iphone=true }     },     ["plugin.pollfish"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { iphone=true, android=true }     },     ["plugin.chartboost"] =     {         publisherId = "com.coronalabs",     },     ["plugin.applovin"] =     {         publisherId = "com.coronalabs",     },     ["CoronaProvider.ads.vungle"] =     {         publisherId = "com.vungle",         supportedPlatforms = { iphone=true, android=true }     },     ["plugin.adbuddiz"] =     {         publisherId = "com.adbuddiz",         supportedPlatforms = { iphone=true, android=true }     },     ["plugin.supersonic"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { iphone=true, android=true }     },     ["plugin.fbAudienceNetwork"] =     {         publisherId = "com.coronalabs",         supportedPlatforms = { iphone=true, android=true }     }, },

(I also tried to remove Chartboost and AppLovin, but that didn’t do the trick either)

Thanks

Try adding supportedPlatforms = { iphone=true, android=true } to plugin.notifications

That plugin uses Google Cloud Messaging.

but what about my local notifications? I won’t be able to schedule them on Amazon targeted apps?

Unfortunately.

There is no way to separate local/push notification dependencies from that plugin.

Then can’t you create a separate notification plugin for Amazon that only handles local notifications?

It has worked up until today, so the implementation shouldn’t be too hard…

There has to be a way to set local notifications… It’s a basic feature, and we depend on it heavily.

@stanga

Can you try to build again?

I’ve removed the GCM push requirements from the notifications plugin that were included by default.

It works now, thank you!

You’re welcome  :slight_smile:

We are experiencing this same bug for Amazon builds and we are using 2017.3068.

All we have is the Flurry Analytics plugin. We tried adding “supportedPlatforms = { android = true }” and also “supportedPlatforms = { [“android-kindle”] = true }” and other variations but we still get the error.

We have only tested on non-kindle devices and still need to test on a kindle device. It all worked on this device for the earlier Corona builds before 3007

Is it still possible to have Flurry for Amazon builds?

@amandaelinn

I’m in the process of fixing this. I’ll notify you on this thread once it’s done.

@amandaelinn

The issue should be fixed now.

Also, you can remove supportedPlatforms from the plugin definition completely. However if you still prefer to include it, you must add [“android-kindle”] = true for Amazon builds.

It’s fixed, thanks!  :slight_smile: