-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[google_maps_flutter] iOS infoWindow is not showing always #159471
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
Comments
@ice1250
|
This comment was marked as duplicate.
This comment was marked as duplicate.
Can confirm on iOS simulator and real device. Forcing on tap
Rollback of plugin version does not fix the issue.
|
Guys, i resolve this issue creating my own PopOver. I used this lib https://pub.dev/packages/custom_info_window and make my layout. |
I see no info window at all on
|
I tried to debug it yesterday in Hoping we can slap a priority on this. I think the issue has been present for quite a lot longer than this ticket and iOS is unusable. |
the source of the problem is here at version 2.13.2 https://pub.dev/packages/google_maps_flutter_ios/changelog to continue your life without waiting for them to fix it, use version 2.13.1 note: do not put "^" before the version number or else it will roll itself to 2.13.2 again :D dependency_overrides:
google_maps_flutter_ios: 2.13.1 |
2.13.1, 2.13.0 flashes the info window then it disappears for me. Only on iOS so it's not my code. |
@BenjiFarquhar make sure you have done this flutter clean
rm pubspec.lock
rm -rf ./ios/.symlinks
rm -rf ./ios/Pods
rm ./ios/Podfile.lock
flutter pub get
cd ios ; pod repo update ; pod update ; cd ..
flutter run If you are using vscode in the side panel there is "DEPENDENCIES" vertical tab open transient dependency section and check google_maps_flutter_ios version in its pubspec.yaml it should be "2.13.1" |
Cheers but i've done it, I'm experiencing different behaviour on 2.13.2 and 2.13.1, so the different versions are being run successfully. |
I'm experiencing the same issue. The info window doesn't show up when I tap on the marker. It works on Android but not iOS. I'm using |
i can confirm. getting infowindow again when using this override |
I've found out that I update the markers to display a different bitmap image for the marker (my "selected" marker icon is different). Let me know if there is another way to update a marker icon that doesn't update all the markers, but it works on web and android as it is. |
@edex96 Thank you for providing the code example. I tested it, and it indeed demonstrates the bug with Compressed_Simulator_Screen_Recording_Final.mp4
|
@BenjiFarquhar I suspect your versions may have something to do with this bug.
environment:
sdk: ^3.6.0
dependencies:
...
google_maps_flutter: ^2.9.0
dependency_overrides:
google_maps_flutter_ios: 2.13.1 |
@BenjiFarquhar if (selectedMarker?.markerId == markerId) {
// Deselect marker if it's already selected
setSelectedToNormal();
refresh();
return;
} Also here you've moved selectedMarker control inside the setSelectedMarker turns the already simple code block into a complex one. void setSelectedMarker(MarkerId markerId) {
// Reset previously selected marker if exists
if (selectedMarker != null) {
setSelectedToNormal();
}
... |
I add this on Podfile |
Update & Solution: Env pubspeck.yaml dependencies: dependency_overrides: Podfile in my case before this setting InfoWindow does not appear anytime, after this time is stable like before |
This should be included in the stable channel of the plugin, why we should do this kind of workaround. |
This dependency solved the problem: dependency_overrides: |
This dependency solved the problem: |
is this fixed in 2.14? |
This still exists in latest version of flutter 3.29.2 and also latest version of google maps packages For me it only worked with the following versions: |
@darshankawar its been 4 months, can anyone fix this? |
The fix is not coming any soon I guess 😕 You can use below code to fix it for ios. dependencies:
...
google_maps_flutter: 2.10.0
dependency_overrides:
google_maps_flutter_ios: 2.13.1 Note: if you put "^" you'll get error |
This comment has been minimized.
This comment has been minimized.
Fixes a regression introduced during the migration to structured Pigeon data (flutter#8142), where the info window data was not passed through to the underlying SDK marker object. This wasn't caught because there was apparently no native unit testing of marker properties, and this level of info window detail isn't inspected in integration tests. Adds missing tests, and backfills tests for other marker properties as well. Fixes flutter/flutter#159471 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
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 |
Fixes a regression introduced during the migration to structured Pigeon data (flutter/packages#8142), where the info window data was not passed through to the underlying SDK marker object. This wasn't caught because there was apparently no native unit testing of marker properties, and this level of info window detail isn't inspected in integration tests. Adds missing tests, and backfills tests for other marker properties as well. Fixes flutter/flutter#159471 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Fixes a regression introduced during the migration to structured Pigeon data (flutter/packages#8142), where the info window data was not passed through to the underlying SDK marker object. This wasn't caught because there was apparently no native unit testing of marker properties, and this level of info window detail isn't inspected in integration tests. Adds missing tests, and backfills tests for other marker properties as well. Fixes flutter/flutter#159471 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
Click on a marker in the Google sample code
Expected results
The InfoWindow should be �showing
Actual results
The InfoWindow is not showing.
This issue only occurs on iOS. It does not occur on Android.
ios version : 17.5
My yaml code ..
name: flutter_application_1
description: "A new Flutter project."
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.5.4
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.8
google_maps_flutter: ^2.10.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
flutter:
uses-material-design: true
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]

Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: