Hello everyone!
I have made changes for iOS devices.
When I test on a real device, I get a number on the icon, but the push notification is not shown.
I need your help, I can’t understand why this is happening?
local notifications = require( "plugin.notifications.v2" )
pushText1 = "Toys are bored! It's time to play!"
local options241 = {
alert = pushText1,
badge = 1,
sound = "alarm.caf",
custom = { foo = "bar" }
}
local utcTime241 = os.date( "!*t", os.time() + 30 )
local notification241 = notifications.scheduleNotification( utcTime241, options241 )