feat(example): add Facebook SDK login#1297
Closed
grdsdev wants to merge 8 commits into
Closed
Conversation
Pull Request Test Coverage Report for Build 21251112215Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
The flutter_secure_storage_web 1.2.1 dependency (from flutter_facebook_auth) uses deprecated web APIs (dart:html, dart:js_util) that are incompatible with Flutter's WASM compilation. This commit adds dependency overrides for the flutter_secure_storage package and its platform implementations to use newer versions that support the modern web APIs (dart:js_interop). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
I checked through the facebook auth issue, and I realize that it is a docs issue. The flutter_facebook_auth package handles the login well. However, the misunderstanding is the documentation not explaining how it works. I will send a fix soon so that it is clear, and I will mention every issue mentioned. @grdsdev |
|
I am unable to update the PR so that it will cover the new Facebook changes |
…example Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…mple - Keep facebook_auth_desktop and flutter_secure_storage_darwin imports - Keep flutter_facebook_auth dependency, update supabase_flutter to ^2.12.3 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-dev for Linux build - Revert flutter_lints from ^6.0.0 to ^3.0.1 to support Dart 3.3.x (Flutter 3.19.x) - Add libsecret-1-dev to Linux build dependencies for flutter_secure_storage_linux Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
….3.x compatibility 4.0.0 depends on win32 >=5.5.1 which requires Dart >=3.4.0, breaking Flutter 3.19.x (Dart 3.3.4). 4.1.0 is compatible with Dart >=3.3. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…attempts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…n 3.x The example app has dependencies incompatible with Dart 3.3.4 (Flutter 3.19.x). Bootstrap the example only when running Flutter 3.x, where the dependencies resolve correctly. Also add libsecret-1-dev required by flutter_secure_storage_linux on Linux. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
Feature / example update
What is the current behavior?
The Supabase Flutter example only shows email/password auth and does not include a Facebook SDK login flow.
What is the new behavior?
Adds a Facebook SDK sign-in flow to the example using , plus platform setup for Android and iOS and README setup guidance.
Additional context
Facebook App ID/client token and Supabase URL/keys remain placeholders for local configuration.