Initialization

Initialize the SDK with the indigitall.init () method to start receiving push notifications.

var tiindigitall = require('ti.indigitall.TiIndigitall');
    tiindigitall.init({
        appKey: "YOUR_APPKEY", 
        senderId: "YOUR_SENDER_ID",
    }, (device)=>{
        //callback initialize
    },(device) => {
        //callback onNewUserRegistered
    }, (error) => {
        //callback error
    });
  • YOUR_APP_KEY is an alphanumeric text string. You can find it in the administration console within the Configuration section in the Projects tab
  • YOUR_SENDER_ID is a numeric string. You can find it in the Firebase console, inside the project, in the configuration, tab Cloud messaging.
1564