Skip to end of metadata
Go to start of metadata

Android

To enable push follow the android documentations.

Prevent Rich Push Notifications display

You can prevent the display of any RichPush notification, by calling: 

To reenable the RichPush Notifications, you can call:

You can enable/disable RichPush notifications at any time.

 

iOS

Registering

In order to register for user notifications, you can call the registerForUserNotificationsWithOptions() method. This means that you're no longer required to maintain the registration by yourself, just call this method and the library will request notification authorization for you.

Important

Your must register for user notifications every time your app is launched.

Media attachments

iOS 10 introduces support for rich notifications, it adds the abitity to send push with media attachments such as images, sounds and videos.

Rich notifications are available on iPhone 5s or later, iPad Pro, iPad Air or later, and iPad mini 2 or later.

To enable this functionality, you will need to create a Notification Service Extension.

Important

Only work with Xamarin.iOS 10.4 and higher.

  1. Once your notification service is created, add the nuget package Xamarin.Accengage.iOS.Extension in extension.
  2. Inherit from ACCNotificationServiceExtension in NotificationService and delete all the code generated by Xamarin.

It is possible to disable the display of push using :

  • No labels