A powerful and easy-to-use plugin for adding notifications to your Godot 4.3 Android projects. This plugin enables both runtime and periodic notifications, even when the app is closed.
- Runtime Notifications: Send notifications instantly while the app is running.
- Periodic Notifications: Schedule notifications to appear at regular intervals, even when the app is closed.
- Easy to Use: Straightforward setup and functionality.
- Manual Notification Icons: Customize your notification icons with your assets.
- Godot 4.3 Support: Fully compatible with Godot 4.3.
- Download the plugin release from the repository.
- Paste it into the
addonsfolder of your Godot project. - Enable the plugin from Project Settings.
- Add the
NotificationManagernode to the first scene of your game.
Call the initialize() function once in your script. It accepts the following parameters:
-
largeIcon: The path to the large icon of the notification (res://format). -
smallIcon: The path to the small icon of the notification (res://format). -
notificationMessages: An array of messages for periodic notifications (a random message will be shown). -
hours(optional): The interval for periodic notifications in hours. Default is12.
Example:
$NotificationManager.initialize("res://icons/large_icon.png", "res://icons/small_icon.png", ["Hello!", "Reminder!", "Check this out!"], 6)