-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
OpenStreetMap does not display on Androids 5 and higher #3248
Comments
When I try this, I get lots of "403 Forbidden" responses for the tile requests. Here an example of the HTTP headers I get:
@kkrawczyk123 Can you check logcat while you are experiencing this problem and verify whether it's the same for you? If it's failing for the same reason for you, the messages will look like this:
|
Hmm. This looks deliberate. OsmDroid includes the header When I do
I get a tile. But when I do:
I get a 403 Forbidden error. |
@zestyping and I discussed more in Slack and have concluded that the #3254 sets a User-Agent string for osmdroid requests because we discovered we were supposed to do that. Incidentally, it re-establishes access to the OpenStreetMap tile server. We should not merge it until we get the ok from OSM. |
OSM has given us the green light to provide a custom User-Agent string. |
Software and hardware versions
Collect v1.23.x, Android v5.1, 6.0, 7.0, and 8.1, device used...
Problem description
OpenStreetMap does not display when using Geo widgets.

Steps to reproduce the problem
Expected behavior
OpenStreetMap should load.
Other information
Other types of map display correctly on Android 5.1 and higher
Interesting is that it displays correctly on Android 4.4 and lower.
The text was updated successfully, but these errors were encountered: