Onymos Raises $12M Series A: Learn why

onymos-logo

onymosDeepLink.createDeepLink

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

function createDeepLink() {
OnymosDeepLink.createDeepLink(
{
page: 'example',
referrer: 'user ID'
},
function createDeepLinkSuccess (url) {
console.log(url);
},

function createDeepLinkError (error) {
console.log(error);
},
{
title: 'example',
descriptionText: 'example description',
imageURL: 'exampleUrl'
});
} /* end function createDeepLink */

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.

function onDeepLink() {
OnymosDeepLink.onDeepLink(
function onDeepLinkSuccess (payload) {
console.log(payload);
},
function onDeepLinkSuccess (error) {
console.log(error);
});
} /* end function onDeepLink */
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 days or weeks off your development timeline.

Get your free white paper