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

Viewed 39

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.

1 Answers

The problem was null pointer..

Related