awslabs / aws-sdk-net-samples

Apache License 2.0
194 stars 175 forks source link

Login with ReadPermissions() is obselete #3

Open georgeedwards opened 8 years ago

georgeedwards commented 8 years ago

Building in Xamarin throws the following error message. I am just trying to work through the code to work out what this should be replaced with exactly, but any suggestion for someone more experienced with the code would be much appreciated.

/DynamoDB/ContactManager.iOS/FacebookLoginButtonRenderer.cs(10,10): Warning CS0618: Facebook.LoginKit.LoginManager.LogInWithReadPermissions(string[], Facebook.LoginKit.LoginManagerRequestTokenHandler)' is obsolete:Use LogInWithReadPermissions (string[], UIViewController, LoginManagerRequestTokenHandler) method instead' (CS0618) (ContactManager.iOS)

sunchunqiang commented 6 years ago

For this project, you can update Xamarin.Facebook.iOS back to version 4.40 from NuGet Package Manager