A game that passed App Review a few weeks ago has ended up being unplayable once users upgrade to iOS 10. After the splash screen, there is just a black screen and nothing appears to load. Has anyone experienced this and found a workaround?
I've stripped everything down to the most basic C2 project I could: a single layout with one "Hello, World" text object. This issue is consistently reproducible for me with Cordova 6.3.1 and iOS platform 4.2.1. C2 is latest stable r233.
Steps:
$ cordova create testapp com.mycompany.testapp testapp
$ cd testapp
$ cordova platform add ios --save
(Copy any exported C2 project to "www" folder)
$ cordova prepare ios
Running on an iOS device or in simulator gives the black screen and in the logs there is only a message like:
Finished load of: file:///var/containers/Bundle/Application/3D48F237-F760-4F33-A08E-4A113A576B05/testapp2.app/www/index.html[/code:2wc8fnyc]
Running on an iOS 9.3 device it still works as expected.
Further, building the app with a simple non-C2 web app appears to launch as expected on device and in the simulator.
I found suggestions of adding an appropriate Content-Security-Policy tag to index.html, and have tried this with no success. What other configuration might be necessary to get the game to run on iOS 10, that I could have overlooked and was not strictly necessary on iOS 9?