语言

Menu
Sites
Language
Application Authorization changes on start

Hey there,

 

I am new to developing on Tizen (on a Samsung Gear S3 Frontier) and have now implemented code to get the current GPS location of the watch from the code snippet section (https://developer.tizen.org/community/code-snippet/native-code-snippet/getting-location-using-gps?tab=all).

 

That works for me, and I can receive the current Location. However, everytime I start the Application on the watch via the Tizen Studio, the App Authorization for the Location is disabled. Therefore everytime after starting the App I have to navigate into the App Settings and enable the Location Authorization.

 

Is there a way to have this authorization automatically enabled, or will this change when I install the Application on the Watch and don't use the Tizen Studio to launch the App?

 

Thanks for your help in advance :)

 

查看选择的答案

响应

1 回复
Mark as answer
Maciej

It is simply because when you run the app through Tizen Studio, it first uninstalls the old version of the app and then installs the new one.

If you don't use Tizen Studio, it will be fine. You can use command line and SDB.

It's the same when the app is updated in the store. It does not get uninstalled, all the data and privileges remain after update.