native.showPopup

ok, third post in a row without a single answer…, 1075 keeps not working and being rejected… even now that there is an option to build specifically for Amazon, It’s me or the native.showPopup(“appStore”, options) keeps not working on Amazon. Please give me an answer… this is crazy! 

Do you have a device to test it on?  Do you get the popup when you test?  Is there a build number where this stopped working?

Hello, in answer to your questions, yes I’ve got a device my Android device, it doesn’t open the Amazon shop, it stopped working something before build 101x as it stopped working when I implemented the new widgets.

EDIT: BTW is as simple as you guys test on your side the amazon new popup for appstore in an android device. it does not work. 

Hello Guys, I’ve got my apps stopped for more than a month now. this is what happens.

  • When I test my code in android google play it works perfectly. it opens the apps tore and all.

What I do when publishing to amazon app store is to only define amazon as available appstore and reuse the same code, the code is executed I’ve checked output messages in logcat. 

I’ve got an android device with amazon appstore installed and I’ve installed this apk targeted for amazon appstore only, what happens is that the newPopup doesn’t execute, it doesn’t open the other appstore, nor the rate app. It’s like it ignores totally the order. and no log is got from the device. no additional output from corona appart of my print line to confirm the method has been called.

Just to be clear this can be tested also on your side because is basic code, and my app keeps being refused from amazon due to this issue. I can’t remove these shop references because the corona sdk doesn’t allow us to use IAP on amazon… and I’ve got to reference the other apps within one free app.

Please I need to get some clue on how to fix this. I’m using last 1085 daily btw. And I set the target appstore in the build dialog to amazon. I don’t have anything else, shall I do something on config.lua or build.settings?

Thanks!

Can you show us the code where you’re making the call?

Sure: 

function RBSocial:amazonOpen(android\_id) local settings = { iOSAppId = "", nookAppEAN = "", androidAppPackageName = ""..android\_id, supportedAndroidStores = { "amazon" } } native.showPopup("appStore", settings) end

The function is called with the package name of the item I want the store to show. 

BTW tested on LG P990 with Ice Cream Sandwish. and amazon app store installed. 

As I said code works for Android. Shounln’t be different thing, 

I’m not sure why you’re prepending the androidAppPackageName with an empty string instead of just doing:

androidAppPackageName = android_id

It doesn’t hurt and it shouldn’t cause any problems.  Are you sure your android_id is being passed and that is valid for what you’ve setup on Amazon’s store? 

Removed that prepend and no change.

The package names are correct. In fact even if they’re not the amazon appstore app should be opened right? the thing is that there’s no effect on the call, and no message on the logcat.

I’m thinking, might be a possibility that the name of the appstore is different in different languages? and for that you guys are not opening it in other language but english?

I mean my phone is in spanish, I guess the package name of the app you’re trying to open is the same but in any case won’t hurt to check.

Can you change your device to English and see?  Does Amazon have a specific store for the country  your amazon app is installed for?

same problem. changing language doesn’t bring up the appstore either. I cannot install other amazon appstores, as the play store is always the same… even if I change language.

Hello Guys, I’ve got my apps stopped for more than a month now. this is what happens.

  • When I test my code in android google play it works perfectly. it opens the apps tore and all.

What I do when publishing to amazon app store is to only define amazon as available appstore and reuse the same code, the code is executed I’ve checked output messages in logcat. 

I’ve got an android device with amazon appstore installed and I’ve installed this apk targeted for amazon appstore only, what happens is that the newPopup doesn’t execute, it doesn’t open the other appstore, nor the rate app. It’s like it ignores totally the order. and no log is got from the device. no additional output from corona appart of my print line to confirm the method has been called.

Just to be clear this can be tested also on your side because is basic code, and my app keeps being refused from amazon due to this issue. I can’t remove these shop references because the corona sdk doesn’t allow us to use IAP on amazon… and I’ve got to reference the other apps within one free app.

Please I need to get some clue on how to fix this. I’m using last 1085 daily btw. And I set the target appstore in the build dialog to amazon. I don’t have anything else, shall I do something on config.lua or build.settings?

Thanks!

Can you show us the code where you’re making the call?

Sure: 

function RBSocial:amazonOpen(android\_id) local settings = { iOSAppId = "", nookAppEAN = "", androidAppPackageName = ""..android\_id, supportedAndroidStores = { "amazon" } } native.showPopup("appStore", settings) end

The function is called with the package name of the item I want the store to show. 

BTW tested on LG P990 with Ice Cream Sandwish. and amazon app store installed. 

As I said code works for Android. Shounln’t be different thing, 

I’m not sure why you’re prepending the androidAppPackageName with an empty string instead of just doing:

androidAppPackageName = android_id

It doesn’t hurt and it shouldn’t cause any problems.  Are you sure your android_id is being passed and that is valid for what you’ve setup on Amazon’s store? 

Removed that prepend and no change.

The package names are correct. In fact even if they’re not the amazon appstore app should be opened right? the thing is that there’s no effect on the call, and no message on the logcat.

I’m thinking, might be a possibility that the name of the appstore is different in different languages? and for that you guys are not opening it in other language but english?

I mean my phone is in spanish, I guess the package name of the app you’re trying to open is the same but in any case won’t hurt to check.

Can you change your device to English and see?  Does Amazon have a specific store for the country  your amazon app is installed for?

same problem. changing language doesn’t bring up the appstore either. I cannot install other amazon appstores, as the play store is always the same… even if I change language.

I am having a similar problem. My app was rejected by Amazon because it is launching the Google Play store and not Amazons. Are there any answers on this?

@Mike Hempfling, can you post some code where you are calling the showPopup?

From my xp this happens when you build your build targeting android store. What happens if you target Amazon’s is that the native show popup does no action (at least in my side) that’s the problem I’m wating an answer for since long in this thread.