Skip to content

When opening addresses from contacts app, URL style encoding characters are not translated. #203

Description

@Magicrafter13

I don't know why this is the case, but when I tap an address in the Samsung Contacts app, I get the choice of opening in Google Maps or PocketMaps. When opening in PocketMaps, it would seem that Samsung Contacts sends over the address using URL encoding (see pictures).

Now, this could be a bug in Samsung's app, however (1) we know we can't get that fixed easily, and (2) Google Maps handles this fine so I am inclined to assume this is "normal", though I still feel gross saying that...

Anyway, to avoid issues, I used the Whitehouse address in my example screenshots below.

What was received from the contacts app:
Screenshot_20241022_213312_PocketMaps
Search button toast:
Screenshot_20241022_213322_PocketMaps
Manually corrected address text:
Screenshot_20241022_213441_PocketMaps

(And yes, I did input the address slightly wrong in my contacts, but the search still worked after I replaced the encoded characters.)

I don't know if all contacts apps do this, and thus this can be a blanket fix, or if it needs to be dynamically detected? I feel like it would be safe either way because I can't imagine a percent sign being in a valid address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in next ReleaseThis issue is allready fixed, but the next release is not out yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions