abrensch / brouter

configurable OSM offline router with elevation awareness, Java + Android
MIT License
490 stars 118 forks source link

1.6.3 API 19 - Nogos don't work in Locus Map 3 Classic #444

Open Stapawe opened 2 years ago

Stapawe commented 2 years ago

I use Android 10. I use the older Locus Map 3 Classic (formerly known as Locus Map Pro) in the older way of BRouter integration to have alternative routes: https://web.archive.org/web/20160417041734/https://docs.locusmap.eu/doku.php?id=manual:user_guide:tracks:planning:brouter https://www.youtube.com/watch?app=desktop&v=EOBLKOst6Zs Calculating from via to works as before, but nogos are ignored now.

zod commented 2 years ago

We've removed the app specific coordinate readers because newer android versions don't offer access to other apps storage (#429 and #439). Is there any feature that is possible using the file interface which is not usable using the service interface?

Stapawe commented 2 years ago

Why do "from", "via" and "to" points still work? Newer Andrioids, do you mean 11 and 12? That's half of the users: https://gs.statcounter.com/os-version-market-share/android being worse off with benefits for nobody, I guess. I guess Locus (Classic) uses the service interface and it doesn't have alternatives, so I use Locus Classic in the old way.

zod commented 2 years ago

Sorry, I worded this one badly. We haven't issues a new BRouter release after the removal of the app specific coordinate readers. It seems like your observed behavior is a bug in BRouter 1.6.3 which wasn't present in BRouter 1.6.2. Due to the rework for the upcoming version we tried to replace the readers with the possibility to use the service interface (which is the only sensible way on android 11+) but still provide a way to use alternatives which works on all android versions.

I've added a screencast in https://github.com/abrensch/brouter/issues/429#issuecomment-1212728409 which shows how it should work in future BRouter releases.