Dear dropbox comunity,
I cannot complete a full authentication within my dropbox account and my android application. The app is in development status, with generated token by console, and the users object is always null after connection....
mDboxClientV2.users().getCurrentAccount()
I have to ask you, why i'm always getting a half authentication with this v2 method, how to get the current account?
public static DbxClientV2 init(String accessToken) {
if (sDbxClient == null) {
DbxRequestConfig requestConfig = DbxRequestConfig.newBuilder("fotosinspecc")
.withHttpRequestor(new OkHttp3Requestor(OkHttp3Requestor.defaultOkHttpClient()))
.build();
sDbxClient = new DbxClientV2(requestConfig, accessToken);
//Constants.setClient(sDbxClient);
}
return sDbxClient;
}
Thanks in advance for youe com=ments, regards