ssett / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Windows phone authentication back key problem #475

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After authenticating user with email and password and after flow is over  I get 
result for user calendars and everything is working fine. But when I press back 
button and want to navigate to previus page error is raised :

An attempt was made to transition a task to a final state when it had already 
completed.

at System.Threading.Tasks.TaskCompletionSource`1.SetCanceled()
   at Google.Apis.Auth.OAuth2.WebAuthenticationBrokerUserControl.RootPage_BackKeyPress(Object sender, CancelEventArgs e)
   at Microsoft.Phone.Controls.PhoneApplicationPage.Microsoft.Phone.Controls.IPhoneApplicationPage.InternalOnBackKeyPress(CancelEventArgs e)
   at System.Windows.Navigation.Journal.SystemKeyPressed(NavigationSystemKey systemKeyType)
   at Microsoft.Phone.TaskModel.Interop.Task.FireOnSystemKeyPressed(Int32 systemKeyType)

I am using Google.Apis 1.8.2
Operating system Windows phone 8.1

Original issue reported on code.google.com by alen.fac...@sk.htnet.hr on 4 Jul 2014 at 7:09

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 6 Jul 2014 at 9:31

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 15 Jul 2014 at 11:29

GoogleCodeExporter commented 9 years ago
The code of this project is open source.
Feel free to contribute o suggest a solution for the library

I'm pretty sure that your fix is going to be in this file.
https://code.google.com/p/google-api-dotnet-client/source/browse/Src/GoogleApis.
Auth.WP/OAuth2/WebAuthenticationBrokerUserControl.xaml.cs#82

Thanks,
Eyal

Original comment by pele...@google.com on 31 Jul 2014 at 2:46

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/117500043/

Original comment by pele...@google.com on 2 Aug 2014 at 7:58

GoogleCodeExporter commented 9 years ago

Original comment by pele...@google.com on 9 Aug 2014 at 2:27

GoogleCodeExporter commented 9 years ago
Issue 484 has been merged into this issue.

Original comment by pele...@google.com on 24 Aug 2014 at 2:06

GoogleCodeExporter commented 9 years ago
This is fixed? Where?

Original comment by bc3t...@gmail.com on 24 Aug 2014 at 2:09

GoogleCodeExporter commented 9 years ago
Development version. Not yet in available in a release.
https://code.google.com/p/google-api-dotnet-client/source/detail?r=6ba2a0adffbb6
6ee0955981bec44cc963c2148b9

Will be part of release 1.9.0

Original comment by pele...@google.com on 24 Aug 2014 at 2:20