wordpress-mobile / wordpress-mobile/WordPress-Android

[Feature] Removed Add location (lat/long) to post?

Open
#15,154 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Post Settings Posting/Editing
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

I expect that the location metadata would still be set in the geo_latitude and geo_longitude fields.

Actual behavior

The feature is completly removed

Steps to reproduce the behavior
  1. Start the app
  2. Create or edit post
  3. Try to add location missing
Tested on Pixel 5, Android 11, WPAndroid 17.8

I've contacted support and they told me that it's removed completely because of some changes to the Google geocoding api. But I must say I really don't care about the geocoding api. I just want the location as extracted from the gps on the device. I don't need a name for that location.

I get that some users would like to have it converted to a street name or town name, but I consider that as a separate feature. If those two metadata fields would be added to a post (like they have been for several years), one could just create a Wordpress plugin in PHP that hooks into the actions added_post_meta or updated_postmeta to do the conversion with his own google api key (if they want that).

  • Getting GPS location and adding it to a post as post metadata in the fields geo_latitude and geo_longitude
  • Taking this location and converting it to a nice name that can be presented on a map.

If you removed that latter because of costs, that's fine. But I don't see the reason why to remove the adding of the location completely.

We where presenting all the post for our travel blog as pins on the map, with a link to the post. For that use case you don't need a nice street name you just need lat/long.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Android post creation and editing flow for the missing location feature, focusing on how geo_latitude and geo_longitude metadata are handled. Confirm whether GPS coordinates can be saved without geocoding, then verify that creating or editing a post preserves both fields for the travel-map use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.