Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More than one url type #87

Open
ozersenol opened this issue Nov 8, 2020 · 0 comments
Open

More than one url type #87

ozersenol opened this issue Nov 8, 2020 · 0 comments

Comments

@ozersenol
Copy link

What if there ismore than one on this:

    public override bool OpenUrl(UIApplication app, NSUrl url, NSDictionary options)
    {
        if (Xamarin.Forms.DependencyService.Get<IAppleSignInService>().Callback(url.AbsoluteString))
            return true;

        return base.OpenUrl(app, url, options);
    }

public override bool OpenUrl
(
UIApplication application,
NSUrl url,
string sourceApplication,
NSObject annotation
)
{
#if DEBUG
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.AppendLine("OpenURL Called");
sb.Append(" url = ").AppendLine(url.AbsoluteUrl.ToString());
sb.Append(" application = ").AppendLine(sourceApplication);
sb.Append(" annotation = ").AppendLine(annotation?.ToString());
System.Diagnostics.Debug.WriteLine(sb.ToString());
#endif
return true;
}
What should I do to implement also for facebook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant