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

Map background not appearing Fairphone 3 Android 11 #520

Open
si-the-pie opened this issue Feb 20, 2023 · 16 comments
Open

Map background not appearing Fairphone 3 Android 11 #520

si-the-pie opened this issue Feb 20, 2023 · 16 comments

Comments

@si-the-pie
Copy link
Member

Background tiles have disappeared (see the snapshot in #519) after updating the Fairphone 3 Android from 10.x to 11 this morning (I very rarely use this 'phone). Before the upgrade there was no issue with the background tiles.

I've checked what tiles are being requested, e.g.:

[20/Feb/2023:12:13:19 +0000] "GET /opencyclemap/9/255/[email protected]?CoreProtocolPNames.USER_AGENT=net.cyclestreets%2F3.10.0%2F1639 HTTP/1.1" 200 99569 "-" "okhttp/3.14.9"

which is responding with code 200 OK and fetches:

https://tile.cyclestreets.net/opencyclemap/9/255/[email protected]?CoreProtocolPNames.USER_AGENT=net.cyclestreets%2F3.10.0%2F1639

and that appears to be fine.

No tiles appear whichever of the three available map styles (OCM, OSM, OS) are chosen from the Maps Display settings. Tiles are displaying correctly in the iPhone app and mobile HTML5 site.

@HilaryN
Copy link
Contributor

HilaryN commented Feb 20, 2023

If you reinstall CycleStreets this should work.

@mvl22
Copy link
Member

mvl22 commented Feb 20, 2023

If you reinstall CycleStreets this should work.

Can you give some background to this? This doesn't sound like a good user experience.

@si-the-pie
Copy link
Member Author

Euwww yes, uninstalling and then reinstalling has fixed the problem.

Just like turning it off and then on again.

@HilaryN
Copy link
Contributor

HilaryN commented Feb 20, 2023

Just like turning it off and then on again.

In our increasingly complicated lives I'm finding the trick is to work out WHAT to turn off and on again! The computer? Windows? The browser??? ;-)

@HilaryN
Copy link
Contributor

HilaryN commented Feb 20, 2023

If you reinstall CycleStreets this should work.

Can you give some background to this?

It's a "known issue" - but I can't find it in the issues. I think I may have seen it, and the workaround, in the Playstore comments.
I also had the issue, someone else I know had it, too.

This doesn't sound like a good user experience.

Agreed...

@mvl22
Copy link
Member

mvl22 commented Jun 6, 2023

Another report:

I've got a new phone with android 13. It used to work fine on my android 9 phone before. When I try to use cyclestreets the map doesn't show.

Have we established what the cause of this is? It sounds like a common thing now.

@mvl22
Copy link
Member

mvl22 commented Feb 28, 2024

Another report:

I used to use the cyclestreets android app with my previous phone very successfully. Since I have purchased a Samsung A54G the app loads but the map does not appear. Have you any suggestions as to how this problem can be solved?

@mvl22
Copy link
Member

mvl22 commented Mar 11, 2024

After upgrading to the new release just now, the latter user reports:

Sadly still no map appears on the app. If I use your website the map appears fine. If you can suggest anything else I'd be most grateful. Is there a setting in the app or on my phone blocking the map?

Did we expect this to be fixed? Is there anything the user needs to do, e.g. go into some settings?

@HilaryN
Copy link
Contributor

HilaryN commented Mar 11, 2024

Any idea what version of Android? (No, we haven't done any fix for this.)

@mvl22
Copy link
Member

mvl22 commented Mar 12, 2024

Any idea what version of Android? (No, we haven't done any fix for this.)

The user says: "One UI 6, Android 14".

@jezhiggins
Copy link
Member

My suspicion is that this is relative the OSMDroid tile cache location becoming unreadable when the OS changes underneath us. (Or at least this covers some of what's described above.)

We had a similar issue when we changed target sdks a little while ago, so we've got a code which resets the OSMDroid cache already in place. I'm going to push a beta build which will reset for everyone - which is a little drastic, but should at least let us know if it works.

If it does, we can do something a bit more measured. If not, at least we've eliminated that.

@jezhiggins
Copy link
Member

Ok, that should be live by Friday morning.

@mvl22, could you prompt those people your in touch with please? If you feel appropriate can you direct them to this issue? Thanks

@HilaryN
Copy link
Contributor

HilaryN commented Mar 14, 2024

Thanks for doing that! Only thing is, I think it was a new install for a couple of the more recent ones: "new phone with android 13."
"Since I have purchased a Samsung A54G the app loads but the map does not appear" :-(

It works fine for me on Android 13 and on an emulator with Android 14 :-( but I'll see if I can get an emulator for the Samsung A54G.

@mvl22
Copy link
Member

mvl22 commented Mar 15, 2024

Since I have purchased a Samsung A54G the app loads but the map does not appear

Does that imply that the problem might not be related to upgrade specifically?

@HilaryN
Copy link
Contributor

HilaryN commented Mar 20, 2024

Any news on whether the problem is fixed for these 2?

@mvl22
Copy link
Member

mvl22 commented Mar 21, 2024

E-mail this morning:

> My version is One UI 6, Android 14.

I have just updated the app and the map displays!

Very many thanks for fixing this.

:)

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

No branches or pull requests

4 participants