简体   繁体   中英

How can I pass username and password in React Native Linking?

I have imported Linking from React Native in my app for opening urls. But the url which I am using requires username and password, and after using Linking it every-times ask for username and password in my app. Is there any way in which I can pass username and password inside my Linking code?

Linking.openURL(url).catch((err) => console.error('An error occurred', err));

您的网址需要包含查询参数,例如:

https://www.google.com/search?q=react+native

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM