Hi, basically i want to create a notification that appears on the device of a fully offline game at a specific time (e.g, every day at 1pm) - how can I do this? I am aware of a way to get this to work via a onesignal server but i feel this should be simpler.
To achieve this, here’s an example of how it can be done:
In this setup, the clock is represented as a simple string. In your case, you can set it to "13" (or any desired hour). The system will then compare this value with the current time. You’ll need to expand the logic to handle additional conditions or behaviors as needed.
For example, you could add checks for minutes, handle different formats, or trigger specific events based on the comparison result.
Hello,
I have already created an extension that sends notifications offline (except for the banner/icon part) a while ago.
However, the extension is in its early stages, and remember to ask the end user to disable battery optimization.
Any feedback is welcome.
Of course, Anyone can use it and it is waiting for the mods to integrate it into the GDevelop extension repo.
If you encounter any problem or have feedback, please feel free to reply.
I am using a specific Cordova dependency and the extension should be inclusive of the dependency properties, often (I know that as the extension creator I shouldn’t guess.) it’s showing on lock screen.
Here is the dependency docs btw:
Just realized that it would be a shame to create an extension with properties without knowing the functions of.
Ok, I’ll update the extension, put it at the top of my ToDo list, test the features, and write a long description of them.
Thank you for enlightening me and making me realize my shortcomings.