I’m trying to use the plugin to have the review popup and it’s working for ios but not for android.
Does anyone know why this is not working?
Thanks
self._settingsTab:insertRowAny({renderFunction=renderSettingsRow
,leftText=__("Donner une note via la popup")
--,rightText=" "
,rowHeight=arrowiconsize+2*paddingratio*CHARTER.interline
,noline=true
,customRowTouchListener=function(event)
local platformVersion = system.getInfo( "platformVersion" ) or 0
local versionPhone = tonumber(string.sub( platformVersion, 1, 4 )) or 0
if( versionPhone >= 10.3 and system.getInfo("platform") == "ios") then
local reviewPopUp = require "plugin.reviewPopUp"
reviewPopUp.show()
_print_r("IOS >= 10.3, review popup showed")
elseif( system.getInfo("platform") == "android") then
local reviewPopUp = require "plugin.reviewPopUp"
reviewPopUp.show()
reviewPopUp.init(function(e)
_print_r("before ready")
if e.status == "ready" then
_print_r("after ready")
reviewPopUp.show()
end
end)
_print_r("Android, review popup showed")
end
end})