Skip to content
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

Update flutter_web_auth_2 to stable 3.0.0 #723

Merged
merged 3 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion templates/flutter/lib/src/client_io.dart.twig
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,9 @@ class ClientIO extends ClientBase with ClientMixin {
callbackUrlScheme: callbackUrlScheme != null && _customSchemeAllowed
? callbackUrlScheme
: "{{spec.title | caseLower}}-callback-" + config['project']!,
preferEphemeral: true,
options: const FlutterWebAuth2Options(
intentFlags: ephemeralIntentFlags,
),
).then((value) async {
Uri url = Uri.parse(value);
final key = url.queryParameters['key'];
Expand Down
8 changes: 4 additions & 4 deletions templates/flutter/pubspec.yaml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ platforms:
web:
windows:
environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=2.17.0 <4.0.0'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want me to revert this change and also the http constraints change, please let me know and I will remove these from this PR.


dependencies:
flutter:
sdk: flutter
cookie_jar: ^4.0.3
device_info_plus: ^9.0.2
flutter_web_auth_2: ^2.1.4
http: '>=0.13.6 <1.0.1'
flutter_web_auth_2: ^3.0.0
http: '>=0.13.6 <2.0.0'
package_info_plus: ^4.0.2
path_provider: ^2.0.15
web_socket_channel: ^2.4.0
Expand All @@ -32,4 +32,4 @@ dev_dependencies:
flutter_lints: ^2.0.1
flutter_test:
sdk: flutter
mockito: ^5.4.0
mockito: ^5.4.0