I need to send notifications from my application to the user.
I want to create a function in my code to send a notification to the user immediately. Therefore, I don't want to schedule this notification. The notification only needs to show some information. If the user presses the notification, I want my application to open (I don't have to get a function call for it).
This tutorial: https://docs.coronalabs.com/guide/events/appNotification/index.html seems to only explain how you can create server based notifications or notifications based on a schedule.
Should I implement this by scheduling a notification directly?
Or is there a more direct way of sending notifications?
Could someone point me to the right direction? Or show some example code where this is used?