onymos-logo

onymosDeepLink.createDeepLink

Function for creating new deep links that will automatically copy the link to the users clipboard.

OnymosDeepLink.createDeepLink(
{
page: 'example',
referrer: 'user ID'
},
(url) => {
console.log(url);
},
(error) => {
console.log(error);
},
{
title: 'example',
descriptionText: 'example description',
imageURL: 'exampleUrl'
}
);
page

String

A page name to identify the location you want to send the user.

referrer

String

A user ID to identify who created the deep link.

successCallBack

Function

Function that will be called when the new link is made.

failureCallback

Function

Function that will be called when an error occurs.

options

Object

In the options, you can specify a title, description, and image to be displayed when the link is shared.

onymosDeepLink.onDeepLink

Sets up callback function that will be called when a user clicks on a deep link. In your Ionic Angular apps, make sure to make this call in your app.component.ts file.

OnymosDeepLink.onDeepLink(
(payload) => {
console.log(payload);
},
(error) => {
console.log(error);
}
);
successCallback

Function

Function that will be called when the new link is made.

failureCallback

Function

Function that will be called when an error occurs.

Think differently about app development

Download our free white paper today to learn how Onymos Features can maximize the value of your developer resources — and shave weeks or months off your development timeline.

Get your free white paper

Overlay