native.showPopup with "appstore" --> working on Samsung App Store?

Hi all,

does anyone know whether the “appstore” option will work on say Samsung’s Appstore? I would build for “Android” but not sure how hard-wired this API is to Google Play… any hints or experiences?

The reason behind it is that I want to provide a “Trial” version for a paid app on Samsung Appstore. Same use case which we (until recently) had been facing on nook, Amazon etc.

Thanks! [import]uid: 15953 topic_id: 32718 reply_id: 332718[/import]

Yes, our “appStore” popup feature does support the Samsung app store. I’ve tested this for myself. You would code it as follows…
[lua]local options =
{
androidAppPackageName = “your.non.trial.app”,
supportedAndroidStores = { “samsung” },
}
native.showPopup(“appStore”, options)[/lua]

One thing I highly recommend is to set the [lua]supportedAndroidStores[/lua] to only the “samsung” app store. This is in case the Samsung app reviewer’s Android device has both the Google Play and Samsung app stores installed on his/her device, because in that case Corona is forced to guess which app store it should bring up and it may guess wrong and pick Google Play. If you indicate that your app only supports the “samsung” app store, then it will only choose their store in this case. I hope this makes sense.

Also, the [lua]androidAppPackageName[/lua] is an optional setting and if you do not provide it, then this API will use the currently running app’s package name by default. But since you said this is a trial app that is advertising the paid version, then you set this to your non-trial app’s package name.

I hope this helps! [import]uid: 32256 topic_id: 32718 reply_id: 130329[/import]

One more thing. You can find more details about this API by downloading the newest API documentation zip file on our daily build page. That documentation covers our newest daily builds, while our website’s API documentation only covers that last release build.

I’ve also posted information on the following forum thread…
https://developer.coronalabs.com/forum/2012/01/03/link-review-nook-are-intents-required-workarounds#comment-126018
[import]uid: 32256 topic_id: 32718 reply_id: 130330[/import]

Yes, our “appStore” popup feature does support the Samsung app store. I’ve tested this for myself. You would code it as follows…
[lua]local options =
{
androidAppPackageName = “your.non.trial.app”,
supportedAndroidStores = { “samsung” },
}
native.showPopup(“appStore”, options)[/lua]

One thing I highly recommend is to set the [lua]supportedAndroidStores[/lua] to only the “samsung” app store. This is in case the Samsung app reviewer’s Android device has both the Google Play and Samsung app stores installed on his/her device, because in that case Corona is forced to guess which app store it should bring up and it may guess wrong and pick Google Play. If you indicate that your app only supports the “samsung” app store, then it will only choose their store in this case. I hope this makes sense.

Also, the [lua]androidAppPackageName[/lua] is an optional setting and if you do not provide it, then this API will use the currently running app’s package name by default. But since you said this is a trial app that is advertising the paid version, then you set this to your non-trial app’s package name.

I hope this helps! [import]uid: 32256 topic_id: 32718 reply_id: 130329[/import]

One more thing. You can find more details about this API by downloading the newest API documentation zip file on our daily build page. That documentation covers our newest daily builds, while our website’s API documentation only covers that last release build.

I’ve also posted information on the following forum thread…
https://developer.coronalabs.com/forum/2012/01/03/link-review-nook-are-intents-required-workarounds#comment-126018
[import]uid: 32256 topic_id: 32718 reply_id: 130330[/import]

That’s great news! Thank you so much for that detailed response, Joshua!! [import]uid: 15953 topic_id: 32718 reply_id: 130334[/import]

That’s great news! Thank you so much for that detailed response, Joshua!! [import]uid: 15953 topic_id: 32718 reply_id: 130334[/import]