Subscription preference

Notification emails are sent to your Samsung account email address.

* Email : anonymous@samsung.com

  

Close

SecurityError missing privilege MOTION PEDOMETER

Forums View
Started by Newbie alexander.strauss , 700 Seed May 06, 2014 12:24 Replies : 2 View : 7159 Likes : 4


Hey everyone,

I have a sample app with just one method call:
Code

webapis.motion.start("PEDOMETER");

If I run it on my Gear 2, I get:

SecurityError: The application does not have the privilege to call this method.


In the config.xml I have:
Code

<feature name="http://developer.samsung.com/tizen/feature/pedometer"/>
<tizen:privilege name="http://developer.samsung.com/privilege/healthinfo"/>

which is what the documentation tells me to set:

Privilege level: public
Privilege: http://developer.samsung.com/privilege/healthinfo

Any ideas, why I still get the security error?

Version : 1.0.0b2
Build id : 20140411-1437

Cheers!
Post Reply
Board View
Samsung Developer hielko.ophoff , 31770 Seed May 06, 2014 16:23 Post #1 2
Shouldn't it be: <tizen:privilege name="http://tizen.org/privilege/healthinfo"/>
Post Reply
Board View
Newbie matt.burleson , 310 Seed May 07, 2014 15:12 Post #2 2


You will need to have a personal certificate.
Post Reply