Hi,
I need to retrieve when a back button is pressed in Windows Phone 8. I have seen solutions for C++, but those are not working in Cocos2d-js. I added a keyboard listener and tried to capture the escape button, but thid doesn’t work. Windows Phone doesn’t seem to have the keyboard capability.
Does any of you know how to handle the Back Button on Windows Phones in Cocos2d-JS?
Unfortunately this change in jsb_boot.js does not help. I can still not listen for the back button on WP8. As a test I printed the sys.platform to the output. It printed ‘11’, which seems to correspond to the Tizen platform (WP8 is ‘13’), whilst I’m debugging on a Lumia 435 with Windows 8.1. Could this be an indication of the problem? Or do you have other suggestions which I could try? I got a non-compliance notification from Microsoft because I do not handle the back button properly.
Thank you!