Revert to an operating system that works properly
And in the future remember that BOTH Apple and Microsoft updates should NEVER be applied (if you have a choice) until you check on the forums for the programs you use to be sure there are no problems
Mac Sierra is causing problems... the latest Windows 1607 update is causing problems
Don't be on the leading (bleeding!) edge of operating system updates
I have not updated to Mac Sierra just the phones that are on iOS 10.0.2 are not working. I'm trying to resolve the issue for those who have upgraded their phones iOS 10.0.2. I can't control what the end user does, I just have to figure out a way to resolve the issue. Until either Apple or Adobe and find a more permeant solution.
Can't say I've ever seen /that/ behavior before. I'm not on iOS 10.0.2, so I can't help test, but can you:
- post your config.xml (minus identifying/secret information)
- post versions of PhoneGap/Cordova, cordova-ios, and any plugins used to build the app?
- if you've made changes to the Xcode project outside of PhoneGap/Cordova, let us know what those were
Also, what version of the camera plugin are you using? There was a plugins release a few weeks ago that included compatibility for iOS 10.
<meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline' data: gap: https://ssl.gstatic.com; script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src * 'self'; style-src 'self' 'unsafe-inline'; media-src *" />
I'm absolutely not sure why this fixed the issue but it did. Putting "default-src" clause at the beginning vs the end...stuff like this blows my mind. It's so darn frustrating. I've retested my app now on all iOS 10 all versions and iOS 9 along with Google Android and it appears to all be working normally now.
Can someone explain why this fixed the issue? I really don't understand that line much but it carries great impact to how the phonegap application functions.
How can I upgrade the plugin via mac osx command line interface? I manually got around the security issue by going into xcode direclty and adding in the correct key/value into the plist file.
$ phonegap plugin update <plugin-name>