Integrations

VH
Last updated 12 days ago

.Net, Cordova and CI

.Net

using Com.Pushlink.Android;
...
PushLink.Start(this, Resource.Drawable.Icon, "yourApiKey", "yourDeviceID");

Rename is needed!

After downloading, rename it from PushLinkMono-5.5.3.dll to PushLinkMono.dll before adding it as .Net Assembly refrence.

Cordova

//this new start API was introduced in pushlink-cordova-6.0.1
var successCallback = function success() { console.log('PushLink started successfully'); };
var errorCallback = function error() { console.log('An error occurred.'); };
PushLink.start({
apiKey: 'api-key',
deviceId: 'device-id',
successCallback: successCallback,
errorCallback: errorCallback
});

Pushlink cordova plugin on github

Continuous Integration

Third part gradle plugin https://github.com/PuzzelSolutions/gradle-pushlink-plugin