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

onMapCreated is not called in 2.0.0-beta #69

Open
mynameiskenlee opened this issue Jun 4, 2024 · 0 comments · May be fixed by #70
Open

onMapCreated is not called in 2.0.0-beta #69

mynameiskenlee opened this issue Jun 4, 2024 · 0 comments · May be fixed by #70
Assignees
Labels
bug Something isn't working

Comments

@mynameiskenlee
Copy link

Describe the bug
onMapCreated is not called in 2.0.0-beta, and after some investigation, onMapCreated: onMapCreated, is missing in the PlatformMap constructor.
https://github.com/albert-heijn-technology/platform_maps_flutter/blob/b722116ebcd8ec8cf4bde27dee30f58a8c54f368/packages/platform_maps_flutter_platform_interface/lib/src/platform_map.dart

After adding that back, everything works as expected.

To Reproduce
Steps to reproduce the behaviour:

  1. Create a Platform Map Widget
  2. log when onMapCreated is called

Expected behavior
A clear and concise description of what you expected to happen.
It should called onMapCreated function, but nothing is called

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6] iPhone SE 2022
  • Version [e.g. 22] iOS 17.5

flutter doctor
Please add the flutter doctor output.

flutter doctor -v
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.5 23F79 darwin-arm64, locale
    en-GB)
    • Flutter version 3.19.6 on channel stable at
      /opt/homebrew/Caskroom/flutter/3.19.3/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (7 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /opt/homebrew/share/android-commandlinetools
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment Homebrew (build 17.0.11+0)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

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

[!] Android Studio (not installed)
    • Android Studio not found; download from
      https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup
      for detailed instructions).

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (3 available)
    • Ken’s iPhone (mobile) • 00008110-0016491E0C28401E • ios            • iOS
      17.5.1 21F90
    • macOS (desktop)       • macos                     • darwin-arm64   • macOS
      14.5 23F79 darwin-arm64
    • Chrome (web)          • chrome                    • web-javascript •
      Google Chrome 125.0.6422.141
    ! Error: Browsing on the local area network for Ken’s iPad. Ensure the
      device is unlocked and attached with a cable or associated with the same
      local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code
      -27)

[✓] Network resources
    • All expected network resources are available.
@mynameiskenlee mynameiskenlee added the bug Something isn't working label Jun 4, 2024
@mynameiskenlee mynameiskenlee linked a pull request Jun 4, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants