Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force resetting the navigation cache for offline usage #1733

Open
lendannau opened this issue Jul 7, 2023 · 1 comment
Open

Force resetting the navigation cache for offline usage #1733

lendannau opened this issue Jul 7, 2023 · 1 comment

Comments

@lendannau
Copy link

Hi team,

We are currently developing an app where we managed to effectively use turn-by-turn navigation offline. A specific pack of tiles is defined + downloaded and users can access navigation in those regions while offline.

The problem we are facing is the following:
For routings of more than 50 kms, the offline navigation only works the one time, then all following attempts fail. It seems to be an issue with the cache not emptying as creating a new short routing or restarting the App will reset this and make it work again.

Is there any way to force empty the Mapbox cache without also removing the downloaded regions? This would fix my issue and make offline navigation possible for us.

Tank you!

@lendannau lendannau changed the title Force resetting navigation cache for offline usage Jul 7, 2023
@zenginhasanberk
Copy link

Hi @lendannau . I hope you're still using this account. How did you implement turn-by-turn navigation using this library? I am working on a similar project, and I am not sure if this library exposes any API's for turn by turn navigation. Any help would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants