Dropbox native authentication access token malformed when use in Dropbox JS SDK

One of my ionic 1 project, I have included Dropbox through Dropbox JavaScript SDK for user data backup. I have used inAppBrowser for the authentication process. Everything is working perfectly and 100+ user already using this feature.

After 100+ user I have applied for production request but it’s declined reason for OAuth app authorization flow inside a web view, instead of the system browser.

For handling this situation I have made an ionic plugin for native authentication flow of Dropbox android SDK. I have developed & configure my plugin using Dropbox Android SDK.

But problem is, when I am sending my Access Token to JS SDK (https://github.com/dropbox/dropbox-sdk-js) it’s returning 400 response The given OAuth 2 access token is malformed.

I have posted a post to Dropbox forum about this problem. After 3 days conversation replier says he is not familiar with Cordova, ionic :frowning:
Here is dropbox post what I posted https://www.dropboxforum.com/t5/API-Support-Feedback/Android-SDK-auth-access-token-malformed-when-Access-Token-use-in/m-p/317792

My Plugin for Dropbox Native Authentication: https://github.com/haruncpi/cordova-native-dbxconnect.git
If anyone help me to fix this issue it will be very helpful to me.