uni_links icon indicating copy to clipboard operation
uni_links copied to clipboard

Not working on Android (only with adb command) ?

Open BerndWessels opened this issue 5 years ago • 7 comments

I'm using https scheme and am testing on my Android Phone which is running Android 9.

I registered the .well-known/assetlinks.json in my domain.

Running the following from a local shell works fine and hits the callback within the app: adb shell 'am start -W -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://xxxxx.app/?code=123"'

BUT when an OAuth window redirects to https://xxxxx.app/?code=123 nothing happens.

Manually putting the https://xxxxx.app/?code=123 into the local browser only opens the website but does not open the App on my test phone, or when it already runs it does not hit the callback.

What can I do?

BerndWessels avatar May 01 '19 04:05 BerndWessels

I'll investigate. Thanks for reporting.

avioli avatar May 02 '19 03:05 avioli

I have the same issue. Any thoughts?

evelyne24 avatar Jul 17 '19 17:07 evelyne24

Same issue here, seems like skipped frames are stoping it from working...

mateuslacorte avatar Aug 05 '19 16:08 mateuslacorte

Actually, here it opens the app, but the link callback don't execute, may be different issues.

mateuslacorte avatar Aug 05 '19 16:08 mateuslacorte

Same here.

guitcastro avatar Oct 01 '19 00:10 guitcastro

same here!

SamadiPour avatar Oct 05 '19 13:10 SamadiPour

I think i found out my solution

Deep links will not open your app if you type the link on your browser. You must click on the link in order to launch your app

So you can use a online html tool like htmledit.squarefree.com Paste this code in it and edit href=' ' as you want

<p><a href="app://">GOTO App</a></p>

Click on the link and it works every time :)

SamadiPour avatar Oct 06 '19 07:10 SamadiPour