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

Hot restart not working due to Google Maps Flutter issue #2097

Open
7 tasks
morebytes opened this issue Nov 14, 2024 · 0 comments
Open
7 tasks

Hot restart not working due to Google Maps Flutter issue #2097

morebytes opened this issue Nov 14, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@morebytes
Copy link
Contributor

  • Pull from upstream to get the latest code
  • Checkout the feature branch
  • Compile and run the code
  • Reproduce the bug
  • Fix the bug
  • Test locally on a device
  • Create Pull Request

When doing a hot restart on Android, it will freeze up due to an issue with Google Maps Flutter library:

I/flutter ( 4550): ----------------FIREBASE CRASHLYTICS----------------
I/flutter ( 4550): PlatformException(Renderer already initialized, Renderer initialization called multiple times, null, null)
I/flutter ( 4550): #0      MapsInitializerApi.initializeWithPreferredRenderer (package:google_maps_flutter_android/src/messages.g.dart:2945:7)
I/flutter ( 4550): <asynchronous suspension>
I/flutter ( 4550): #1      GoogleMapsFlutterAndroid.initializeWithRenderer (package:google_maps_flutter_android/src/google_maps_flutter_android.dart:494:9)
I/flutter ( 4550): <asynchronous suspension>
I/flutter ( 4550): #2      main.<anonymous closure> (package:campus_mobile_experimental/main.dart:36:7)
I/flutter ( 4550): <asynchronous suspension>

Also suspected to not work on iOS. The package can currently be upgraded without any breaking changes.

@morebytes morebytes added the Bug Something isn't working label Nov 14, 2024
@morebytes morebytes moved this to Backlog in Campus Mobile Nov 19, 2024
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
Status: Backlog
Development

No branches or pull requests

1 participant