-
Notifications
You must be signed in to change notification settings - Fork 584
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
UIWebView Deprecation warning by Apple #398
Comments
This plugin supports WKWebView.
I think you should remove UIWebView instance from NfcPlugin.m in ios folder |
@JoshuvaGeorge03 your app got rejected because of this? It's a conditional reference that can probably be removed like @tzeroem suggests. |
@don Could you please advise how to use WKWebView in PhoneGap-NFC? |
@tzeroem Could you please say how to remove UIWebView instance from NfcPlugin.m? Please advice. |
@JoshuvaGeorge03 newer versions of Cordova/PhoneGap should use WKWebView The ObjectiveC code in the plugin needs to execute some Javascript in the UI. This code checks to see if your app is using UIWebView or WKWebView and calls the function on the correct one. phonegap-nfc/src/ios/NfcPlugin.m Lines 117 to 122 in df3afc1
I don't want to remove that code immediately because it will break older apps. If your app was rejected by Apple because of this UIWebView let me know and I'll bump up the priority on this fix. |
@don I have got a warning message from apple for now. But it should be done for every app I think. Because apple will stop accepting apps with UIWebView reference from December 2020. Please check this link for more info |
@JoshuvaGeorge03 this is just a warning. Ignore it for now. The next release will fix it. |
@don Thanks, keenly waiting for that |
PR #399 removed UIWebView. Changes published in phonegap-nfc-1.1.0. |
Thanks for the wonderful plugin.
Please refer below. According to apple, When the app contains a reference to UIWebView, they won't allow permission into AppStore. I have found out phonegap-nfc has a reference to UIWebView. Please advise, what to do to fix this issue?
(https://developer.apple.com/news/?id=12232019b)
The text was updated successfully, but these errors were encountered: