Skip to content

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

@zerowu49

Description

@zerowu49

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions