Controlling Notifications for Native Applications With Cache Partitions

SAP Mobile Platform sends out change notifications based on Subscriptions. MBOs are assigned to synchronization groups and when the device application registers for change notifications, they become part of a subscription. Whenever SAP Mobile Platform detects a change in an MBO, it sends out a notification to all subscribers.

You can further control notifications through the use of cache partitions:

In the SAP Mobile Platform client API, SynchronizationGroup includes setEnableSIS(boolean) so that a client application can enable/disable push notifications, and the same class has setInterval(int minutes) to specify the minimum frequency over which SAP Mobile Platform attempts to send notifications for a given synchronization group.

These settings can also be controlled through SAP Control Center:
  1. After you deploy a package, navigate to Domains > <DomainName> > Packages > <PackageName> > Subscriptions > Replication.
  2. Select the Template tab and create subscription templates for the synchronization groups.
The template creates a subscription for each client the first time they synchronize that synchronization group. You can use it to set defaults for the Notification Threshold (equivalent to the SynchronizationGroup.setInterval client API). If you select the Admin lock radio button, the template is applied and the client's synchronization group settings are ignored.

After a client subscribes, you can view their subscriptions on the Devices tab and make manual modifications to them as needed.