question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS Deprecated API Usage Warning

See original GitHub issue

Just submitted my app to TestFlight and got an email with the error:

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

I was wondering if all the code related to UIWebView will have to be removed and only keep WKWebView.

It was just a warning, the build ended up being available on TestFlight, but I think this is something that will have to be addressed at some point.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:65
  • Comments:155 (4 by maintainers)

github_iconTop GitHub Comments

126reactions
lchenfoxcommented, Aug 30, 2019

If you are using useWebKit={true}, that is to say, you are using WKWebView not UIWebView at all. Then you can do the following to solve the problem – Deprecated API Usage.

1. Remove Libraries/RNCWebView.xcodeproj/RNCUIWebView.h、RNCUIWebView.m、RNCUIWebViewManager.h、RNCUIWebViewManager.m 2. Remove Libraries/React.xcodeproj/React/Views/RCTWebView.h、RCTWebView.m、RCTWebViewManager.h、RCTWebViewManager.m

Now I has already uploaded app.ipa to AppStore successfully without any permission warnings.

That’s all. I works for me. Hope it helps.

52reactions
tarunbhutanicommented, Aug 29, 2019

I have also received the same error, while I am not using UIWebview in my application at all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ITMS-90809: Deprecated API Usage - Apple Developer
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.
Read more >
What Is a Deprecated API on iOS? - PSPDFKit
When an API is deprecated, it means Apple doesn't recommend using that API, but the API is (almost always) still functional. Typically, this...
Read more >
Still getting warning "Deprecated API Usage from App Store ...
Deprecated API Usage - Apple will stop accepting submissions of new apps that use UIWebView - From App Store Team. I'm not getting...
Read more >
UPDATED: How to handle the 'Deprecated API Usage
We are talking about this warning: ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs.
Read more >
Deprecated API Usage Warning from Apple - SugarClub
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of new apps that use UIWebView APIs starting from April 2020.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found