Initialize the Chat with the indigitall.chat.init()method to start receiving push notifications. This initialization must be done within the index.html of your project. To verify that the integration has been carried out correctly, you will have two callbacks in the initialization, a success with the correct loading of the chat and another with the error if there is one.
window.plugins.indigitall.chat.init({
channelKey: "your_channel_key"
},()=>{
//DO SOMETHING
}, (error)=>{
//DO SOMETHING
});
- your_channel_key is an alphanumeric string that identifies your indigitall project.