*AppDelegate.
} else {
LinkingIOS.openURL(url);
}
-});Methods #
static addEventListener(type: string, handler: Function) #
Add a handler to LinkingIOS changes by listening to the url event type
+});
The iOS simulator does not support the mailto: and tel: schemas
+because the Mail and Phone apps are not installed - you will need to test
+them on a device.
Methods #
static addEventListener(type: string, handler: Function) #
Add a handler to LinkingIOS changes by listening to the url event type
and providing the handler
static removeEventListener(type: string, handler: Function) #
Remove a handler by passing the url event type and the handler
static openURL(url: string) #
Try to open the given url with any of the installed apps.
static canOpenURL(url: string, callback: Function) #
Determine wether or not the an installed app can handle a given url
The callback function will be called with bool supported as the only argument
static popInitialURL() #
If the app launch was triggered by an app link, it will pop the link url,
otherwise it will return null