Hello,
I am developing an standalone application on watchOS in order to send an alert to a server whenever a fall is detected. I'm using a workout session to collecte and process the user activities. Falls can be detected either if the application is in background or in foreground and a message is then send to a server. This is working fine when connected to the phone or over WiFi but if I'm using only 4G on the watch my messages are most of the time not sent if my app is not in the foreground.
To send these messages I use URLSession dataTask method with a session configure as default.
What should I had to be able to have the same comportment in 4G than with the other connection type ? Is this even possible ?
Best regards,
Coralie