diff --git a/.github/images/supabase_auth_ui.png b/.github/images/supabase_auth_ui.png new file mode 100644 index 0000000..4208d3c Binary files /dev/null and b/.github/images/supabase_auth_ui.png differ diff --git a/README.md b/README.md index efacee9..e744edf 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ # flutter-auth-ui :iphone: +

A simple library of predefined widgets to easily and quickly create auth components using Flutter and Supabase. -> :warning: **Developer Preview**: This is a developer preview and there maybe some breaking changes until we release v1.0.0. - -![Supabase Auth UI](https://raw.githubusercontent.com/supabase-community/flutter-auth-ui/main/assets/supabase_auth_ui.png "UI Sample") +![Supabase Auth UI](https://raw.githubusercontent.com/supabase-community/flutter-auth-ui/main/.github/images/supabase_auth_ui.png 'UI Sample') ## Email Auth @@ -15,6 +14,8 @@ It also contains a button to toggle to display a forgot password form. You can pass `metadataFields` to add additional fields to the signup form to pass as metadata to Supabase. +You need to setup deep links in your app to if you have enabled email confirmation. Learn more about deep links on the [supabase_flutter README](https://pub.dev/packages/supabase_flutter#deep-links). + ```dart // Create a Email sign-in/sign-up form SupaEmailAuth( @@ -43,7 +44,7 @@ SupaEmailAuth( ## Magic Link Auth -Use `SupaMagicAuth` widget to create a magic link signIn form. +Use `SupaMagicAuth` widget to create a magic link signIn form. You need to setup deep links in your app to use magic link. Learn more about deep links on the [supabase_flutter README](https://pub.dev/packages/supabase_flutter#deep-links). ```dart SupaMagicAuth( @@ -75,7 +76,7 @@ SupaResetPassword( ## Social Auth -Use `SupaSocialsAuth` to create list of social login buttons. +Use `SupaSocialsAuth` to create list of social login buttons. You need to setup deep links in your app to use social auth. Learn more about deep links on the [supabase_flutter README](https://pub.dev/packages/supabase_flutter#deep-links). ```dart SupaSocialsAuth( @@ -87,7 +88,7 @@ SupaSocialsAuth( redirectUrl: kIsWeb ? null : 'io.supabase.flutter://reset-callback/', - onSuccess: (Session response) { + onSuccess: (Session response) { // do something, for example: navigate('home'); }, onError: (error) { diff --git a/assets/supabase_auth_ui.png b/assets/supabase_auth_ui.png deleted file mode 100644 index a3fd89d..0000000 Binary files a/assets/supabase_auth_ui.png and /dev/null differ diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 62ce7cb..c7b21ec 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -2,15 +2,20 @@ PODS: - app_links (0.0.1): - Flutter - Flutter (1.0.0) - - path_provider_ios (0.0.1): + - path_provider_foundation (0.0.1): - Flutter + - FlutterMacOS + - shared_preferences_foundation (0.0.1): + - Flutter + - FlutterMacOS - url_launcher_ios (0.0.1): - Flutter DEPENDENCIES: - app_links (from `.symlinks/plugins/app_links/ios`) - Flutter (from `Flutter`) - - path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`) + - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) + - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) EXTERNAL SOURCES: @@ -18,17 +23,20 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/app_links/ios" Flutter: :path: Flutter - path_provider_ios: - :path: ".symlinks/plugins/path_provider_ios/ios" + path_provider_foundation: + :path: ".symlinks/plugins/path_provider_foundation/darwin" + shared_preferences_foundation: + :path: ".symlinks/plugins/shared_preferences_foundation/darwin" url_launcher_ios: :path: ".symlinks/plugins/url_launcher_ios/ios" SPEC CHECKSUMS: app_links: ab4ba54d10a13d45825336bc9707b5eadee81191 Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 - path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02 - url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de + path_provider_foundation: eaf5b3e458fc0e5fbb9940fb09980e853fe058b8 + shared_preferences_foundation: e2dae3258e06f44cc55f49d42024fd8dd03c590c + url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4 PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3 -COCOAPODS: 1.11.3 +COCOAPODS: 1.14.3 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index aec01d3..578e7a0 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -156,7 +156,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { @@ -200,10 +200,12 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", ); name = "Thin Binary"; outputPaths = ( @@ -231,6 +233,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index c87d15a..a6b826d 100644 --- a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ CADisableMinimumFrameDurationOnPhone + UIApplicationSupportsIndirectInputEvents + diff --git a/pubspec.yaml b/pubspec.yaml index 3556a7d..ada70f8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: sdk: flutter supabase_flutter: ^2.0.1 email_validator: ^2.0.1 - font_awesome_flutter: ^10.0.0 + font_awesome_flutter: ^10.6.0 dev_dependencies: flutter_test: @@ -23,3 +23,7 @@ dev_dependencies: flutter: assets: - assets/logos/ + +screenshots: + - description: The flutter bloc package logo. + path: .github/images/supabase_auth_ui.png