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

Webview in blank #28

Closed
orelvis15 opened this issue Aug 17, 2022 · 1 comment
Closed

Webview in blank #28

orelvis15 opened this issue Aug 17, 2022 · 1 comment

Comments

@orelvis15
Copy link

orelvis15 commented Aug 17, 2022

I am trying to configure authentication with google but when it opens the webview it is blank.

MacOS 12.5 Monterrey

  • Flutter 3.0.5 • channel stable
  • firebase_core_desktop: ^1.0.2
  • firebase_auth_desktop: ^1.0.2
  • firebase_core: ^1.20.1
  • firebase_auth: ^3.6.3

Aug-17-2022 13-32-14

Never pass this method, is waiting.

final result = await DesktopWebviewAuth.signIn(
    GoogleSignInArgs(
      clientId: _googleClientId,
      redirectUri: _redirectUri,
      scope: 'email',
    ),
  );
@orelvis15
Copy link
Author

I found the error, it turns out that I was adding

    <key>com.apple.security.network.server</key>
    <true/>
    <key>com.apple.security.network.client</key>
    <true/>

to my Release.entitlements but I also had to add it to DebugProfile.entitlements

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