Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Query params Deep link not working #55

Open
harshal311989 opened this issue Jan 13, 2022 · 0 comments
Open

Query params Deep link not working #55

harshal311989 opened this issue Jan 13, 2022 · 0 comments

Comments

@harshal311989
Copy link

harshal311989 commented Jan 13, 2022

Hi team , I am using this plugin for deeplink in my application my deeplink url as below
https://my.domain.com/services/auth/v1/unlock-account?token=1234

I set scheme and host in android as below

<data android:scheme="https" android:host="my.domain.com"/>

I write code in react native side as below

function addUnlockAccountRoute() {
     
    DeepLinking.addRoute('/services/auth/v1/unlock-account/:token', ({scheme, path, token}) => {
        console.log('unlock_account_deeplink_response_schema', scheme);
        console.log('unlock_account_deeplink_response_path', path);
        console.log('unlock_account_deeplink_response_token', token);
        
    });
  }

When i try to run above code route not found means i am not able to get value scheme, path and token value because my deep link URL includes query parmas like ?token=1234 so can you tell me how i can resolve this?

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

No branches or pull requests

1 participant