Cancel download should remove currently downloaded map
I had a look at the code of the offline plugin and find out what might cause the cancel download not to delete the currently downloading map.
This is a PR to fixes #189
Note : I have not been able to actually test that this fix the issue as there is no cancel button in the demo app but in any case what I changed is pretty straightforward and I strongly believe that the previous versions might prevent the map to be deleted.
Any comment and review is most welcome @tobrun, @LukasPaczos and @langsmith
I have finally been able to test it and it's working as expected. The problem happened only when the UUID of an OfflineDownloadOptions was bigger than an int and was converted to an int instead of keeping it as a long.
@LukasPaczos and @tobrun this PR is now definitely ready for a review 👍
Hello, Any updates on this ? @mapbox/maps-android