Google Drive

Hi Scott,

Three things:

  1. I hope the Corona engineers will step in and talk about how they intend to deal with the deprecation of OAuth through WebViews, since I’m assuming you (like myself) use this method for authentication.

  2. I found the Google API Playground invaluable for making things work. The documentation in itself is far from enough to understand things and get them working. The API PlayGround is amazing and helps a lot.

  3. If you want, I can share my Google Calendar stuff with you, so you can see some of the REST and JSON trickery.

Thanks, for this.

  1. I don’t think they will, my guess is the web pop ups and safari web view for iOS will work. 

2/3. I understand how the api work, thanks for the offer, I made this plugin in my free time. The main goal of the plugin was to make it easier to use the google drive api. 

I have decide to open source this plugin btw https://github.com/scottrules44/google-drive-source

Hey Scott! Thanks - I saw your mail answering my other OAuth post as well. The native web-PopUp looks like a solution for my problem (depending on how well it’s implemented, but I’m hopeful!).

Very cool of you to open source your stuff. I will definitely share my calendar stuff as well, but at the moment (due to lack of time) all I can do is an undocumented code dump, and that might confuse more than it would help!

Just started trying to implement this.

I managed to log in ok, but when I restarted the app “drive.haveRefreshToken” is true so the webview doesn’t appear, but I am not logged in so can’t make any requests (get ‘not signed in’ error returned).

I cannot reproduce this, can you provide a sample

Is this plugin still current? The documentation link is not owrking.

https://scottrules44.com/plugin#GoogleDrive

It is no longer supported, source code is available 

https://github.com/scottrules44/google-drive-source

Thanks Scott. DO you have a sample Corona app using this?

Here is old sample

https://github.com/scottrules44/drive-plugin

Pretty sure plugin does not work anymore because Google wants you to sign in with native api. Which is why it is open source. If you get it working let me know.

I actually got it working to here but not sure where to go from here. How can I use this inside my app?

 If you got it to work that is great, I am not supporting this plugin anymore

  1. If you want, I can share my Google Calendar stuff with you, so you can see some of the REST and JSON trickery.

Can someone please tell me more about this?

Hello
Not sure if yo uare still active but if you still have this plugin up and running I would be very interested then :slight_smile: