Skip to content

Conversation

@Ph0tonic
Copy link
Contributor

@Ph0tonic Ph0tonic commented Jul 25, 2020

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

@Ph0tonic Ph0tonic force-pushed the p0-offline-plugin-cancel-download branch from b678813 to e75a8a0 Compare July 28, 2020 11:14
@Ph0tonic
Copy link
Contributor Author

Ph0tonic commented Jul 29, 2020

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 👍

@Ph0tonic
Copy link
Contributor Author

Hello,
Any updates on this ?
@mapbox/maps-android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cancel download should remove region definition

2 participants