apps-android-commons icon indicating copy to clipboard operation
apps-android-commons copied to clipboard

osmdroid is now archived and will no longer receive updates or new releases

Open nicolas-raoul opened this issue 1 year ago • 3 comments

Or at least https://github.com/osmdroid/osmdroid says so.

Should we look for a maintained fork or alternative?

Ideally without code changes.

osmdroid is currently working very well for us, in my opinion.

nicolas-raoul avatar Jul 20 '25 13:07 nicolas-raoul

Should we look for a maintained fork or alternative?

@nicolas-raoul @RitikaPahwa4444 I was going through this issue and came to know about MapLibre, which seems to be a better alternative. it's also actively maintained.

A similar and relavant example is T1225, where the team migrated from osmdroid to MapLibre.

Ideally without code changes.

In that case, the migration was completed, but it has required the rewriting the MapFragment, so this might not be a drop-in replacement and involves significant refactoring.

so acc to me it might be reasonable to:

  • Continue using osmdroid for now (since itis stable)
  • Explore a small prototype or spike with MapLibre to better estimate migration effort?

Kota-Jagadeesh avatar Mar 29 '26 10:03 Kota-Jagadeesh

It seems like we actually switched from Mapbox to MapLibre in 2023: https://github.com/commons-app/apps-android-commons/issues/5182 If you want to try things, you may want to try the app at that final 2023 commit, it might be easier to get a prototype running.

Also, does MapLibre require a Mapbox API key? That might have been what prompted us to switch to osmdroid: https://github.com/commons-app/apps-android-commons/issues/5372

Explore a small prototype or spike with MapLibre to better estimate migration effort

Sounds like a great idea!

nicolas-raoul avatar Mar 29 '26 10:03 nicolas-raoul

Also, does MapLibre require a Mapbox API key? That might have been what prompted us to switch to osmdroid: #5372

According to this, MapLibre does not require a Mapbox API Key. But to implement MapLibre and build a prototype would take a little bit of time, I'd like to try implementing it, If everything works out we can switch else continue with the deprecated-yet stable osmdroid.

Image

AdityaDarke97 avatar Sep 21 '26 15:09 AdityaDarke97