In this page we'll dive deeper into several aspects of our Cordova library that can be customized to match your needs.

Setting keys in code

Instead of relying on the native configuration files (notificare-services.json & NotificareServices.plist), it is possible to set those in code. To configure Notificare, you must run the following code before any other interactions with the library.

await Notificare.configure('applicationKey', 'applicationSecret');

The configure() method should be called before calling Notificare.launch() to make sure the correct keys are used. After setting the keys programmatically, you can safely delete the configuration files.

Additional native customizations

Most of the customizations offered in our library as part of the native SDKs. For more information on what customizations are available, please take a look at the native SDKs documentation.