Hello, we have an app that has a case where the user can turn on a feature that starts a timer for a thing when they arrive at a specific location.
Our app also has a live activity to show the timer.
Naturally, we're trying to make our live activity to start counting when the geofence triggers, but we get ActivityAuthorizationError.visibility. If an activity is already running, it's possible to turn it off.
So, our question is basically if there's any way to make the geofence trigger start our live activity?
Thanks
ActivityAuthorizationError.visibility will be returned if the app tries to start the Live Activity while it was in the background.
A geofence trigger will only activate your app in the background, hence it will not be "visible". You cannot start a Live Activity while an app is in the background.
Argun Tekant / DTS Engineer / Core Technologies