Closed MelbourneDeveloper closed 6 years ago
Putting this here as it may help. There is someone who claims to have gotten this working.
https://stackoverflow.com/q/49397533/1841839 https://stackoverflow.com/a/44444388/1841839
My comment would be that it looks like he has a client id and client secret which would lead me to believe that he made browser or native credentials on the developer console. Now i wonder about the security of using native or browser credentials in a mobile app when your superposed to be using a different auth flow.
Nope i haven't tested it but in theory it looks like it would work.
Thanks @LindaLawton for the ideas.
@MelbourneDeveloper Xamarin is not currently supported, although we will take note of your request to support the platform. Closing this issue.
I would like to use the Google Calendar API from Xamarin Forms. I wasn't able to port the sample project to Xamarin Forms UWP, or Android. This is the code:
I just get a non descriptive error on Windows 10 and Android. My guess is that the .NET Standard library is trying to pop up a browser window which would work fine from a .NET console app, but is failing on UWP, or Android.
Here is the repo. You will need to add your own client_secret.json resource file. https://ChristianFindlay@bitbucket.org/ChristianFindlay/xamarin-forms-scratch.git
I started a Stack Overflow question here: https://stackoverflow.com/questions/49102966/xamarin-google-calendar-sample/49186044#49186044