/Unity-Mobile-Notifications-Simplifier

Ready to use Android and iOS mobile notification solution based on official Unity Mobile Notifications package

Primary LanguageC#MIT LicenseMIT

Unity Mobile Notifications Simplifier

npm openupm License Stand With Ukraine

Ready to use Android and iOS mobile notification solution based on official Unity Mobile Notifications package. Build on top of Unity Mobile Notifications package. Supported codeless usage if needed but not required.

Config

How to use

Option - code

  • MobileNotifications.Send for sending notification right now.
  • MobileNotifications.Schedule for schedule notification in right moment.

Option - codeless

Add the NotificationSender component to any object in a scene or prefab. Call the function Send or Schedule using Button component for example.

Codeless usage

How to install - Option 1 (RECOMMENDED)

  • Install ODIN Inspector
  • Install OpenUPM-CLI
  • Open command line in Unity project folder
  • openupm add extensions.unity.notifications

How to install - Option 2

{
  "dependencies": {
    "extensions.unity.notifications": "2.0.2",
  },
  "scopedRegistries": [
    {
      "name": "package.openupm.com",
      "url": "https://package.openupm.com",
      "scopes": [
        "extensions.unity"
        "com.cysharp",
        "com.neuecc"
      ]
    }
  ]
}