-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed
flutter/plugins
#2127Labels
a: annoyanceRepeatedly frustrating issues with non-experimental functionalityRepeatedly frustrating issues with non-experimental functionalitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.p: google_sign_inThe Google Sign-In pluginThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight
Milestone
Description
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
AlexMougenet, mouse-lin, fralways, SebastianEngel, jaumard and 25 more
Metadata
Metadata
Assignees
Labels
a: annoyanceRepeatedly frustrating issues with non-experimental functionalityRepeatedly frustrating issues with non-experimental functionalitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.p: google_sign_inThe Google Sign-In pluginThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallywaiting for PR to land (fixed)A fix is in flightA fix is in flight
Activity
fralways commentedon Aug 29, 2019
Just a lucky guess, maybe https://github.com/flutter/plugins/tree/master/packages/url_launcher uses uiwebview and is causing this.
SpiciedCrab commentedon Aug 29, 2019
@fralways but it's not included in my app..
mouse-lin commentedon Aug 29, 2019
Is there any WKWebView in your project?
formatCvt commentedon Aug 29, 2019
@SpiciedCrab check your
pubspec.lock
file forurl_launcher
maybe one of your plugins depends on old version of url_launcherSheriefAlaa commentedon Aug 29, 2019
can confirm I have the same problem and there's no entry in my
pubspec.lock
withurl_launcher
. I am suspectinghttps://pub.dev/packages/google_maps_flutter
because I enabledio.flutter.embedded_views_preview
as prescribed in the library's doc.per-activote commentedon Aug 29, 2019
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 commentedon Aug 29, 2019
I see the same issue during upload and I believe for me it's the plugins for Firebase Auth and Firebase Dynamic Links.
eseidelGoogle commentedon Aug 29, 2019
@amirh @collinjackson
madmeemo commentedon Aug 29, 2019
This was just fixed by the firebase team. firebase/firebase-ios-sdk#3723
57 remaining items
thenexus00 commentedon Mar 3, 2020
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 commentedon Mar 3, 2020
oliverbytes commentedon Mar 6, 2020
I hope we get a concrete solution soon! April 2020 is almost here.
KorbinianMossandl commentedon Mar 6, 2020
@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 commentedon Mar 6, 2020
Why is this issue closed? Isn't it being tracked anywhere?
KorbinianMossandl commentedon Mar 6, 2020
@collinjackson this issue is still happening and we only have a few weeks left before apple will stop allowing submissions
LiNiVi21 commentedon Mar 16, 2020
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 commentedon Mar 16, 2020
Any official announcement/update, please?
KorbinianMossandl commentedon Mar 17, 2020
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 commentedon Mar 17, 2020
@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 commentedon Mar 17, 2020
@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 commentedon Mar 18, 2020
@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 commentedon Apr 4, 2020
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.