*AppDelegate.
LinkingIOS.openURL(url);
}
});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 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,
+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 whether or not an installed app can handle a given url
+The callback function will be called with bool supported as the only argument
NOTE: As of iOS 9, your app needs to provide a LSApplicationQueriesSchemes key
+inside Info.plist.
static popInitialURL() #
If the app launch was triggered by an app link, it will pop the link url,
otherwise it will return null