BitsAndBytes Active Member Licensed User Sep 16, 2017 #1 I use this code to setup a notification Code: Copy Dim x As Notification x.Initialize x.Icon = "icon" x.AutoCancel=False x.Sound=True x.Vibrate=True x.SetInfo("TITLE","SUBTITLE","") x.Notify(1) But now i have a problem because i want to show this notification to user device once a week and i dont know where to start. Thank you!
I use this code to setup a notification Code: Copy Dim x As Notification x.Initialize x.Icon = "icon" x.AutoCancel=False x.Sound=True x.Vibrate=True x.SetInfo("TITLE","SUBTITLE","") x.Notify(1) But now i have a problem because i want to show this notification to user device once a week and i dont know where to start. Thank you!
DonManfred Expert Licensed User Longtime User Sep 16, 2017 #2 Store the time you want to show it again (long) in a db or kvs use a resheduling service In the service check if the time < storedestinationtime then reshedule service in 3 hours. if the service reaches the time you can show the notification and set a new destinationtime Upvote 0
Store the time you want to show it again (long) in a db or kvs use a resheduling service In the service check if the time < storedestinationtime then reshedule service in 3 hours. if the service reaches the time you can show the notification and set a new destinationtime