-
Notifications
You must be signed in to change notification settings - Fork 337
Conversation
Upon further testing, I've found the following worrying issue.
The PS Is this plugin still being actively maintained by Microsoft? This is a serious issue - incompatibility with the latest cordova library - and so far it seems like it's been completely left up to the community. |
I just committed this change. Right now it seems the reload issue might've been from a missing |
I'm still running into issues with white screens. I've given this plugin everything I have (with my very limited Objective-C and iOS knowledge) but without some attention from the plugin authors this isn't a viable option for us and we're going to have to switch to another live update solution. Where is MS? |
Hi @szh , Unfortunately, I can't reproduce this compatibility issue. Could you please provide some demo app with reproducing issue and reprosteps? |
@szh is correct. This plugin does not work with the latest cordova-ios (6+). Cordova-ios 6+ has integrated the wkWebview engine functionality, making cordova-plugin-wkwebview-engine obsolete. Specifically, Codepush will not work when a custom scheme and hostname is specified. The custom scheme is required for doing CORS requests on wkWebview. Code Push DOES work with the file:// protocol, so a basic Cordova project will work with this plugin, but not one that requires hitting an external api. To reproduce:
Codepush updates will get as far as installation, but the redirect to the new release code will fail, resulting in a white screen. |
Any updates on this issue? WKWebView is now required by Apple/iOS and Apple has released iOS 14. CodePush (for Cordova) is effectively broken in iOS as a result. Sure seems to me like this should be a very high priority for the CodePush team that supports Cordova. I see no evidence of active work on this issue... |
Hi @szh @bterres @mark-divitt and thanks a lot for your effort on desire to fix this! Unfortunately, this PR doesn't cover all cases that may lead to the problems w/ cordova-ios 6 so I've prepared ultimate fix #655 that should be fixing all found problems. Please feel free to review it there. I'm closing this for now. |
Fixes #611 and the final remaining issue in #624
I'm not experienced with Objective-C so please review my code carefully!