Facebook SDK and FormsApplicationDelegate

rmenezesrmenezes BRMember ✭✭
edited January 2017 in Xamarin.Forms

I know that is a noob question but what's the best approach to use Facebook SDK and Xamarin Forms on AppDelegate?

Currently I'm doing this way:

public override bool FinishedLaunching(UIApplication application, NSDictionary options)
{
    ApplicationDelegate.SharedInstance.FinishedLaunching(application, options);
    return base.FinishedLaunching(application, options);
}

But for unknown reason the app is crashing when I try to call LoginManager.LogInWithReadPermissionsAsync without any exception.

I think that the problem is associated with ApplicationDelegate.SharedInstance.FinishedLaunching(application, options); but I'm not sure.

Tks for any help.

Best Answer

Answers

Sign In or Register to comment.