The documentation for the showPopup API indicates that when calling “appStore” that it shows up in a popup window. However this is not the actual functionality. It closes the current app and opens the App Store, which is definitely not ideal behavior. Is there a way to do an actual in-game popup of the App Store?
Original post [solved]:
I’m trying to use the app store popup in our app, but I keep getting this message in the console:
Error: native.showPopup() does not support appStore popups on this device.
I’ve tried this on the iPad 3 and iPad Air and get the same result.
Is there some plugin I’m missing? I have the Game Network, Popup Activity, and Popup Social plugins installed.
Heres my code
local service\_name = "appStore" local options = { iOSAppId = 123456789 } local is\_available = native.canShowPopup("appStore", options) if is\_available then native.showPopup(service\_name, options) else native.showAlert("App Store is currently unavailable", "Please check your App Store account or network connection.", { "OK" } ) end
Any help would be appreciated, thanks.