简体   繁体   中英

How to launch xamarin forms app with parameters

Good morning everyone.

Please I am new to Xamarin forms. What I want to achieve is I send a SMS text message to someone with pin code. When they click on the link in the text message, my Xamarin forms app opens and extract the pin code that was sent.

Is there a way I can extract the parameters in C# Xamarin forms?

Thank you all in advance.

You don't want launch parameters, what you are looking for is called Deep Linking .

Tapping the link will then allow you to parse the URL in the app and you can extract whatever data you want from it.

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