I was doing it with the following code:
in which I used “display.newImage(“android.app.icon://”…PackageName)” to find out if the app existed, but in android 13 that doesn’t work for me
function libreriasUI:AppInstalada(PackageName)
local appIcon = display.newImage("android.app.icon://"..PackageName)
if appIcon then
-- App is installed.
appIcon.isVisible = false
display.remove(appIcon)
return true
else
-- App is not installed.
display.remove(appIcon)
return false
end
end