Open peter-slattery opened 6 years ago
Hi Peter, It doesn't have the specific line where the exception is occurred. Can you build it with debug option to investigate? Thanks.
We built it in Debug to begin with, but because it's in a Coroutine, the line numbers it provides aren't super helpful. We figured out that its this section in your DriveTest script:
if (authorization.Current is Exception) {
Debug.LogWarning ((authorization.Current as Exception));
goto finish;
} else
Debug.Log ("User Account: " + drive.UserAccount);
The Google+Drive Exception is being raised by the Debug.LogWarning ((authorization.Current as Exception));
command
Hmm, I think Google drive doesn't support OAuth2 anymore.
I've gone through the process of getting this repo to build to iOS, and upon successfully launching the app on a device, instantly get a Debug.Log saying "invalid_request" as follows:
Background: Before this, I had gone through all of WebView.mm and removed all dealloc, release and retain commands. I also found that we needed to modify all webViewPlugin assignments to match below:
WebViewPlugin *webViewPlugin = (__bridge WebViewPlugin *)instance;