-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[google_maps_flutter] Add ability to perform Google Maps SDK warmup #9674
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
Changes from 18 commits
1c21fd5
8340c92
0f7eb5e
4fbb635
5d2fa59
2f88081
c656c24
a995242
6e6264c
cf2db77
fd4d680
99d3bb1
a4a6fe3
8b9878e
8fb6c08
5108d94
fd35ad3
08d3ded
0efe9d7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -786,6 +786,11 @@ abstract class MapsInitializerApi { | |
| @async | ||
| PlatformRendererType initializeWithPreferredRenderer( | ||
| PlatformRendererType? type); | ||
|
|
||
| /// Attempts to trigger any thread-blocking work | ||
| /// the Google Maps SDK normally does when a map is shown for the first time. | ||
| @async | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I missed this in previous review: why is this marked
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah! Damn, sorry I missed it. The original code was async but then I found out it wouldn't work so I made it synchronous — and promptly forgot about this being async. Addressed. |
||
| void warmup(); | ||
| } | ||
|
|
||
| /// Dummy interface to force generation of the platform view creation params, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.