I currently have the OnePlus 13R Android phone and I was able to capture the back key with no issues previously on Android 15. Since updating it to Android 16 (CPH2645_16.0.0.205) the back key no longer works in my game. When I tap on the on screen back key, it vibrates and does nothing. This used to work fine prior to the update.
My wife has a Samsung Galaxy S25 Ultra (I know I know, she get’s the better phone) with Android 16 and the back key works fine. I have also tested it on a Xiaomi Mi Pad 2 with Android 14 and it works fine.
I have tried creating a new Defold starter mobile project, added the key bindings and the logic to the on_input() lifecycle function:
if action_id == hash('key_back') and action.pressed then
if sys.get_sys_info().system_name ~= 'HTML5' then
sys.exit(0)
return true;
end
end
It still doesn’t work on the OnePlus 13R, but works on the Galaxy S25 Ultra and the Xiaomi Pad 2.
I done the same thing with the Color Slide tutorial, doesn’t work on the OnePlus 13R but works on others.
I guess this has something to do with the Android 16 update on the OnePlus 13R, but wanted to flag it up and see if there is anything else I can do/try to get it to work.
Merry Christmas to those of you celebrating.