Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanmurzak/unity-mobile-notifications-simplifier
Ready to use Android and iOS mobile notification solution based on official Unity Mobile Notifications package
https://github.com/ivanmurzak/unity-mobile-notifications-simplifier
android android-notifications ios ios-notifications mobile notifications unity unity-mobile unity-plugin unity2d unity3d unity3d-plugin
Last synced: 3 months ago
JSON representation
Ready to use Android and iOS mobile notification solution based on official Unity Mobile Notifications package
- Host: GitHub
- URL: https://github.com/ivanmurzak/unity-mobile-notifications-simplifier
- Owner: IvanMurzak
- License: mit
- Created: 2021-11-16T14:32:15.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T22:16:14.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T10:20:09.648Z (3 months ago)
- Topics: android, android-notifications, ios, ios-notifications, mobile, notifications, unity, unity-mobile, unity-plugin, unity2d, unity3d, unity3d-plugin
- Language: C#
- Homepage:
- Size: 67.4 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity Mobile Notifications Simplifier
![npm](https://img.shields.io/npm/v/extensions.unity.notifications) [![openupm](https://img.shields.io/npm/v/extensions.unity.notifications?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.notifications/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-Mobile-Notifications-Simplifier) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)Ready to use Android and iOS mobile notification solution based on official Unity Mobile Notifications package. Build on top of [Unity Mobile Notifications](https://docs.unity3d.com/Packages/com.unity.mobile.notifications@1.4/manual/index.html) package. Supported codeless usage if needed but not required.
![Config](https://imgur.com/ITn5XUD.png)
# 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 functionSend
orSchedule
using Button component for example.![Codeless usage](https://imgur.com/kidklV8.png)
# How to install - Option 1 (RECOMMENDED)
- Install [ODIN Inspector](https://odininspector.com/)
- Install [OpenUPM-CLI](https://github.com/openupm/openupm-cli#installation)
- Open command line in Unity project folder
- `openupm add extensions.unity.notifications`# How to install - Option 2
- Install [ODIN Inspector](https://odininspector.com/)
- Add this code to/Packages/manifest.json
```json
{
"dependencies": {
"extensions.unity.notifications": "2.0.2",
},
"scopedRegistries": [
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"extensions.unity"
"com.cysharp",
"com.neuecc"
]
}
]
}