void OnApplicationPause(bool isPause) { if (!isPause) { IOSLocalNotification.CancelAllNotifications(); IOSLocalNotification.CleanIconBadge(); } }
public void CheckNotificationRegistered() { if (IOSLocalNotification.IsNotificationPermitted()) { Debug.Log("Notification settings registered"); } else { Debug.Log("Notification settings NOT permitted"); } }
public void RegisterNotificationSettings() { IOSLocalNotification.RegisterNotificationSettings(); }
public void OpenApplicationSettings() { IOSLocalNotification.OpenAppSettingPage(); }
public void SetNotification() { IOSLocalNotification.SetNotification("Hello world", 10); }