这是indexloc提供的服务,不要输入任何密码
Skip to content

[iOS][WebView] Gesture recognizers not blocked in iOS 13.4 and 13.5 #53490

@iKK001

Description

@iKK001

After having installed Mac OS Catalina 10.15.4, Xcode 11.4 and iOS13.4, my Flutter Application running on iOS (simulator and actual device [iPhoneX]) is very buggy !

Before, I had a floatingActionButton working fine. And also Drawer (left and right) where working fine.

Underneath the FloatingActionButton and Drawers is a WebView.

But after the Mac SW update:

  • floatingActionButton makes a screen-freeze
  • Drawer shows but freezes when trying to close it

I tried the following two configs:
1.) Flutter STABLE 1.12.13+hotfix.8, plus the Xcode-11.4 workaround described here...
2.) Flutter BETA 1.15.17

But, again, for both configs same error behaviour under iOS - screen-freezes without error-message.

On Android, everything works fine.

What is wrong under iOS?

Here excerpts of the pubspec.yaml :

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  webview_flutter: ^0.3.19+9
  cloud_firestore: ^0.13.4+1
  firebase_core: ^0.4.4+2
  firebase_auth: 0.15.3
  provider: ^4.0.4
  flutter_spinkit: ^4.1.2
  device_info: ^0.4.2+1
  page_transition: ^1.1.5
  package_info: ^0.4.0+16
  crypto: ^2.1.3
  shared_preferences: ^0.5.6+3
  url_launcher: ^5.4.2
  flutter_background_geolocation: ^1.7.1

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dependency_overrides:
  firebase_core: 0.4.4

dev_dependencies:
  flutter_test:
    sdk: flutter

Here is my flutter doctor -v :

[✓] Flutter (Channel beta, v1.15.17, on Mac OS X 10.15.4 19E266, locale en-CH)
    • Flutter version 1.15.17 at /Users/myName/Documents/flutter
    • Framework revision 2294d75bfa (3 weeks ago), 2020-03-07 00:28:38 +0900Engine revision 5aff311948
    • Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/myName/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/DeveloperXcode 11.4, Build version 11E146CocoaPods version 1.8.4

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/ContentsFlutter plugin version 44.0.2Dart plugin version 192.7761Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.43.2)
    • VS Code at /Applications/Visual Studio Code.app/ContentsFlutter extension version 3.8.1

[✓] Connected device (2 available)
    • Android SDK built for x86 • emulator-5554                            • android-x86 • Android 10 (API 29) (emulator)
    • MyPhone                     • d709a13432kjie7429258466dbas3f29r45gdl8s • ios         • iOS 13.4No issues found!

edited by cyanglaz
Internal: b/155322611

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: platform-viewsEmbedding Android/iOS views in Flutter appsc: regressionIt was better in the past than it is nowcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.customer: money (g3)e: OS-version specificAffects only some versions of the relevant operating systemf: gesturesflutter/packages/flutter/gestures repository.p: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions