android-browser-helper icon indicating copy to clipboard operation
android-browser-helper copied to clipboard

Location Delegation is not working ok in trusted app

Open danihuge opened this issue 3 years ago • 1 comments

Doing some tests with TWA and location delegation, the perm is not passed to the PWA and for untrusted apps, the location permission modal is shown but in trusted apps, it is not shown.

I have read this https://stackoverflow.com/questions/64435919/geolocation-asking-for-multiple-permission-requests-inside-a-twa

And after that I did the same test using the sample app for location delegation and I get the same result.

Is it working ok? is there any issue / bug about it?

Device: Mi A3

Thanks

danihuge avatar Feb 15 '22 18:02 danihuge

Hi Dani, just to be clear: the Android permission dialog is not shown in your trusted app but on untrusted apps?

Do you have the intent-filter set for your app? location delegation only works when your TWA have intent filters for your website

EiraGe avatar Dec 16 '22 11:12 EiraGe