P peter93 Member Licensed User Longtime User Apr 14, 2017 #1 I try to connect to googleDrive and I get this message: I use the libGoogleDrive library V1.0 and webViewXtended and WebViewExtras. I have the libGoogleDrive.jar file in the additional library. Thanks for your help. Last edited: Apr 14, 2017
I try to connect to googleDrive and I get this message: I use the libGoogleDrive library V1.0 and webViewXtended and WebViewExtras. I have the libGoogleDrive.jar file in the additional library. Thanks for your help.
DonManfred Expert Licensed User Longtime User Apr 15, 2017 #2 i guess it is the result of https://www.b4x.com/android/forum/t...blocking-oauth-requests-using-web-view.77269/ Upvote 0
i guess it is the result of https://www.b4x.com/android/forum/t...blocking-oauth-requests-using-web-view.77269/
P peter93 Member Licensed User Longtime User Apr 15, 2017 #3 Yes, I think it is this. I control bad network protocol problems but I think that a change in the libGoogleDrive library will be necessary ? Upvote 0
Yes, I think it is this. I control bad network protocol problems but I think that a change in the libGoogleDrive library will be necessary ?
DonManfred Expert Licensed User Longtime User Apr 18, 2017 #4 peter93 said: but I think that a change in the libGoogleDrive library will be necessary ? Click to expand... I don´t think it will help. The lib rely on using the http-googledrive api. there is no way to get a OAuth Token using the http-api anymore. You need to setup a custom scheme like described in the Thread i posted. I can´t answer this for GoogleDrive 100%. But talking about my two Dropbox-Libraries i can say: - Using the HTTP Version of my Dropbox-Lib (which is based on okHTTP-Calls (like the googledrivelib does) you are not able anymore to get an OAUth token. Here the same applies like on the googledriblib. - Using my JAVA-Version of the Dropbox-Library you ARE able as the OAuth is not realised with a webview. The java-lib is using either the installed Dropbox-App OR the Device-Browser to Authenticate a User and to get an Access-Token for the users Dropbox. Upvote 0
peter93 said: but I think that a change in the libGoogleDrive library will be necessary ? Click to expand... I don´t think it will help. The lib rely on using the http-googledrive api. there is no way to get a OAuth Token using the http-api anymore. You need to setup a custom scheme like described in the Thread i posted. I can´t answer this for GoogleDrive 100%. But talking about my two Dropbox-Libraries i can say: - Using the HTTP Version of my Dropbox-Lib (which is based on okHTTP-Calls (like the googledrivelib does) you are not able anymore to get an OAUth token. Here the same applies like on the googledriblib. - Using my JAVA-Version of the Dropbox-Library you ARE able as the OAuth is not realised with a webview. The java-lib is using either the installed Dropbox-App OR the Device-Browser to Authenticate a User and to get an Access-Token for the users Dropbox.
Paulsche Well-Known Member Licensed User Longtime User Apr 30, 2017 #5 That means the libGoogleDrive library will no longer work? Upvote 0
DonManfred Expert Licensed User Longtime User May 1, 2017 #6 Paulsche said: will no longer work? Click to expand... probably yes. Unfortunately. Last edited: May 1, 2017 Upvote 0