Search code examples
cllocationmanagertizentizen-native-app

Samsung Galaxy SM-R800 Gear S4 location permission error (TIZEN_ERROR_PERMISSION_DENIED)


I'm trying to get the location of Samsung Galaxy SM-R800 Gear S4. Following the official documentation of Tizen, I'm unable to get the location and it says TIZEN_ERROR_PERMISSION_DENIED. I allowed all the required permissions from the watch.


Solution

  • That documentation looks quite old. Your watch runs on Tizen 4.0, so please refer to the right guide and examples.

    Since Tizen 4.0, applications should acquire privacy-related permissions by prompting the user for a choice. Please check out the following documentation and configure your application to have such logic (ppm_check_permission() and ppm_request_permission()).