Sorry, cannot post the aia file as it contains sensitive information. Building a simple notification works, let me highlight that the notifications are called by Itoo via the foreground service. However if I try to add an action button or set the intent for the notification, the notification simply doesn't come up.
Also to note, I have tested on Android 16 beta and Android 15 stable release devices (Pixel 7).
Hello, I'm building this small app that receives data from an Arduino motion sensor. When motion is detected a NOTIFICATION is sent to mobile phone.
I'm bit of a beginner to this.
can someone please give me tips.
Ok, so let's put the question in a different way: by Melon Notification extension, is it possible just to update the message of an existing notification, without forcibly raising a new notification?
So if you have an Itoo foreground task which sends notifications (syncs from web using a timer), you need to create an ITOO INTENT, standard intent will NOT work when posting the notification using an Itoo foreground service.
Now my next question is, how to assign custom notification sound to the notification?
Also, another issue I have discovered is that while on Android 11, tapping on the notification with an attached intent opens the app, it doesn't do so with Android 16. Not sure about previous Android versions.
Hi, could you please post a sample project that I can quickly look into?
The extension has been tested until Android 15. It would take some time, before Android 16 is available as an update to my device before I can look into the issues.
You want a sample project showcasing my solution? Just making sure you understood it right. I meant that if you use Itoo foreground service and want your notification to have an intent you should use CreateItooIntent instead of CreateIntent component for the Notification Intent parameter. I guess this has something to do with Android's security policy changes.
I am running Android 16 beta, so I don't expect you to take a look at it now just documenting.