googlemaps / googlemaps/android-maps-compose

StrictMode detectDiskReads() causes Google Maps to be extremely laggy and ANRs

Aperta
#159 3 commenti 4 reazioni 1 assegnatario Rivendicata da @barbeau Vedi su GitHub
priority: p3 type: bug
Lingua principale
Kotlin
Stelle
1.3k
Fork
181
Merge medio
2g 23h
PR unite (30g)
18

Descrizione

Thanks for stopping by to let us know something could be better!

---
**PLEASE READ**

If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/). This will ensure a timely response.

Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform [support resources page](https://developers.google.com/maps/support/).

If your bug or feature request is not related to this particular library, please visit the Google Maps Platform [issue trackers](https://developers.google.com/maps/support/#issue_tracker).

Check for answers on StackOverflow with the [google-maps](http://stackoverflow.com/questions/tagged/google-maps) tag.

---

Please be sure to include as much information as possible:

#### Environment details

Library version: Tested with Maps Compose 1.2.0 and 2.2.1

#### Steps to reproduce

1. Enable detect disk reads in StrictMode (see code example)

#### Code example

```
StrictMode.setThreadPolicy(
ThreadPolicy.Builder()
.detectDiskReads()
.build()
)
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.