Last active
June 11, 2018 10:07
-
-
Save celiovasconcelos/2867eb28b05c503f87d10ce0fa4ee006 to your computer and use it in GitHub Desktop.
pushlink-cordova
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment