Implementing the Google Sheets APIs in Xamarin.Forms

I am creating an application in a Xamarin.Forms PCL project that uses the Google API to move some data into a spreadsheet. However, when I install the Google.Apis.Sheets.v4 nuget package, I cannot access the GoogleWebAuthorizationBroker from the PCL. When I used the interface and implemented it in an Android app, it throws an unsupported exception when it tries to open the web browser. It says something like “Couldn't open browser with URI“ blah blah blah ”. I tried to just catch this exception and use Device.OpenURI to open it, but it doesn't return to the app after the user logs in. Is there a way to fix it this is?

+3


source to share





All Articles