-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #661: Removed all UIWebView code. #663
Conversation
I don't see why #662 should not work if the preference is set correctly. All |
I added this line on the iOS platform section in my config.xml:
Then I removed the iOS platform altogether and added it back, and made sure on XCode that the Then I cleaned the build folder and built and ran the app which was working just fine using So I make an Archive and submitted the app to AppStore Connect. And I still got the warning. I tried to completely remove the Then I worked on removing all reference of Also I think that using an optional compile time preference isn’t a good idea. Because Apple will not just deprecate the In a nutshell, as |
… plugin forked from cordova-plugin-wkwebview-engine
Will this PR be merged anytime soon or are we all going to install @bpresles 's fork? |
We haven't decided yet how to handle Apple's deprecation warning, please see (and participate :)) in the discussion here: apache/cordova-discuss#110 |
Any news on this? This would be really appreciated, thanks. |
This seems to be mostly done, why hasn't this been merged yet? Apple has been giving the notice for a while now. |
@@ -6,9 +6,9 @@ | |||
to you under the Apache License, Version 2.0 (the | |||
"License"); you may not use this file except in compliance | |||
with the License. You may obtain a copy of the License at | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the extra space added here and on line 11
Thanks guys for the contribution and the followup. This is under discussion in apache/cordova-discuss#110, and there are multiple blocking factors right now:
While I would agree that this is pretty urgent, we would appreciate a little bit of slack and some benefit of the doubt. I would rephrase the followup question something like this: "What is the status? This looks pretty urgent." Guys please DO feel free to follow up with us from time to time. I did just push the discussion in this comment: apache/cordova-discuss#110 (comment) I would also recommend you guys consider following up via mailing list or slack, our contact is here: https://cordova.apache.org/contact/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks to me like a few modules were deleted and a few others were added. I have a feeling it should be possible to use git mv
to rename modules as needed before making the changes. This would save us a lot of time when reviewing.
One more suggestion for the next time is to raise a PR from a new branch, not from your master branch. https://blog.jasonmeridth.com/posts/do-not-issue-pull-requests-from-your-master-branch/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR #662 seems to be a much simpler solution.
@bpresles Can you rebase this PR with master and resolve the conflicts? Also, is it possible to renamed the classes with the prefix of Since @dpogue @jcesarmobile Do you have any opinions on using |
I think at this point is simpler to create a new PR, since the conflicts are due to the conditional compiler flag and it's going to take more time to sync all those files than creating a new PR. |
Any news about this? |
I cannot comment about when 6.0 will be released but you can handle the uiwebview issue on 5.1.1 see https://cordova.apache.org/howto/2020/03/18/wkwebviewonly.html to learn how. |
Thanks for the quick response, i'll try your recommendation later! |
Working correctly now, the build was accepted correctly, thanks for the info, anyway i'm still having issues with the oficial archived PayPal mobile sdk cordova plugin, so i'm looking a solution for this now... |
I tried to find the source, but couldn't - I just read on of these issues that Paypal SDK is deprecated and users should move to BrainTree or one other solution. |
The paypal plugin provided by PayPal itself appears to be referencing As the PayPal deprecated that SDK, and the sdk appears to be closed-source, the only solution is to move away from using the paypal sdk. Their deprecation notice can be found on their README, which contains this text:
So specifically, the solution will depend on your situation. Hope this puts you on the right track, but I'll be locking this because this is not the place for support. If you have further questions on anything cordova related, please use our slack. For questions regarding the new way to use PayPal, you'll likely be better off going through their support channels. |
Removed all UIWebView related code.
Replaced default engine by CDVWKWebViewEngine.
Platforms affected
Motivation and Context
I've tested the pull request from #662, but the AppStore Connect still reported "ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs." with it (I tripled check that the WKWebViewOnly preference was correctly taken in account).
Also I don't think that doing a half way solution at compile time, instead of removing the UIWebView code altogether, is a good solution.
If the UIWebView is deprecated, than remove the code altogether as it'll be useless in the near future. People wanting to still use UIWebView can either use a UIWebView engine as a plugin or use older version of cordova-ios.
#661
Description
Removed all UIWebView code and replaced default engine by CDVWKWebViewEngine from cordova-plugin-wkwebview-engine (making it useless now).
Testing
Checklist
(platform)
if this change only applies to one platform (e.g.(android)
)