-
Notifications
You must be signed in to change notification settings - Fork 9
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
Using Authorize from SwiftUI view #17
Comments
@infinitetrooper Thank you for reaching out! I understand the inconvenience and would love to support SwiftUI natively. Unfortunately I'm not up-to-date with the latest Apple developments anymore and don't think I'll find the time to dig into that very soon. Feel free to submit a PR! |
Thanks @elsesiy, I will definitely look to create a PR for SwiftUI if I end up figuring out how to implement the same functionality as is currently supported. Will keep an eye out for dependencies update. |
I'm not familiar with UIkit so how would you do it with the adding an extra UI view controller way? I'm trying to make a multiplatform app for iOS and macOS so do I make separate things for UIViewController and NSViewController? I am thinking off showing a sheet that has a sign in with google button |
Hello, Firstly, Thanks @elsesiy for the brilliant work.
Secondly, Is there any way to call the
GAppAuth.shared.authorize
from a SwiftUI view, The current implementation requires us to pass a UIViewController forpresentingViewController
but, I'm building an app in SwiftUI and would love to handle the auth without adding an extra view controller just for a login button.Also, any plans to release a new version to support the updated GTMAppAuth and AppAuth releases?
Thanks Again!
The text was updated successfully, but these errors were encountered: