I am building an app that requires access to the users location and it uses the getCurrentLocation code snippet from https://developer.tizen.org/documentation/articles/using-location-based-services-on-tizen. When the app is opened for the first time and it attempts to determine the user’s location, the user receives a prompt that says, “<app name> requests your location”. This prompt also shows up on subsequent loads if the user does not choose to remember this setting.
I’ve seen apps on other platforms where it takes 5+ seconds to determine the users location for any number of reasons. I would like to gracefully handle this by triggering a possible user override if the app still has not determined the location after X seconds. Triggering the override is straightforward but I was curious if there was any sort of callback that I could tie into when a user chooses “Yes” or “No” in response to the prompt?
Detect location request prompt
I am building an app that requires access to the users location and it uses the getCurrentLocation code snippet from https://developer.tizen.org/documentation/articles/using-location-based-services-on-tizen. When the app is opened for the first time and it attempts to determine the user’s location, the user receives a prompt that says, “<app name> requests your location”. This prompt also shows up on subsequent loads if the user does not choose to remember this setting.
I’ve seen apps on other platforms where it takes 5+ seconds to determine the users location for any number of reasons. I would like to gracefully handle this by triggering a possible user override if the app still has not determined the location after X seconds. Triggering the override is straightforward but I was curious if there was any sort of callback that I could tie into when a user chooses “Yes” or “No” in response to the prompt?
Thanks in advance
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio