Languages

Menu
Sites
Language
wearable 권한 관련 에러문제.

실기기 s3 최신버전으로 테스트하고있습니다.

권한 관련하여 config.xml에 추가 하였습니다. 가끔은 에러가 발생하고 가끔은 또 안발생하네요...

빌드할때마다 다르군요. 근데..휴대폰과 다르게 처음 실행할때 권한 묻는 창이 뜨지 않는데 이게 맞나요?

 

권한을 잘 추가하여도

 tizen.power.request('SCREEN', 'SCREEN_NORMAL');

위의 코드에서 에러가 Uncaught SecurityError: Permission denied 와 같이 발생합니다.

Edited by: pedro j on 27 Nov, 2017

Responses

3 Replies
pedro j

디버그 모드로 항상 해서 안되던거군요 -_-ㅋ

해결완료했습니다...휴

Iqbal Hossain

hi pedro j, I am getting same error  Uncaught SecurityError: Permission denied when i am using this line  tizen.power.request('SCREEN', 'SCREEN_NORMAL');

How did you solve it please share.. I tried with both Run and Debug options. Result is same

pedro j

 

I solved this problem by building project not in debug As -> Tizen web Application  but by  Run As -> Tizen web application.