native.showPopup("appStore") error on Samsung NOOK device

On the new Samsung NOOK devices (which have both Google Play and the Nook app store) I get the following error if I try to call native.showPopup with the appstore (I’m properly passing an options table with the ean)

I/Corona  ( 9957): Error: /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:877: native.showPopup() does not support appStore popups on this device

So I added a check for native.canShowPopup and it’s returning true. The target app store is nook.  The app is not yet published but I do have the EAN already and I’m passing that in properly.

Should I expect this issue to resolve itself once the app is actually live?  

I am actually getting this error on my iPhone and iPad, as well as my Android devices with my iOS and Android builds.

I am wondering the same thing.

Can you post your popup code where you’re setting up the values needed for showPopup?   Also what version of Corona SDK are you using?

Thanks

Rob

I had not tested it until recently, but it has happened with the past view versions of the daily builds.  I am currently on 2505 and it occurs there.

Just tried with the latest build of my app on my iPad with iOS 7.1.2 and it launches the App Store app and just shows a white square in the center of the screen.  On my iPhone with iOS 8.1, it launches the App Store which displays “Items Not Available.”

In the console, I see this:

<Warning>: Error: native.showPopup() does not support appStore popups on this device

This is the code I am using:

-- Launch the app rating for the store function showRate() print( "Starting the app rating workflow" ) local rateOptions = { iOSAppId = "###", supportedAndroidStores = { "google", "amazon" } } -- If there is an Internet connection, launch the appropriate app store to allow the user to rate the app if connection.test() then settings:set( "rated\_app", true ) settings:save() ratedApp = true native.showPopup( "appStore", rateOptions ) else native.showAlert( "APPNAME", "You must be connected to the Internet to rate the app. Enable Internet connectivity on your device and try again.", { "OK" } ) end end

In my code, the ### is actually the valid iOS ID for my app, which has not yet been published.

I will say that I did just replace the iOSAppId value with one of my published apps and it does load that app’s page in the App Store app when I click the rate button in my app.

Can’t speak to the Android ones though.  Have not tried adding in a androidAppPackageName option.

Just weirded out about that warning.   :slight_smile:

I am actually getting this error on my iPhone and iPad, as well as my Android devices with my iOS and Android builds.

I am wondering the same thing.

Can you post your popup code where you’re setting up the values needed for showPopup?   Also what version of Corona SDK are you using?

Thanks

Rob

I had not tested it until recently, but it has happened with the past view versions of the daily builds.  I am currently on 2505 and it occurs there.

Just tried with the latest build of my app on my iPad with iOS 7.1.2 and it launches the App Store app and just shows a white square in the center of the screen.  On my iPhone with iOS 8.1, it launches the App Store which displays “Items Not Available.”

In the console, I see this:

<Warning>: Error: native.showPopup() does not support appStore popups on this device

This is the code I am using:

-- Launch the app rating for the store function showRate() print( "Starting the app rating workflow" ) local rateOptions = { iOSAppId = "###", supportedAndroidStores = { "google", "amazon" } } -- If there is an Internet connection, launch the appropriate app store to allow the user to rate the app if connection.test() then settings:set( "rated\_app", true ) settings:save() ratedApp = true native.showPopup( "appStore", rateOptions ) else native.showAlert( "APPNAME", "You must be connected to the Internet to rate the app. Enable Internet connectivity on your device and try again.", { "OK" } ) end end

In my code, the ### is actually the valid iOS ID for my app, which has not yet been published.

I will say that I did just replace the iOSAppId value with one of my published apps and it does load that app’s page in the App Store app when I click the rate button in my app.

Can’t speak to the Android ones though.  Have not tried adding in a androidAppPackageName option.

Just weirded out about that warning.   :slight_smile: