cordova-ios 6.0.0 iOS App rejection - No HTTPS access
See original GitHub issueHello guys, I have submitted an iOS App using WKWebView with latest cordova-ios 6.0.0 but it got rejected multiple times because they cannot Login or access our APIs through HTTPS requests. But I cannot reproduce this issue neither in the simulators nor in a real device through Test Flight distribution (we have installed the App in 3 real devices with different networks, even under VPN). I have enabled even the CORS server side, I have adapted the NSAppTransportSecurity as of below but not lack. Do you have any ideas or any suggestions? This is happening only in Apple side during their reviews.
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<false/>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>{MY_DOMAIN}</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSExceptionMinimumTLSVersion</key>
<string>TLSv1.0</string>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
App store blocks my application (ionic cordova ios 6.0)
2) Ensure your cordova-ios is updated to the latest version 6.0.0 . Run this command to update it. npm install cordova-ios@latest --save.
Read more >Cordova iOS 6.1.0 Released!
A bug in Cordova iOS 6.0.0 would cause the splashscreen to be invisible unless a BackgroundColor preference was set in config.xml . This...
Read more >Apple reviewer can't connect to app - cordova - Ionic Forum
The app sends ajax requests via HTTP. The plugins… ... Platform is iOS@6.0.0. ... Origin null is not allowed by Access-Control-Allow-Origin
Read more >App Rejection Section 4.2.2 (Minim… | Apple Developer Forums
We have a Ionic/Cordova hybrid app that uses several native iOS functions that are critical to it's use. So how much functionality has...
Read more >Firebase JavaScript SDK Release Notes - Google
This fixes a bug affecting some iPad devices running Cordova apps. ... Fixed an issue in @firebase/auth-compat where the SDK tried to access...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The only thing that is strange that I see is I don’t think
WKURLSchemeHandler
plays nicely withhttp
orhttps
(or any other standard protocols). It’s suppose to be for defining how to handle custom schemes. That’s why the cordova blog post usesapp
in its example. But honestly I’m not that knowledgable with URL schemes and I don’t know if this is a source of your problem or not. I’d be kinda surprised if it was.I can say that I have no issues with apple using my provided login for my apps, but none of my apps are on cordova-ios@6 yet. I have one app on cordova-ios@5.1.1 using the wkwebview plugin, and another app also on cordova-ios@5.1.1, but using the ionic webview (with their implementation of scheme handlers).
I also think you cannot use
http
orhttps
or any other standard protocol as your custom scheme in the app.WKURLSchemeHandler
should not allow that but I wonder why that works for you.I am using the Ionic Webview plugin, too and that blocks these schemes. It has been a while since I played around with that setting but I will do it again probably soon. 😃