Currently it looks like the process for notifications is Corona. Android 9 now allows inline removal of notification permissions in the actual notification.
Which could potentially lead to ALL app notifications by Corona apps being silenced.
Currently it looks like the process for notifications is Corona. Android 9 now allows inline removal of notification permissions in the actual notification.
Which could potentially lead to ALL app notifications by Corona apps being silenced.
I’ve looked at setting up local notifications before and I’ve always wondered as to why the notifications need to state that they come from “corona” and not the actual app developer.
Thanks for the report. I’ve alerted engineering.
Good point. Not that time ago Google/Android APIs started to require to tag notifications with the name. Corona’s notifications APIs are not very flexible, so we just hardcoded some tag there. Before Android 9 tag was not displayed anywhere (at least we couldn’t find where).
Here is code responsible.
Do you think it would be a good idea to have the Application name as default channel label, and later add a possibility to extend this behaviour?
How about something generic like “Alert” or “Notification” for the tag?
Rob
Maybe an extension to notification plugin so we can choose what we want displayed there?
local options = { title = "alert title", alert = "I am a notification", badge = 1 } local time = 1000 notifications.scheduleNotification( time, options )
After trying out both variants App name looks much better. It looks weird for some generic word in the middle of everything in bold font.
Please, try Corona 2019.3480, verify if issue was fixed
I’ve looked at setting up local notifications before and I’ve always wondered as to why the notifications need to state that they come from “corona” and not the actual app developer.
Thanks for the report. I’ve alerted engineering.
Good point. Not that time ago Google/Android APIs started to require to tag notifications with the name. Corona’s notifications APIs are not very flexible, so we just hardcoded some tag there. Before Android 9 tag was not displayed anywhere (at least we couldn’t find where).
Here is code responsible.
Do you think it would be a good idea to have the Application name as default channel label, and later add a possibility to extend this behaviour?
How about something generic like “Alert” or “Notification” for the tag?
Rob
Maybe an extension to notification plugin so we can choose what we want displayed there?
local options = { title = "alert title", alert = "I am a notification", badge = 1 } local time = 1000 notifications.scheduleNotification( time, options )
After trying out both variants App name looks much better. It looks weird for some generic word in the middle of everything in bold font.
Please, try Corona 2019.3480, verify if issue was fixed