-
Hello, I thought before I create a minimal PoC and write a full bugreport, I'd ask here first if this may be an expected behavior on android, that I just missed in the docs and at least can't seem to find any infromation about. Installed ShinyPackages: Initialisation:
I did not register a INotificationDelegate for now. As far as I understand the samples this is only for callbacks from clicking on notifications? I've got the IGpsDelegate implementation and Android foreground service running (with a notification to inform the user about the activity) fetching the devices position and uploding it to a webservice in short intervalls, this works fine. Broken down I'm not doing much more than:
Long story short is it even possible to send local notifications fom the gps foreground service delegate on android? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
You have to run INotificationManager.RequestAccess in the foreground to be able to send. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to do the same with the foreground service from android and log the location every x minutes. However, I get this not working. The service starts fine. Sometimes the OnGPSreading will be triggered but mostly not. Would you maybe willing to check my Example? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Logging is built into Shiny. You need to hook up to the Microsoft Logging Extensions. You can a file logger and Shiny also provides a sqlite logger for tracking things in the background