Initialize the SDK with the indigitall.init () method to start receiving push notifications. This initialization must be done within the index.html of your project.

const {Indigitall} = NativeModules;
// ...

  appKey: "<YOUR_APP_KEY>",
  senderId: "<YOUR_SENDER_ID>"
}, (callbackType, device) => {
  console.log('device', device);
}, (error) => {
  console.error('error', 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.