Unity Local Notification by fshahinfar1 - 1

Mobile

Send Android local notification from unity project source code

Unity 2018.2.0f2Unknown LicenseUpdated 289 days agoCreated on September 8th, 2018
Go to source

Unity Local Notification (For android)

This repository allows to send local notification from unity project on android devices.

Features

  • you can send local notification in android
  • you can schedule sending notification for some time in future
  • you can send notification having big picture style

Issues

  • not all android notification features are supported

Sample code

Publisher publisher = PublisherManager.Instance.CreatePublisher(channelId,
  channelName, channelDescription);

// put your icon png file in Plugins/Android/UnityLocalNotification/res/drawable
Notification notification = new Notification()
  .SmallIconName("test_icon")  
  .Title("My notif title")
  .Message("This is a test notification message");

publisher.Publish(notification);

Screenshots

Unity asset

Unity local notification asset

Class diagram

class diagram

Show all projects by fshahinfar1