0.0.1 • Published 4 years ago
resulsdk v0.0.1
Import with following code
import resulsdk from 'resulsdk';
Initialize with following code
let resulwebsdk = new resulsdk({
appConfig: {
tenantName: "resulticks",
tenantId: "cc33cd4b-2fea-4b94-9123-bb7d48ff673e",
tenant_ga: 101108671
},
pushNotification: {
pushConfig: {
apiKey: "AIzaSyAjV2x-46__aLOwtRkJw-2SG-JzwYghhzA",
authDomain: "rstl-webpush.firebaseapp.com",
databaseURL: "https://rstl-webpush.firebaseio.com",
projectId: "rstl-webpush",
storageBucket: "rstl-webpush.appspot.com",
messagingSenderId: "73225798329"
},
pushHeaderKey: 'AAAAEQyZArk:APA91bEsccEgptodoHxYjAulF6b9C4b1JPo03DLNmDZ6l3uY8j-ubgQ6SvDDStehVlglK2VQhUiQcYN2KObfP07fxWurNZy_YxxRbbgG07DiCZZ-blYktv_A3tS9zNxY4jBwOW01lsgN',
serviceworkerfile : 'service-worker.js'
}
});
resulwebsdk.init();
0.0.1
4 years ago