Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URI Link with '&' in the link won't recognized as uni link #182

Open
zerowu49 opened this issue May 23, 2023 · 1 comment
Open

URI Link with '&' in the link won't recognized as uni link #182

zerowu49 opened this issue May 23, 2023 · 1 comment

Comments

@zerowu49
Copy link

zerowu49 commented May 23, 2023

I'm using [https scheme] and am testing
on my [Android Emulator],
which is running [Android 12].

my code is:

_sub = uriLinkStream.listen((Uri? deepLink) {
      if (deepLink != null) {
        log("has deplink when app running");
        _handleActionFromLink(deepLink);
      } else {
        log("no deplink when app running");
      }
    },

Then, try to invoke the link via adb:

  • adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d 'https://myweb.com/login' com.myweb => Redirected to app and run correctly
  • adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d 'https://myweb.com/login?token=xyz' com.myweb => Redirected to app and run correctly
  • adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d 'https://myweb.com/login?token=xyz&name=ee' com.myweb => REDIRECTED TO WEB

Is there any way to make it to redirected to app and run properly for case three like case one and two?

@error404sushant
Copy link

It is working. Please try to open that link from phone. Not from terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants