Android push notifications

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By alket
:warning: Old Version Published before Godot 3 was released.

Has anyone managed to do push notifications on android ? If yes, how ?
Thanks in advance.

Actually, there are two types of notification.
One is Local notification and the other is Push notification.
You need a server for Push notification.
Is that you want?

volzhs | 2016-08-31 20:23

@volzhs Yes.

alket | 2016-09-01 12:12

:bust_in_silhouette: Reply From: volzhs

Hm. First of all, you need to know a lot of things.

  1. Make a module for android to handle notification
    * http://docs.godotengine.org/en/latest/reference/creating_android_modules.html
  2. How to collect UID and remove UID when uninstall
    * Firebase Cloud Messaging
  3. How to handle with notification on client
    * Firebase Cloud Messaging
  4. How to send notification message
    * Firebase Cloud Messaging

This can’t be a short answer.

There’s alternative way with Firebase.
See also Firebase Cloud Messaging

I guess we’ll need a community effort to make a MIT licensed module :slight_smile:

Akien | 2016-09-01 18:05

I still wish to have an abstraction that worked on all platforms (if such thing is feasible).

vnen | 2016-09-01 20:00