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.
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.
The Xamarin plugin supports iOS 12 provisional authorization. You can register this way by using following options :
You can get more informations about this feature in the native iOS SDK documentation.
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.
- Once your notification service is created, add the nuget package Xamarin.Accengage.iOS.Extension in extension.
- Inherit from ACCNotificationServiceExtension in NotificationService and delete all the code generated by Xamarin.
It is possible to disable the display of push using :