Usage
using VoxelBusters.CoreLibrary;
using VoxelBusters.EssentialKit;Request Access (for presentation options)
NotificationServices.RequestPermission(NotificationPermissionOptions.Alert | NotificationPermissionOptions.Sound | NotificationPermissionOptions.Badge, callback: (result, error) =>
{
Debug.Log("Request for access finished.");
Debug.Log("Notification access status: " + result.PermissionStatus);
});Get Settings
NotificationServices.GetSettings((result) =>
{
NotificationSettings settings = result.Settings;
// update console
Debug.Log(settings.ToString());
Debug.Log("Permission status : " + settings.PermissionStatus);
});Local Notifications
Create a Notification Message
Schedule Notification
Repeat Notifications
Get Scheduled Notifications
Cancel Scheduled Notification/Notifications
Get Delivered Notifications
Remove Delivered Notifications
Push Notifications or Remote Notifications
Remote Notifications Management
Detecting App launch through Notification
Last updated