Skip to content

When I use facebook sign on, and if I already have facebook app in my phone then it should redirect to the facebook mobile app instead of browser #987

Open
@vipul8815

Description

@vipul8815

[✓] Flutter (Channel stable, 3.19.5, on macOS 14.3.1 23D60 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.91.1)

String redirect_url = 'desipass://call-back';
await supabase.auth.signInWithOAuth(
OAuthProvider.google,
redirectTo: redirect_url,
);
await supabase.auth.signInWithOAuth(
OAuthProvider.facebook,
redirectTo: redirect_url,
);

I am using above function code but function not open gmail or facebook(my phone have already there both app), Its open browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    authThis issue or pull request is related to authenticationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions