In this page we'll dive deeper into several aspects of our React Native library that can be customized to match your needs.
Instead of relying on the native configuration files (
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');
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.
If you are using the
re.notifica.gradle.notificare-services Gradle plugin, go ahead and remove it since it requires the configuration file to be present.
You need to let Notificare know to not configure itself after the application has been launched. To do that, you can set
NO in your
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.