-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat : Create an example package for altfire_authenticator #71
Conversation
Codecov ReportAll modified and coverable lines are covered by tests β
Additional details and impacted files@@ Coverage Diff @@
## main #71 +/- ##
=======================================
Coverage 58.19% 58.19%
=======================================
Files 13 13
Lines 299 299
=======================================
Hits 174 174
Misses 125 125 β View full report in Codecov by Sentry. |
FilledButton( | ||
child: const Text('Sign in with Google'), | ||
onPressed: () async { | ||
await authenticator.signInWithGoogle(); | ||
}, | ||
), | ||
FilledButton( | ||
child: const Text('Sign out'), | ||
onPressed: () async { | ||
await authenticator.signOut(); | ||
}, | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding the button! π
How about switching the button according to the sign-in status, now that we have it? π
The idea is to display a sign-in button when not signed in, and a sign-out button when signed in βοΈ
It would be nice for a sample if the uid
is also displayed when signed in!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the UI based on whether the user is signed in or notπ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like you to add a launch configuration for altfire_authenticator
in launch.json
, please!
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
CLANG_ENABLE_MODULES = YES; | ||
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; | ||
DEVELOPMENT_TEAM = 9DSUD2DLG2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the DEVELOPMENT_TEAM setting and updated the settings.jsonπ
final authenticator = ref.watch(authenticatorProvider); | ||
final uid = ref.watch(uidProvider); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed Riverpod from the dependenciesπ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Issue Link
closes #17
π What I did
βοΈ What I didn't do
β Verification
Screenshots
Additional Information