Any ideas why I would be getting a “Not Found - the requested item could not be found” on Android for one of my “native.showPopup(“appStore”, options)” calls? I assume this is a bug I should lodge.
My test code is below, and the first button works (brings up my app in Google Play on the device fine), however the 2nd button gives the error. The package names are correct based on looking at the Google Play admin console.
local widget = require( "widget" ) local button1 = widget.newButton { left = 100, top = 100, id = "button1", label = "Altimeter", textOnly = true, onEvent = function(event) if event.phase == "ended" then print("Calling native.showPopup") local options = {androidAppPackageName = "au.com.mixedup.skydivingaltimeter", supportedAndroidStores = { "google" } } native.showPopup("appStore", options) -- WORKS FINE end end } local button2 = widget.newButton { left = 100, top = 200, id = "button1", label = "Parachutist", textOnly = true, onEvent = function(event) if event.phase == "ended" then print("Calling native.showPopup") local options = {androidAppPackageName = "au.com.mixedup.Parachutist", supportedAndroidStores = { "google" } } native.showPopup("appStore", options) -- ERROR end end }
EDIT: Raised it as Case 30658, but any immediate feedback here would be great, especially if I’m overlooking something…