fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 929 forks source link

The App Store will no longer accept new apps using UIWebView #859

Open QuangAnh84 opened 3 years ago

QuangAnh84 commented 3 years ago

Hi,

I got the message from Apple when upload my app: ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

I didn't use this library directly but the aad_oauth used.

I searched in source code and it seems that we already use WKWebView instead of. Just one place we can search UIWebView in ios/Classes/FlutterWebviewPlugin.m line comment 5 // UIWebViewDelegate

Is it the case, Apple automatic scan this comment line and reject my app?

System info

Issue occurs on: iOS Plugin version: 0.3.11

Pubspec: shared_preferences: ^0.5.3+4 vibration: ^1.2.1 camera: ^0.5.4+2 fast_qr_reader_view: git: url: https://github.com/facundomedica/fast_qr_reader_view.git path_provider: ^1.3.0 intro_slider: ^2.2.8 crypto: ^2.1.3 http: ^0.12.0+2 location: ^2.3.5 device_info: ^0.4.1+2 aad_oauth: ^0.2.0 settings_ui: ^0.1.1 audioplayers: ^0.13.5 flutter_launcher_icons: ^0.7.4 google_sign_in: ^4.1.1 flutter_facebook_login: ^3.0.0 flutter_twitter_login: git: url: https://github.com/eudangeld/flutter_twitter_login.git fluttertoast: ^3.1.3 package_info: 0.4.1 twitter_api: 0.1.2 sign_in_with_apple: ^2.5.4 json_serializable: ^3.2.2 connectivity: ^0.4.6+2 material_design_icons_flutter: 3.2.4096 cupertino_icons: ^0.1.2

Flutter doctor output [✓] Flutter (Channel master, 1.24.0-4.0.pre.57, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-VN) • Flutter version 1.24.0-4.0.pre.57 at /Users/it/Desktop/Backup/QAD/flutter • Framework revision fdac8a9d1f (7 weeks ago), 2020-10-25 19:47:02 -0400 • Engine revision d4a3c9c471 • Dart version 2.11.0 (build 2.11.0-256.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) • Android SDK at /Users/it/Library/Android/sdk • Platform android-30, build-tools 30.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.2, Build version 12B45b • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 50.0.1 • Dart plugin version 193.7547 • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

empeusz commented 3 years ago

@QuangAnh84 have you found any solution ? I'm also stuck with it - Apple keeps rejecting my submission

SagarDhiman018 commented 2 years ago

Hi all, Any solution? i'm getting the same issue.