简体   繁体   中英

Flutter Mapbox GL doesn't work after closing the apk (and opening again)

MapBox works on emulator and when connected via cable, but it doesn't work on the APK, precisely: it works the first time you open the apk(it draws a path on a map), but when you close the app and open it again, it doesn't draw any path.

Deleting user data and cache didn't do the trick, only clean uninstall and install worked

Any ideas why this would occur?

Why does it work the first time?

Is it some permission again?

We are using this package and GetX for state management and we are testing on android phones.

The problem was null pointer..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM