Godot Android Notification does not work.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CoreTaxxe

Hey,
Curretnly there is no ‘built-in’ support for push notifications in godot and due to this i decided to write a java plugin. Unfortunately it does not work but show a error neither.
I set the module path in the editor : *org/godotengine/godot/Notification
It does load and find the module (Engine.has_singleton("Notification") returns true ).
But calling singleton.notify() does output nothing.
Here are my two java classes:


Notification.java

code pile

LocalNotificationReceiver

code pile
and
gradle.conf

[dependencies]
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'

Did i forget any dependencies or Permissions?
Thanks for your time and help!

P.S. (If you have a better solution please be so kind and provide it :P)
P.S.2.(sry for using external webpages but this forum has a characteree limit of 8k :/)

:bust_in_silhouette: Reply From: DrMoriarty

You can use precompiled module for local and push notification for iOS and Android.

It can be installed from NativeLib repository. Just search NativeLib in AssetLib and download it into you project.