I need help in the "Offline Maps" section, I have been trying to implement this function for a while and I have something done but it doesn't work, I know that Mapbox has its own plugin but I can not implement it in my application. This is my code from develop branch.
I post my code issue on GitHub, in case someone can see carefully what I have done and maybe I can give a solution. Currently it seems that it will download the map but it stays in an infinite loop and does not download. It may be easier to use the Offline Mapbox Plugin but I do not know how to configure it.