Hi! I’m trying to provide a “rate my app” button, but seem to be failing
I know the popups don’t work in simulator, but it’s not working on-device either. (No error given other than showPopup returning false. Just a silent failure.) However the canShowPopup function is saying it should work. With USB debugging on, logcat outputs the following when the below function is called
rate pressed
bCanRate = true
bWorked = false
I am trying this on my Nexus 7, but was not having luck with my phone either. Any ideas?
--Static callback for tapping the app rate button function MainMenuSubHandler.\_OnTapRate() print("rate pressed") local bCanRate = native.canShowPopup("appStore") print("bCanRate = " .. tostring(bCanRate)) local options = {supportedAndroidStores = "google"} local bWorked = native.showPopup("appStore", options) print("bWorked = " .. tostring(bWorked)) end