언어 설정

Menu
Sites
Language
Unable to send email - PRIVILEGE_UNKNOWN_FAILED

Hi,

We're developing a native application for Gear Fit 2 (SM-R360, Software version: R360XXU1CQB1) on sdk 3.0

As part of my app and email sending is required.

We copied send_simple_email() function (and the required include statement) from the below code sample: 
/community/code-snippet/native-code-snippet/send-simple-email-message-one-attachment

In addition, We've added the below privilige, as stated in tizen email guide.

When trying to deploy the package (worked well prior to email addition) the below error:

We've also tried to remove the privilige but then the application crashed right after it started - we couldn't find the reason for that but we do know that once the send_simple_email() function is deleted from the code the application doesn't crash.


Any advise / idea will be appriciated.

Thanks,

Ido

Responses

3 댓글
Peter Wegner

No idea what you exactly trying... but be sure you sort out:

 

1.

R360XXU1CQB1 is IMHO Tizen:

2.3.x.x

Check exact API version...

But I am sure NOT Tizen 3.0.0.0

 

2.

I see in your screenshot Partner Level...

Be sure you need Partner Level signed app...

And be sure you have "permission" to use Partner Level...

 

At home you can play with all 3 Levels... Public, Partner and Platform...

But for Store...

 

Short Google Search...

https://www.tizen.org/privilege

Here your privilege seems for Public Level...

https://wiki.tizen.org/Security/Tizen_3.X_Privileges

Here also...

 

I have no idea if this privilege is in Wearable... especially in your Gear Fit 2...

 

In theory there is an SQLite *db file on device, where all privileges which supported are inside...

 

 

Best Regards

Marco Buettner

Its easy... The Firmware on your device isnt like Peter said not Tizen 3.0... But Email API is supported just since 3.0 on Wearable Devices ...

Shaswati Saha

You're getting this error because Email API is available since Tizen 3.0 (for wearables). Though you've developed the app in version 3.0, your device platform is still lower than that. Please check the Tizen version in your development device, you'll find a mismatch between the app development platform and development device version.