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.
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.
If you want, I can share my Google Calendar stuff with you, so you can see some of the REST and JSON trickery.
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.
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!
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).
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.