Skip to content

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. #39470

@SpiciedCrab

Description

@SpiciedCrab

When I archive the binary file for App Store today, the following issues occurs :

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.

but it doesn't appear before since I'm using the same packages in pubspec.yaml, and no UIWebview in iOS plugins used.

So please check whether it exists in flutter...

Flutter doctor info:

[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.3 18D42, locale
    zh-Hans-CN)
    • Flutter version 1.7.8+hotfix.4 at
      /Users/harly/Library/Developer/Flutter/flutter
    • Framework revision 20e59316b8 (6 周前), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0


[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/harly/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.6.1

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.32.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.25.0

Activity

fralways

fralways commented on Aug 29, 2019

@fralways

Just a lucky guess, maybe https://github.com/flutter/plugins/tree/master/packages/url_launcher uses uiwebview and is causing this.

SpiciedCrab

SpiciedCrab commented on Aug 29, 2019

@SpiciedCrab
Author

@fralways but it's not included in my app..

mouse-lin

mouse-lin commented on Aug 29, 2019

@mouse-lin

Is there any WKWebView in your project?

formatCvt

formatCvt commented on Aug 29, 2019

@formatCvt

@SpiciedCrab check your pubspec.lock file for url_launcher maybe one of your plugins depends on old version of url_launcher

SheriefAlaa

SheriefAlaa commented on Aug 29, 2019

@SheriefAlaa

@SpiciedCrab check your pubspec.lock file for url_launcher maybe one of your plugins depends on old version of url_launcher

can confirm I have the same problem and there's no entry in my pubspec.lock with url_launcher. I am suspecting https://pub.dev/packages/google_maps_flutter because I enabled io.flutter.embedded_views_preview as prescribed in the library's doc.

per-activote

per-activote commented on Aug 29, 2019

@per-activote

Do you happen to have firebase_auth as a package? I'm running into the same problem and that's the only package that I've found that I'm including that seems to be using UIWebView based on a quick search through the package source code.

alardizabal

alardizabal commented on Aug 29, 2019

@alardizabal

Do you happen to have firebase_auth as a package? I'm running into the same problem and that's the only package that I've found that I'm including that seems to be using UIWebView based on a quick search through the package source code.

I see the same issue during upload and I believe for me it's the plugins for Firebase Auth and Firebase Dynamic Links.

eseidelGoogle

eseidelGoogle commented on Aug 29, 2019

@eseidelGoogle
Contributor
madmeemo

madmeemo commented on Aug 29, 2019

@madmeemo

This was just fixed by the firebase team. firebase/firebase-ios-sdk#3723

57 remaining items

thenexus00

thenexus00 commented on Mar 3, 2020

@thenexus00

I had this as well today.
The latest version of url_launcher has still not changed over.

Updating Firebase..
firebase_storage
firebase_database
Mainly corrected the errors there so it has been addressed here.

@bumasoft on the build it should have the path with regard to the error which identifies the package at fault.

bumasoft

bumasoft commented on Mar 3, 2020

@bumasoft
oliverbytes

oliverbytes commented on Mar 6, 2020

@oliverbytes

I hope we get a concrete solution soon! April 2020 is almost here.

KorbinianMossandl

KorbinianMossandl commented on Mar 6, 2020

@KorbinianMossandl

@thenexus00
i have no info about the depricated API in my build log, but still get the warning when submitting to apple. any other ideas how to identify the culprit?

sajalgarg

sajalgarg commented on Mar 6, 2020

@sajalgarg

Why is this issue closed? Isn't it being tracked anywhere?

KorbinianMossandl

KorbinianMossandl commented on Mar 6, 2020

@KorbinianMossandl

@collinjackson this issue is still happening and we only have a few weeks left before apple will stop allowing submissions

LiNiVi21

LiNiVi21 commented on Mar 16, 2020

@LiNiVi21

It's still happening to me and I am using the latest Xamarin.Forms 4.5.0.356 which suppose to resolve that issue.

oliverbytes

oliverbytes commented on Mar 16, 2020

@oliverbytes

Any official announcement/update, please?

KorbinianMossandl

KorbinianMossandl commented on Mar 17, 2020

@KorbinianMossandl

So after tinkering with this problem for some time let me share my findings:
i can confirm that the issue is not within flutter and also not within any plugins from the flutter team. if you are getting this you are importing a package that still uses the UIWebView API. BUT one thing that took me some time and maybe should be fixed: if you remove a package from the pubspec.yaml it does NOT automatically get removed from your podfile.lock. So even if you remove the package in question there, you still need to completely rebuild the podfile.lock to get rid of the imports.

For me the package in question was zendesk chat. the problem here is that zendesk has a precompiled package for iOS so finding the UIWebView by simple code search did not work. They also have no fix available yet, so we will see how things go starting april.

Hope this is to some help for others having this issue.

sajalgarg

sajalgarg commented on Mar 17, 2020

@sajalgarg

@KorbinianMossandl What do you mean by rebuilding podfile.lock. I deleted the file and run flutter build ios but got the same error message.

KorbinianMossandl

KorbinianMossandl commented on Mar 17, 2020

@KorbinianMossandl

@sajalgarg thats one way to rebuild it, yes. in that case you must be using a package that still uses UIWebView.
you can try to run grep -r "UIWebView" . in your project folder to find the culprit.

sajalgarg

sajalgarg commented on Mar 18, 2020

@sajalgarg

@KorbinianMossandl Thanks a lot. The error got resolved
With grep command, I found the issue was in google_sign_in plugin. I updated the the plugin in podspec, deleted podfile.lock and rebuild the project.

lock

lock commented on Apr 4, 2020

@lock

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

locked and limited conversation to collaborators on Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: annoyanceRepeatedly frustrating issues with non-experimental functionalitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.p: google_sign_inThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallywaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Relationships

None yet

    Participants

    @mouse-lin@collinjackson@oliverbytes@Hixie@filiph

    Issue actions

      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. · Issue #39470 · flutter/flutter