Links to web.locusmap.app/loc/

Evgeny Kurshev shared this problem 27 hours ago
Solved

Update from 4.29 to 4.30 broke opening links like this https://web.locusmap.app/loc/28.27273:-16.64225:Teide,%20La%20Orotava with Locus: now, when I tap on link, I see android app chooser with browsers only, but without Locus.

I see changes in intent filter in manifest:

4.29:

<data android:pathPrefix="/loc"/>
4.30:

<data android:pathPattern="/loc/"/>
But docs (https://developer.android.com/guide/topics/manifest/data-element?hl=en#path) says:

"The pathPattern attribute specifies a complete path that is matched against the complete path in the Intent object"

So, as I understand, you need something like <data android:pathPattern="/loc/.*"/>, or just return to pathPrefix.

Replies (1)

photo
2

Thanks Evgeny for deep analysis :)

Why I made this change and how is it possible, it worked for me? A small mystery.

Will be fixed in the next version!

Leave a Comment
 
Attach a file