Hello,
Some months ago I had an issue with Nabi devices (couldn’t find the post), where when we submitted the apk for publishing they would kick it back to us saying something like:
-UI errors happens if suspend resume the device in certain pages
What happens is some of the image assets, instead of being reloaded when the app suspends then resumes, instead end up being black rects. And it’s random. For instance, in the same scene with a play, pause, and retry button, sometimes the play button will be replaced by a black rect, and it will be the size of the play button. Sometimes it’ll be the pause button, and the play button is just fine. Other times nothing happens… as I said, random.
Before when I posted this issue, someone recommended this block of code, which worked for all builds up to this point:
local function onKeyReceived( event ) if event.phase == "down" and event.keyName == "back" then system.request( "suspendApplication" ) return true end end Runtime:addEventListener( "key", onKeyReceived )
However, with a most recent submission to Nabi, even with the code above they told us they were getting the same issues again. Oddly, we’ve had projects before AND after this that have gone through, and this one for some reason didn’t. I’m kind of tempted to resubmit to see if it does come up again, but am wondering if anyone else may have experienced the issue and have some ideas.