Customizations
By default, the Actito SDK automatically handles most of the complexity around remote notifications on Android.
However, you may want finer control over how these mechanisms integrate with your app’s architecture and notification strategy.
The customizations offered in our library are part of the native SDKs. For more information on what customizations are available, please take a look at the native customization guides.
Android Customizations
By default, the Actito SDK automatically handles most of the complexity around remote notifications on Android.
However, you may want finer control over how these mechanisms integrate with your app’s architecture and notification strategy. This page describes the advanced configuration options available for push notifications, including how to override default SDK behaviors and customize their appearance.
Notification channels
Starting in Android 8 (Oreo), in order for your app to display notifications, you need to create channels. Without a channel, notifications will never appear in the notification manager. By default, the SDK creates a single channel named “Push Notifications”.
You can change the name and description of this default channel by adding the following entries to your app/res/strings.xml file:
<string name="actito_default_channel_name">Push Notifications</string>
<string name="actito_default_channel_description">This channel shows push notifications</string>
If you want to use your own notification channel as the default, first create it in your app, then specify its ID in your AndroidManifest.xml:
<meta-data
android:name="com.actito.push.default_channel_id"
android:value="my_custom_channel_id" />
To prevent Actito from automatically creating the default channel altogether, you can disable this behavior by adding the following metadata tag in your AndroidManifest.xml:
<meta-data
android:name="com.actito.push.automatic_default_channel_enabled"
android:value="false" />