From 8141f38dd7dfbd6832e74832d6fbb6706247baa4 Mon Sep 17 00:00:00 2001 From: darwin-morocho Date: Tue, 20 Feb 2024 08:57:45 -0500 Subject: [PATCH] fixed issue 383 --- facebook_auth/CHANGELOG.md | 3 +++ facebook_auth/pubspec.yaml | 2 +- facebook_auth_web/CHANGELOG.md | 5 +++++ facebook_auth_web/lib/src/facebook_auth_plugin.dart | 2 +- facebook_auth_web/pubspec.yaml | 4 ++-- website/docs/intro.md | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/facebook_auth/CHANGELOG.md b/facebook_auth/CHANGELOG.md index b5cf71f5..835244a6 100644 --- a/facebook_auth/CHANGELOG.md +++ b/facebook_auth/CHANGELOG.md @@ -1,3 +1,6 @@ +### 6.1.1 +- Fixed [issue #383](https://github.com/darwin-morocho/flutter-facebook-auth/issues/383) + ### 6.1.0 - Fixed [issue #389](https://github.com/darwin-morocho/flutter-facebook-auth/issues/389). Thanks to [potatojoayo](https://github.com/potatojoayo) diff --git a/facebook_auth/pubspec.yaml b/facebook_auth/pubspec.yaml index 9f32781d..6384d24c 100644 --- a/facebook_auth/pubspec.yaml +++ b/facebook_auth/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_facebook_auth description: The easiest way to add facebook login to your flutter app. Feature includes getting user information, profile picture and more. This plugin also supports Web and macOS. -version: 6.1.0 +version: 6.1.1 homepage: https://github.com/darwin-morocho/flutter-facebook-auth environment: diff --git a/facebook_auth_web/CHANGELOG.md b/facebook_auth_web/CHANGELOG.md index 046934f8..9a0c92c7 100644 --- a/facebook_auth_web/CHANGELOG.md +++ b/facebook_auth_web/CHANGELOG.md @@ -1,3 +1,8 @@ + +### 5.0.1 +- Updated js: ^0.7.1 + + ### 5.0.0 - Use dart >=3.0.0 <4.0.0 diff --git a/facebook_auth_web/lib/src/facebook_auth_plugin.dart b/facebook_auth_web/lib/src/facebook_auth_plugin.dart index 92e968fc..a4ede34b 100644 --- a/facebook_auth_web/lib/src/facebook_auth_plugin.dart +++ b/facebook_auth_web/lib/src/facebook_auth_plugin.dart @@ -299,7 +299,7 @@ class FlutterFacebookAuthPlugin extends FacebookAuthPlatform { status: LoginStatus.failed, message: 'unknown error', ); - } on PlatformException catch (e, s) { + } on PlatformException catch (e, _) { return LoginResult( status: LoginStatus.failed, message: e.message, diff --git a/facebook_auth_web/pubspec.yaml b/facebook_auth_web/pubspec.yaml index b67107db..74529c46 100644 --- a/facebook_auth_web/pubspec.yaml +++ b/facebook_auth_web/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_facebook_auth_web description: web support for flutter_facebook_auth -version: 5.0.0 +version: 5.0.1 homepage: https://github.com/darwin-morocho/flutter-facebook-auth/tree/master/facebook_auth_web @@ -13,7 +13,7 @@ dependencies: sdk: flutter flutter_web_plugins: sdk: flutter - js: ^0.6.3 + js: ^0.7.1 flutter_facebook_auth_platform_interface: ^5.0.0 # flutter_facebook_auth_platform_interface: diff --git a/website/docs/intro.md b/website/docs/intro.md index 86827d95..79a064a0 100644 --- a/website/docs/intro.md +++ b/website/docs/intro.md @@ -28,7 +28,7 @@ Add the following to your `pubspec.yaml` ```yaml dependencies: - flutter_facebook_auth: ^6.1.0 + flutter_facebook_auth: ^6.1.1 ```