native.showPopup

My apologies… you linked to: http://docs.coronalabs.com/api/library/native/showPopup.html in my other post.

Google is still bringing up the old page at: http://developer.coronalabs.com/reference/index/nativeshowpopup

Hence my confusion… :frowning:

You should redirect old documentation URLs to the new ones. [import]uid: 63276 topic_id: 24292 reply_id: 134454[/import]

I’ll see if something can be done about that. [import]uid: 199310 topic_id: 24292 reply_id: 134556[/import]

If you setup 301 redirects in an .htaccess file on your server pointing from the old pages to the new, that’ll cascade to Google after a bit of time (and will redirect users from the old site to the new).

Thanks again for the help! [import]uid: 63276 topic_id: 24292 reply_id: 134586[/import]

I love this feature. It works great on my Android. On my iPad 3 (with iOS6) it only seems to work when I’m holding the iPad in landscape position. When I turn to portrait and try to activate the feature, I get no response. Does anyone have any idea why that would be?
Thanks,
Michael [import]uid: 104085 topic_id: 24292 reply_id: 141941[/import]

I love this feature. It works great on my Android. On my iPad 3 (with iOS6) it only seems to work when I’m holding the iPad in landscape position. When I turn to portrait and try to activate the feature, I get no response. Does anyone have any idea why that would be?
Thanks,
Michael [import]uid: 104085 topic_id: 24292 reply_id: 141941[/import]

Hello, I’m gettting Amazon app rejected because seems that there’s no action triggered with build 1038. Also the Rate app doesn’t redirect in amazon review stores, but it does in android.

 

Is there a problem there detecting the appstore?

 

I need to submit these apps asap they’ve already been published and I’m having the same code so it has to be something related to corona bug? thanks!

Can you post your code?

 

There are situations where (since Amazon uses standard android apps) if you have Google Play installed, we sometimes falsely ID the store type.  Post the code where you’re trying to do the popup.

Hello, my social class is as follows:

 

 

RBSocial = class()

 

function RBSocial:init( android_id, apple_id, nook_id, stores)

    self._supportedStores = stores

    self._settings = self:getSettings( android_id, apple_id, nook_id)

    self._promoSettings = self:getSettings( android_id, apple_id, nook_id)

    self._usesIAP = true

end

 

function RBSocial:getSettings( android_id, apple_id, nook_id)

    local settings = {

        iOSAppId = “”…apple_id,

        nookAppEAN = “”…nook_id,

        androidAppPackageName = “”…android_id,

        supportedAndroidStores = self._supportedStores,

    }

    return settings

end

 

function RBSocial:openRateURL()

    native.showPopup(“rateApp”, self._settings)

end

 

function RBSocial:openAppStore( otherSettings)

    native.showPopup(“appStore”, otherSettings)

end

 

function RBSocial:setPromoVersion( promoPackage )

    self._promoSettings = self:getSettings( promoPackage, “”, “”)

end

 

function RBSocial:openPromoAppStore()

    native.showPopup(“appStore”, self._promoSettings)

end

 

 

and it’s called as folows

 

social = RBSocial(“my.package.name” , “”, “”, {“amazon”})

social._usesIAP = false

social:setPromoVersion(“myotherapp.package.name”)

 

where my.package.name is exactly the package name of my apps. 

 

As you see, when I call the “openPromoAppStore” and “openRateURL()” method it should call only amazon app store because is the one I defined in my social class. the code is good, has been working till now. and I’ve not changed it recently.

Does it work with 1029?  Or what earlier version does it work with?

As far as I know it was approved with build 1033 on Amazon. now I can’t get it pass the tests.

 

PS: I’m trying approval process with 1036. I’ll let you know if this one passes.

FYI it keeps being rejected. with 1036. Please I need to update the apps and I’ve already ported all the code to the new widgets… is there a way this might get fixed?

Hello, I’m gettting Amazon app rejected because seems that there’s no action triggered with build 1038. Also the Rate app doesn’t redirect in amazon review stores, but it does in android.

 

Is there a problem there detecting the appstore?

 

I need to submit these apps asap they’ve already been published and I’m having the same code so it has to be something related to corona bug? thanks!

Can you post your code?

 

There are situations where (since Amazon uses standard android apps) if you have Google Play installed, we sometimes falsely ID the store type.  Post the code where you’re trying to do the popup.

Hello, my social class is as follows:

 

 

RBSocial = class()

 

function RBSocial:init( android_id, apple_id, nook_id, stores)

    self._supportedStores = stores

    self._settings = self:getSettings( android_id, apple_id, nook_id)

    self._promoSettings = self:getSettings( android_id, apple_id, nook_id)

    self._usesIAP = true

end

 

function RBSocial:getSettings( android_id, apple_id, nook_id)

    local settings = {

        iOSAppId = “”…apple_id,

        nookAppEAN = “”…nook_id,

        androidAppPackageName = “”…android_id,

        supportedAndroidStores = self._supportedStores,

    }

    return settings

end

 

function RBSocial:openRateURL()

    native.showPopup(“rateApp”, self._settings)

end

 

function RBSocial:openAppStore( otherSettings)

    native.showPopup(“appStore”, otherSettings)

end

 

function RBSocial:setPromoVersion( promoPackage )

    self._promoSettings = self:getSettings( promoPackage, “”, “”)

end

 

function RBSocial:openPromoAppStore()

    native.showPopup(“appStore”, self._promoSettings)

end

 

 

and it’s called as folows

 

social = RBSocial(“my.package.name” , “”, “”, {“amazon”})

social._usesIAP = false

social:setPromoVersion(“myotherapp.package.name”)

 

where my.package.name is exactly the package name of my apps. 

 

As you see, when I call the “openPromoAppStore” and “openRateURL()” method it should call only amazon app store because is the one I defined in my social class. the code is good, has been working till now. and I’ve not changed it recently.

Does it work with 1029?  Or what earlier version does it work with?

As far as I know it was approved with build 1033 on Amazon. now I can’t get it pass the tests.

 

PS: I’m trying approval process with 1036. I’ll let you know if this one passes.

FYI it keeps being rejected. with 1036. Please I need to update the apps and I’ve already ported all the code to the new widgets… is there a way this might get fixed?

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.