Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Here Map is not in the backward of all stack widget. #48

Closed
izzabellerina opened this issue Jul 5, 2022 · 7 comments
Closed

Here Map is not in the backward of all stack widget. #48

izzabellerina opened this issue Jul 5, 2022 · 7 comments

Comments

@izzabellerina
Copy link

izzabellerina commented Jul 5, 2022

Hello everyone, so I face the problem is that the here map is on the front of all stack widgets and it covers all of the stack widgets even bottomNavigationBar and appbar or else. I have tried to use the here map in another project and it worked before. but now it does not work for any project anyway.
What should I do?

This is my flutter doctor.
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/pnall02/Library/Android/sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.68.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
• SM A105G (mobile) • R58M78MSNQJ • android-arm • Android 9 (API 28)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.3 21E230 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 103.0.5060.53

[✓] HTTP Host Availability
• All required HTTP hosts are available

! Doctor found issues in 1 category.
Process finished with exit code 0

@MaKra
Copy link
Member

MaKra commented Jul 5, 2022

In case you are using flutter3, there are major bugs in Flutter 3 affecting platform views (for many 3rd party plugins):
flutter/flutter#103630
this will probably get fixed with Flutter 3.1 as I can read on the flutter thread.
As a workaround downgrading to Flutter 2.10 would be the only way around.

@izzabellerina
Copy link
Author

In case you are using flutter3, there are major bugs in Flutter 3 affecting platform views (for many 3rd party plugins): flutter/flutter#103630 this will probably get fixed with Flutter 3.1 as I can read on the flutter thread. As a workaround downgrading to Flutter 2.10 would be the only way around.

ok , Thank you

@stuartmorgan
Copy link

Does this reproduce on Flutter master? There's a complicated set of changes that affect different plugins differently, and I don't have access to the plugin so I can't tell which codepath they are on, and if the changes that have already been made addressed this plugin's issue or not.

@ppiatkowski-here Could you provide any information about the platform view mode this plugin uses? Specifically:

  • Prior to Flutter 3.0, was it using Virtual Display, or Hybrid Composition?
  • Is the underlying android view the plugin vends a SurfaceView? (If not, is it a TextureView? Other?)

@ppiatkowski-here
Copy link
Collaborator

Hello @stuartmorgan
Thanks for reaching out to us.

I can’t speak on behalf of @izzabellerina. For us the issue looks to be solved with Flutter 3.1.0-0.0.pre.1703 (current master).
We are using Virtual Display in our plugin. We return an AndroidView.

@stuartmorgan
Copy link

Thanks for the information; it sounds like this was indeed fixed by the change to keep SurfaceView plugins on the Virtual Display codepath.

@stefan-troyke
Copy link
Contributor

We started testing the latest Flutter version and hope it fixes the mentioned issue. We plan the Flutter 3.3.x support for version 1.5.0.

@stefan-troyke
Copy link
Contributor

Hi, we integrated the Flutter version 3.3.2 and if you switch to the usage of hybrid composition in combination to render to an texture view you can workaround the issues for Android 12.

The corresponding Flutter ticket is flutter/flutter#89558. See especially comment flutter/flutter#89558 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants