You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/10/23 09:05:18 UTC

[GitHub] [cordova-ios] lynntangyuan opened a new issue #1009: Cordova6.1.0 doesn't support iOS10.

lynntangyuan opened a new issue #1009:
URL: https://github.com/apache/cordova-ios/issues/1009


   # Bug Report
   
   ## Problem
   
   Cordova6.1.0 doesn't support iOS10. However, users who use ios10 also account for a certain proportion, So How can I not only use Cordova6.1.0, but also support IOS 10.
   
   Or, Could you please point out the code that IOS 10 doesn't support in Cordova6.1.0, and I can modify it myself.
   
   ### What is expected to happen?
   
   Corodva6.1.0 supports iOS10. 
   
   ### What does actually happen?
   
   The document of Cordova6.1.0 states that Cordova6.1.0 only supports iOS11 and above.
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   platform :ios, '11.0'
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   - Cordova-ios
   
   - Xcode 12.0
   
   - MacOS Catalina
   
   - iOS 10.0 +
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] erisu commented on issue #1009: Cordova6.1.0 doesn't support iOS10.

Posted by GitBox <gi...@apache.org>.
erisu commented on issue #1009:
URL: https://github.com/apache/cordova-ios/issues/1009#issuecomment-727776078


   There are a few places that defines the deployment target.
   
   * `platforms/ios/Podfile`, but this should be updated based on `cordova prepare` and setting.
   * `platforms/ios/cordova/lib/Podfile.js`
   * `platforms/ios/CordovaLib/CordovaLib.xcodeproj/project.pbxproj` there are a few locations in this file.
   * `platforms/ios/<PROJECT_NAME>.xcodeproj/project.pbxproj` there is also a few locations in this file.
   
   As @breautek mentioned, it might be easier to use Cordova-iOS 5.x as it supports iOS 10.
   
   * install `cordova-ios@5.1.1` instead of `6.x`
   * install plugin `cordova-plugin-wkwebview-engine@1.2.1` for the WKWebView engine.
   * set the preference flag `WKWebViewOnly` in `config.xml`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] lynntangyuan commented on issue #1009: Cordova6.1.0 doesn't support iOS10.

Posted by GitBox <gi...@apache.org>.
lynntangyuan commented on issue #1009:
URL: https://github.com/apache/cordova-ios/issues/1009#issuecomment-727767750


   @breautek Thanks for your reply. I Found out the usage of WKUrlSchemeHandler, However, When I tried to strip that out , and update the minimum deployment target to iOS11.0, It pointed out that Cordova6.1.1 required a higher minimum deployment target and resulted in an error. It must be the Rigid requirements of Cordova6.1.1 in Cocoapods, is there any way for me to skip this error?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] lynntangyuan commented on issue #1009: Cordova6.1.0 doesn't support iOS10.

Posted by GitBox <gi...@apache.org>.
lynntangyuan commented on issue #1009:
URL: https://github.com/apache/cordova-ios/issues/1009#issuecomment-727781294


   @erisu Depending on the policy published by Apple, In few months, Apple will force that The keyword "UIWebview" does not exist in the code of App. However, Despite setting "WKWebviewOnly", The keyword "UIWebview" still exists in Cordova-ios@5.1.1.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek edited a comment on issue #1009: Cordova6.1.0 doesn't support iOS10.

Posted by GitBox <gi...@apache.org>.
breautek edited a comment on issue #1009:
URL: https://github.com/apache/cordova-ios/issues/1009#issuecomment-715331635


   If you need iOS 10 support then stay on `cordova-ios@5`
   
   You'll need to use `cordova-ios@5.1.1` with a WKWebView plugin and the `WKWebViewOnly` preference enabled to be `WKWebView` compliant.
   
   > Or, Could you please point out the code that IOS 10 doesn't support in Cordova6.1.0, and I can modify it myself.
   
   The reason `cordova-ios@6` requires iOS 11+ is because of the scheme handler stuff. I'm not familiar with the codebase so I can't point to exactly where this is located, but the apple docs for this is located [here](https://developer.apple.com/documentation/webkit/wkurlschemehandler). You should be able to search and find usages easily enough.
   
   This was added to support schemes, which solves many CORS related issues that appeared on the `WKWebView` loading files from the local filesystem.
   
   As far as I know, this is the only thing that was added that requires `cordova-ios@6` but if you strip that out and try to build, I'm sure XCode will tell you if there are anything else that requires iOS 11 if you try to build with deployment target with iOS 10.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek edited a comment on issue #1009: Cordova6.1.0 doesn't support iOS10.

Posted by GitBox <gi...@apache.org>.
breautek edited a comment on issue #1009:
URL: https://github.com/apache/cordova-ios/issues/1009#issuecomment-715331635


   If you need iOS 10 support then stay on `cordova-ios@5`
   
   You'll need to use `cordova-ios@5.1.1` with a WKWebView plugin and the `WKWebViewOnly` preference enabled to be `WKWebView` compliant.
   
   > Or, Could you please point out the code that IOS 10 doesn't support in Cordova6.1.0, and I can modify it myself.
   
   The reason `cordova-ios@6` requires iOS 11+ is because of the scheme handler stuff. I'm not familiar with the codebase so I can't point to exactly where this is located, but the apple docs for this is located [here](https://developer.apple.com/documentation/webkit/wkurlschemehandler). You should be able to search and find usages within the `cordova-ios` codebase easily enough.
   
   This was added to support schemes, which solves many CORS related issues that appeared on the `WKWebView` loading files from the local filesystem.
   
   As far as I know, this is the only thing that was added that requires `cordova-ios@6` but if you strip that out and try to build, I'm sure XCode will tell you if there are anything else that requires iOS 11 if you try to build with deployment target with iOS 10.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #1009: Cordova6.1.0 doesn't support iOS10.

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1009:
URL: https://github.com/apache/cordova-ios/issues/1009#issuecomment-715331635


   If you need iOS 10 support then stay on `cordova-ios@5`
   
   You'll need to use `cordova-ios@5.1.1` with a WKWebView plugin and the `WKWebViewOnly` preference enabled to be `WKWebView` compliant.
   
   > Or, Could you please point out the code that IOS 10 doesn't support in Cordova6.1.0, and I can modify it myself.
   
   The reason `cordova-ios@6` requires iOS 11+ is because of the scheme handler stuff. I'm not familiar with the codebase so I can't point to exactly where this is located, but the apple docs for this is located [here](https://developer.apple.com/documentation/webkit/wkurlschemehandler). You should be able to search and find usages easily enough.
   
   This was added to support schemes, which solves many CORS related issues that appeared on the `WKWebView` loading files from the local filesystem.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek closed issue #1009: Cordova6.1.0 doesn't support iOS10.

Posted by GitBox <gi...@apache.org>.
breautek closed issue #1009:
URL: https://github.com/apache/cordova-ios/issues/1009


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] dpogue commented on issue #1009: Cordova6.1.0 doesn't support iOS10.

Posted by GitBox <gi...@apache.org>.
dpogue commented on issue #1009:
URL: https://github.com/apache/cordova-ios/issues/1009#issuecomment-727782333


   Cordova-iOS 6.0.0 also uses Named Colours for CDVViewController and the LaunchStoryboard, which require iOS 11.
   
   Using Cordova-iOS 5.1.1 with `WKWebViewOnly` ensures there are no references to UIWebView and should not run into any problems with Apple.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org