App linking example
Sometimes we might need to write a renderer in order to use features that are not available in the Xamarin.Forms
framework. One example of that is App Links.
App Links is a way to link our app with other apps or to handle our app's incoming links. Let's develop a solution that allows us to insert a phone number inside our app and make a call with the Skype app when installed in the user device.
In our CustomRenderers core project, we can create a new Content page that contains an entry box to insert the phone number and a button that will redirect us to the Skype app.
We will also create an event that will transform the click on the button as a Call
event, passing the phone number to call:
public class SkypeCallPage : ContentPage ...
Get Xamarin 4 By Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.