Rivets is a DLL for open source on mono. Jump between apps and apps across platforms.
In the traditional application of different jumps, the traditional jump needs to jump to the web before jumping to the application, which is a very poor user experience operation.
The example asynchronously calls the example store app, with the featured URL, to easily open the desired app, and open the app to receive the URL for processing.
1 NewStyledstringelement ("App Link to widgets with Referer",Async() = {2 varURL ="https://rawgit.com/Redth/Rivets/master/Rivets.Tests/Html/SimpleiOSMetaData.html";3 4 varReferer =NewRivets.refererapplink {5TargetUrl =NewUri (URL),6URL =NewUri ("example://"),7AppName ="Example Store"8 };9 Ten varresult =awaitRivets.AppLinks.Navigator.Navigate (URL, referer); One A Console.WriteLine (result); -}),
Or it could be a Web page.
1 NewStyledstringelement ("Web Fallback Link",Async() = {2 varURL ="https://rawgit.com/Redth/Rivets/master/Rivets.Tests/Html/WebFallbackMetaData.html";3 4 varresult =awaitRivets.AppLinks.Navigator.Navigate (URL);5 6 Console.WriteLine (result);7})
Companion website:
Http://components.xamarin.com/view/rivets
adding DLL files to your project after download can be a convenient call to use