Cordova app hanging during startup on iOS 10
OK, I found the problem and the solution thanks to this post:
It seems that iOS 10 requires additional entries in the Content-Security-Policy
meta tag, namely gap:
and file:
. After adding these, my Content-Security-Policy
looks like this:
And the app starts up and works fine on iOS 10.
Hope this helps others.
Ionic Cordova camera issue with ios 10
I confirm this is solved in Cordova app hanging during startup on iOS 10 as Sven Sönnichsen indicated in the comment to the question.
Add gap://ready file:
to the Content-Security-Policy meta tag in index.html
.
This was also addressed here: https://forums.adobe.com/thread/2211591 where Allsetra ICT said that changing the meta tag to this simple form also worked (although I did not verified it).
Adobe PhoneGap - iOS app not loading until swipe up for Control Center
Since this affects only iOS 10, it sounds the issue you're encountering is related to the strict application of Content Security Policy rules to UIWebView, which was added in iOS 10. By opening the Control Centre you are placing your app in the background, then dismissing the Control Centre resumes the app, which causes the issue to go away.
See this question and answer for a full explanation and solution, but in a nutshell make sure you have a Content-Security-Policy
meta tag in your index.html
and make sure it contains entries for gap:
and file:
, for example:
Meteor/Cordova/Phonegap iOS app not working when deployed to production
Looks like after updating to meteor 0.9.4 (which apparently includes improved Cordova/Phonegap support) my issue has been resolved.
Related Topics
Outlets Cannot Be Connected to Repeating Content Ios
In Swift, How to Declare a Variable of a Specific Type That Conforms to One or More Protocols
Print: Entry, ":Cfbundleidentifier", Does Not Exist
Nsurlsession With Nsblockoperation and Queues
How to Hide a Status Bar in Ios
Adding a View Controller as a Subview in Another View Controller
Swift Nsdateformatter Not Working
Swift Saving and Retrieving Custom Object from Userdefaults
Swiftui App Life Cycle Ios14 Where to Put Appdelegate Code
How to Test Apple Push Notification Service Without an Iphone
Iphone App in Landscape Mode, 2008 Systems
Xcode 6 - Xcassets For Universal Image Support
How to Take a Full Screen Screenshot in Swift
How to Get List of Available Bluetooth Devices
Codesign Error: Provisioning Profile Cannot Be Found After Deleting Expired Profile