uni_links icon indicating copy to clipboard operation
uni_links copied to clipboard

Apps doesn't opens specific page when App comes from background.

Open sangamsharma6 opened this issue 3 years ago • 12 comments

I'm using [https scheme, custom scheme, https and custom schemes] and am testing on my [iPhone6, Google Pixel, iOS Simulator, Android Emulator], which is running [iOS8.1, Android 8: Oreo].

...add any other context about the problem here.

e.g. I call '...' method and... nothing happens!!!

sangamsharma6 avatar May 16 '21 08:05 sangamsharma6

This plugin is not going to navigate your app by magically. It is up to you as a developer to use the details from this plugin to then do the navigation programmatically.

avioli avatar May 17 '21 09:05 avioli

@avioli maybe he tried. I tried and it's not working. It's working just if the app is closed. I tried with linkStream and uriLinkStream

BringTheChill avatar Jun 04 '21 11:06 BringTheChill

@avioli maybe he tried. I tried and it's not working. It's working just if the app is closed. I tried with linkStream and uriLinkStream

If you are using android emulator, use the full command as shown in the readme : adb shell 'am start -W -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "unilinks://host/path/subpath"'

7Kronos avatar Jun 11 '21 13:06 7Kronos

Actually for me the problem was pushAndRemoveUntil(). If I use push() is working.

BringTheChill avatar Jun 12 '21 12:06 BringTheChill

i am facing the same issue...when app is not running in back ground, it able to go to next screen. but when app running in back background we are not able move to next screen

Nilesh-Chaudahri avatar Jun 30 '21 09:06 Nilesh-Chaudahri

try this https://github.com/avioli/uni_links/issues/125#issuecomment-875509859

echomartha avatar Jul 07 '21 11:07 echomartha

The opposite happens to me when the app is closed it does not open a url that I want to show ... it only opens the home ... what can I do there?

NestorDevs avatar Sep 14 '21 23:09 NestorDevs

i have same issue

osamamohammed98 avatar Apr 27 '22 07:04 osamamohammed98

Screen Shot 2022-04-27 at 11 20 33 AM

i solve this issue by do this

osamamohammed98 avatar Apr 27 '22 08:04 osamamohammed98

Screen Shot 2022-04-27 at 11 21 27 AM

osamamohammed98 avatar Apr 27 '22 08:04 osamamohammed98

Screen Shot 2022-04-27 at 11 22 24 AM

don't forget add the WidgetsBinding.instance.addPostFrameCallback

osamamohammed98 avatar Apr 27 '22 08:04 osamamohammed98

you can close this issue

osamamohammed98 avatar Apr 27 '22 08:04 osamamohammed98