urlhandler by Trigger.io

You are currently viewing a version of this module which is not the current active version.
Currently displaying version

urlhandler: Custom URL schemes

The forge.urlhandler namespace allows you to define a URL scheme for other apps and webpages to open your app and send data to it.

Config Options

The scheme that your app wants to handle. E.g. using 'myscheme' would open your app if the user visited 'myscheme://'


forge.urlhandler.urlLoaded.addListener(callback, error)ΒΆ

iOS, Android

Triggered when the app is loaded by a custom URL scheme.

function({url: url}) callback invoked with details of the url
function(content) called with details of any error which may occur