react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Universal Deeplink params doesnot detect in app but working from browser

Open ahsanparacha02 opened this issue 4 years ago • 2 comments

test://test.com/?user=test&password=test

Here is deeplink url, i want to open other application from my app and bind username and password field in login form but the problem that i m facing is that when i used deeplink on click event using Linking.openURL(test://test.com/?user=test&password=test), it can opens the app but credentials not bind with login form.

Solution worked with, when i open this url from browser then it worked.

Please help me to fixed this issue

Thanks

ahsanparacha02 avatar Jul 05 '21 16:07 ahsanparacha02

@ahsanparacha02 Have you tried passing the link to encodeURIcomponent? Refer here

I had the same issue for a while specifically for Android when using special characters like & and I found that test://test.com/\?user\=test\&password\=test works.

bobsany16 avatar Nov 17 '21 15:11 bobsany16

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Feb 23 '24 05:02 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Mar 01 '24 05:03 github-actions[bot]