Skip to content
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

Apple deprecated warning email: cordova-plugin-ionic-migrate-storage uses UIWebView #1

Open
rajashekaranugu opened this issue Jan 9, 2020 · 2 comments

Comments

@rajashekaranugu
Copy link

@kassamina, Your plugin has helped us lot in regarding with the migration of local storage, but we are receiving the Apple warning email in regards to the usage of deprecated API, "UIWebView".

Can you please help us in regards to this.

We are already using cordova-ios 5.1.1 and in config and all other plugins are using WK web view except this plugin.

Really appreciate your valuable time and help on this

Thanks
Raj

@kassamina
Copy link
Owner

It looks to be referencing UIWebView from "#import <Cordova/CDVPlugin.h>"

I do not believe the migration itself requires UIWebView, though I have not tested this.

I suspect something like this is needed for all references to UIWebView to be removed.

apache/cordova-ios@9ddc382

This change is still in PR, and to my knowledge the ios platform itself still has references to UIWebView.

@rajashekaranugu
Copy link
Author

Hi @kassamina thank you for the response.

The migration of local storage is not working when I use
< preference name="WKWebViewOnly" value="true" /> in config.xml under ios platform.

I was adding this to avoid the warning email from apple but the local storage is not migrating.

can you please confirm? will this plugin not work if we use < preference name="WKWebViewOnly" value="true" /> ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants