Languages

Menu
Sites
Language
OAuth2.0 in Native Wearable

 

Hi,

 

I am having issue with implementing OAuth2.0 (even the start). I have created basic template and added internet priviliages and added oauth header. Then I added:

oauth2_manager_h mgr = NULL;

int ret = oauth2_manager_create(&mgr);
if(ret != OAUTH2_ERROR_NONE)
{
    dlog_print(DLOG_ERROR, LOG_TAG, "ERROR #1");
    oauth2_manager_destroy(mgr);
    return;
}
oauth2_manager_destroy(mgr);
 

And after adding lines above the app does not lunch. There is no crash either. Have no idea what to do next. I have been following
https://developer.tizen.org/ko/development/guides/native-application/personal-data/authentication-and-authorization/oauth-2.0?langredirect=1

 

View Selected Answer

Responses

2 Replies
Mark as answer
Armaan-Ul- Islam

Hello Jakub Wiśniewski,

I reproduced your scenario on Tizen wearable 3.0 Emulator.

Basic Template > Code for oauth2 manager create

But the case is, My app launches fine with No Error creating oauth2 manager.

 

 

 

 

Make Sure You are using wearable device running on Tizen 3.0 or higher. And for Tizen Mobile, Tizen 2.4 or higher. Cause OAUTH2 API Documentation Stated support for only Tizen 3.0 (+higher) Wearable and Tizen 2.4 (+higher) Mobile.

Jakub Wiśniewski

 

Ok that makes sense ... didn't see that one. I was testing on fit2pro. I'll try on emulator but I get so many errors when lunching that it gonna take some time