Search code examples
javascriptcordovagoogle-calendar-apicordova-plugins

Creating a new Google Calender Event with cordova



I'm trying to find a way to create a new google calendar event using cordova/phonegap. I have tried to use Google's JavaScript Calendar api for this, but for the OAuth Client ID I must specify an authorized javascript origin, and I am not sure if I can do that with cordova (or if I can, I'm not sure what the URL would be).

If there is a plugin, etc. that could create the event I could use that, if not if you could supply code and instructions for generating the key that would be very helpful.

Thank you all in advanced! =)


Solution

  • I think this should work. http://phonegap-tips.com/articles/google-api-oauth-with-phonegaps-inappbrowser.html

    Also a dup of this?