Skip to content

macOS support #7

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

Closed
jhlabs opened this issue Jul 22, 2021 · 6 comments
Closed

macOS support #7

jhlabs opened this issue Jul 22, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@jhlabs
Copy link

jhlabs commented Jul 22, 2021

Feature request

Thanks for this great package!

I would like to use the supabase-flutter package with my app that runs on both the web and macOS.

Is your feature request related to a problem? Please describe.

I am using Google OAuth and it works well on the web. When running the macOS app, I can open the Google SignIn page. The callback scheme does not open my app, however. Instead, the Google Request keeps loading and the browser window loses focus.

Is a totally different implementation for macOS required? It seems to me that as long as the callback scheme is correct, I should be able to retrieve the resulting callback and handle the authentication logic from there as usual.

@jhlabs jhlabs added the enhancement New feature or request label Jul 22, 2021
@himeshp
Copy link

himeshp commented Jul 22, 2021

Supabase flutter uses uni links package which does not support flutter desktop apps yet.
More info here

#1

@bdlukaa
Copy link
Collaborator

bdlukaa commented Jul 22, 2021

The plugin uni_links has to add support for it in order to this happen. Once that happens, macOS app will work.

avioli/uni_links#57

@jhlabs
Copy link
Author

jhlabs commented Jul 22, 2021

Thanks for the info!

@jhlabs jhlabs closed this as completed Jul 22, 2021
@jhlabs
Copy link
Author

jhlabs commented Jul 22, 2021

It looks like the uni_links is not well maintained anymore. It does not seem likely that desktop support will land there anytime soon...

@lijy91
Copy link

lijy91 commented Mar 20, 2022

I developed desktop implementation of uni_links plugin. maybe it's time to finish this feature.

https://github.com/leanflutter/uni_links_desktop

@dshukertjr
Copy link
Member

That is amazing @lijy91 . Would you like to submit a PR?

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

No branches or pull requests

5 participants