Skip to content

Implement local notifications on Android

Android mobile local notifications are outside the scope of the push service Hive Axyl provides. Instead, you implement them directly in the app with Unity Mobile Notifications.

Instead of the previous procedure based on the Android local notification plugin, use the newly added LocalNotificationExamples.cs example.

  • Request permission: LocalNotificationExamples.RequestPermissionAsync()
  • Schedule a notification: LocalNotificationExamples.ScheduleAsync()
  • Cancel a specific notification: LocalNotificationExamples.Cancel()
  • Cancel all notifications: LocalNotificationExamples.CancelAll()

For the detailed implementation flow, see Use the Notifications example.