Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[google_maps_flutter] Fix memory alarm and map initialization issue
When using a google map's addListener(), do not call the Javascript object directly. This extremely increases memory usage. Do: map.addListener('bounds_changed', (event) => { BoundChanged.postMessage('') }); Do not: map.addListener('bounds_changed', BoundChanged.postMessage);
- Loading branch information