NotificationServices equivalent on Android?

Even if there’s nothing built in to Unity, there MUST be at least one plugin that allow us to do this? I want to send a “local notification” from a timer in my game to inform the user his “energy” is now replenished. How to go about that?

-Brian

Hi,

I’m working on it as we speak :stuck_out_tongue_winking_eye:

If you cannot wait, the idea is the following:

  1. Have a Java plugin that starts a new Timer Service which will fire off at a specified time. When it does, it starts a local notification within java with an Intent that will launch your app (when the user clicks the notification, it will launch Unity)

  2. From Unity, call that plugin whenever is convenient (in your case possibly on application exit), passing the time you want it to wait.

It shouldn’t be too difficult, but it’ll take me a few days to finish and submit to the Asset Store.

Cheers.

Sounds great Carlos, what do you have in mind for pricing?

To be honest I won’t know until I have finished the plugin -I had some fancy stuff in my head I wanted to implement, but I may go for straightforward local notifications. It does not seem too complicated, so I would assume it won’t be above $15.

Sounds great, keep me updated for sure.

Hey, I just submitted the asset dealing with notifications in android, now the wait till it gets approved!

With it you will be able to:

  • Fire simple notifications to android devices from your app
  • Schedule repeating notifications
  • All sitting comfortably within your Unity project

Will keep you posted!

Cheers

Awesome Carlos! Please share a link here, I plan to buy it very soon!

Hi jerotas,

I just wanted you to know my asset just got approved and it’s available in the asset store: Easy Local Android Notifications. I hope you find it helpful!

Thank you, I will be picking this up shortly!

Adding to the list,

Cross Platform Native Plugins provides an unified access to use Local and Push/Remote notifications on iOS and Android with same lines of code(unified API). It has many other features (In-App purchases, Webview, Leaderboards & Achievements (coming soon) and more). Here is what notifications feature can do

  1. Supports both Local and Remote Notifications.
  2. Repeat Local Notifications for a time Interval
  3. Customize the Keys you want to send in the payload
  4. Custom Large Icon, Sound allowed
  5. Support for setting small White icon on > 5.0 devices
  6. Receive Launched start up notification
  7. Receive notifications when in background or when app is not running