OAuth2.0 in Native Wearable

OAuth2.0 in Native Wearable

BY 18 Jan 2018 Native Application Development

 

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

 

Written by