Open QuentinSc opened 4 months ago
Hi @QuentinSc, do you have this same issue if you test using the plugin example app? If not, could you please provide a complete minimal reproducible code sample in a repo that we can clone so that we can investigate this issue?
Thank you
Hi @QuentinSc, do you have this same issue if you test using the plugin example app? If not, could you please provide a complete minimal reproducible code sample in a repo that we can clone so that we can investigate this issue?
Thank you
Hello, Yes got the same with the example app.
Thanks for the update. I can reproduce this using the plugin example app.
It doesn't seem like the app gets the new state after the login success. When I restart the app, I am taking to profile screen (which indicates that the login was successful, the app just may not have received the state update)
I tested this on android
cc @russellwheatley
Thanks for the update. I can reproduce this using the plugin example app.
It doesn't seem like the app gets the new state after the login success. When I restart the app, I am taking to profile screen (which indicates that the login was successful, the app just may not have received the state update)
I tested this on android
To reproduce
- Run the plugin example app
- Use the magic link sign up
- Click the link in the email and wait for the sign in to complete
- You will be redirected to the app, but to the magic sign up screen instead of the profile screen
cc @russellwheatley
Thank you
Hello, any news ? Is this package production ready ? Thank you :)
Is there any workaround like using an older version or overriding some code to get this to work until a fix is released?
Hi guys, here is a fix for this issue. I've tested this and it works well for me.
This fix is in: packages/firebase_ui_auth/lib/src/screens/email_link_sign_in_screen.dart
diff --git a/packages/firebase_ui_auth/lib/src/screens/email_link_sign_in_screen.dart b/packages/firebase_ui_auth/lib/src/screens/email_link_sign_in_screen.dart
index d435f2f..4b9b43b 100644
--- a/packages/firebase_ui_auth/lib/src/screens/email_link_sign_in_screen.dart
+++ b/packages/firebase_ui_auth/lib/src/screens/email_link_sign_in_screen.dart
@@ -61,7 +61,11 @@ class EmailLinkSignInScreen extends ProviderScreen<EmailLinkAuthProvider> {
@override
Widget build(BuildContext context) {
- return UniversalScaffold(
+ return PopScope(
+ canPop: true,
+ child: FirebaseUIActions(
+ actions: actions ?? const [],
+ child: UniversalScaffold(
body: ResponsivePage(
breakpoint: breakpoint,
headerBuilder: headerBuilder,
Is there an existing issue for this?
What plugin is this bug for?
Firebase UI Auth
What platform(s) does this bug affect?
Android
List of dependencies used.
flutter pub deps -s list
``` Dart SDK 3.2.6 Flutter SDK 3.16.9 dependencies: - flutter 0.0.0 - characters 1.3.0 - collection 1.18.0 - material_color_utilities 0.5.0 - meta 1.10.0 - vector_math 2.1.4 - web 0.3.0 - sky_engine any - cupertino_icons 1.0.6 - adaptive_theme 3.6.0 - flutter any - shared_preferences >=2.0.1 <3.0.0 - auto_size_text_plus 3.0.1 - flutter any - bottom_sheet 4.0.0 - bottom_inset_observer ^3.1.0 - flutter any - build_runner 2.4.8 - analyzer >=4.4.0 <7.0.0 - args ^2.0.0 - async ^2.5.0 - build >=2.1.0 <2.5.0 - build_config >=1.1.0 <1.2.0 - build_daemon ^4.0.0 - build_resolvers ^2.0.0 - build_runner_core ^7.2.0 - code_builder ^4.2.0 - collection ^1.15.0 - crypto ^3.0.0 - dart_style ^2.0.0 - frontend_server_client ^3.0.0 - glob ^2.0.0 - graphs ^2.2.0 - http_multi_server ^3.0.0 - io ^1.0.0 - js >=0.6.3 <0.8.0 - logging ^1.0.0 - meta ^1.3.0 - mime ^1.0.0 - package_config ^2.0.0 - path ^1.8.0 - pool ^1.5.0 - pub_semver ^2.0.0 - pubspec_parse ^1.0.0 - shelf ^1.0.0 - shelf_web_socket ^1.0.0 - stack_trace ^1.10.0 - stream_transform ^2.0.0 - timing ^1.0.0 - watcher ^1.0.0 - web_socket_channel ^2.0.0 - yaml ^3.0.0 - cached_network_image 3.3.1 - cached_network_image_platform_interface ^4.0.0 - cached_network_image_web ^1.1.1 - flutter any - flutter_cache_manager ^3.3.1 - octo_image ^2.0.0 - cloud_firestore 4.15.3 - cloud_firestore_platform_interface ^6.1.4 - cloud_firestore_web ^3.10.3 - collection ^1.0.0 - firebase_core ^2.25.3 - firebase_core_platform_interface ^5.0.0 - flutter any - meta ^1.8.0 - collection 1.18.0 - crypto 3.0.3 - typed_data ^1.3.0 - diacritic 0.1.5 - firebase_auth 4.17.3 - firebase_auth_platform_interface ^7.1.3 - firebase_auth_web ^5.9.3 - firebase_core ^2.25.3 - firebase_core_platform_interface ^5.0.0 - flutter any - meta ^1.8.0 - firebase_core 2.25.4 - firebase_core_platform_interface ^5.0.0 - firebase_core_web ^2.11.4 - flutter any - meta ^1.8.0 - firebase_ui_auth 1.12.1 - email_validator ^2.1.17 - firebase_auth ^4.15.3 - firebase_core ^2.24.2 - firebase_dynamic_links ^5.4.8 - firebase_ui_localizations ^1.10.1 - firebase_ui_oauth ^1.4.17 - firebase_ui_shared ^1.4.1 - flutter any - flutter_localizations any - meta ^1.10.0 - firebase_ui_firestore 1.6.1 - cloud_firestore ^4.13.6 - firebase_ui_localizations ^1.10.1 - firebase_ui_shared ^1.4.1 - flutter any - flutter_mobx 2.2.0+2 - flutter any - mobx ^2.0.6 - provider ^6.0.0 - flutter_svg 2.0.9 - flutter any - vector_graphics ^1.1.9+1 - vector_graphics_codec ^1.1.9+1 - vector_graphics_compiler ^1.1.9+1 - font_awesome_flutter 10.7.0 - flutter any - go_router 13.1.0 - collection ^1.15.0 - flutter any - flutter_web_plugins any - logging ^1.0.0 - meta ^1.7.0 - html 0.15.4 - csslib >=0.17.0 <2.0.0 - source_span ^1.8.0 - http 1.2.0 - async ^2.5.0 - http_parser ^4.0.0 - meta ^1.3.0 - web >=0.3.0 <0.5.0 - image 4.1.6 - archive ^3.4.0 - meta ^1.3.0 - xml ^6.0.1 - intl 0.18.1 - clock ^1.1.0 - meta ^1.0.2 - path ^1.8.0 - mobx 2.3.0+1 - meta ^1.3.0 - collection ^1.15.0 - mobx_codegen 2.6.0+1 - analyzer >=5.12.0 <7.0.0 - build ^2.2.1 - build_resolvers ^2.0.6 - meta ^1.3.0 - mobx ^2.3.0 - path ^1.8.0 - source_gen ^1.2.1 - provider 6.1.1 - collection ^1.15.0 - flutter any - nested ^1.0.0 - share_handler 0.0.20 - flutter any - share_handler_android ^0.0.7 - share_handler_ios ^0.0.13 - share_handler_platform_interface ^0.0.6 - uuid 4.3.3 - crypto ^3.0.0 - sprintf ^7.0.0 - meta ^1.10.0 - fixnum ^1.1.0 - enum_to_string 2.0.1 - url_launcher 6.2.4 - flutter any - url_launcher_android ^6.2.0 - url_launcher_ios ^6.2.0 - url_launcher_linux ^3.1.0 - url_launcher_macos ^3.1.0 - url_launcher_platform_interface ^2.2.0 - url_launcher_web ^2.2.0 - url_launcher_windows ^3.1.0 - syncfusion_flutter_calendar 24.2.4 - flutter any - timezone 0.9.2 - syncfusion_flutter_core ^24.2.4 - syncfusion_flutter_datepicker ^24.2.4 - intl >=0.18.1 <0.20.0 - syncfusion_flutter_datepicker 24.2.4 - flutter any - intl >=0.18.1 <0.20.0 - syncfusion_flutter_core ^24.2.4 - flutter_staggered_animations 1.1.1 - flutter any - numberpicker 2.1.2 - flutter any - infinite_listview ^1.1.0 - delayed_widget 1.1.2 - flutter any - google_fonts 6.1.0 - flutter any - http ^1.0.0 - path_provider ^2.0.0 - crypto ^3.0.0 - debug_overlay 0.2.11 - black_hole_flutter ^1.0.3 - collection ^1.15.0 - data_size ^0.2.0 - device_info_plus >=8.0.0 <10.0.0 - flutter any - implicitly_animated_list ^2.1.1 - json_view ^0.4.2 - meta ^1.3.0 - package_info_plus >=3.0.0 <6.0.0 - shake ^2.0.0 - flutter_localization 0.2.0 - flutter any - flutter_web_plugins any - flutter_localizations any - plugin_platform_interface ^2.1.7 - shared_preferences ^2.2.2 - flutter_localizations 0.0.0 - flutter any - intl 0.18.1 - characters 1.3.0 - clock 1.1.1 - collection 1.18.0 - material_color_utilities 0.5.0 - meta 1.10.0 - path 1.8.3 - vector_math 2.1.4 - web 0.3.0 - flutter_keyboard_visibility 6.0.0 - meta >=1.0.0 <2.0.0 - flutter_keyboard_visibility_platform_interface ^2.0.0 - flutter_keyboard_visibility_linux ^1.0.0 - flutter_keyboard_visibility_macos ^1.0.0 - flutter_keyboard_visibility_web ^2.0.0 - flutter_keyboard_visibility_windows ^1.0.0 - flutter any - flutter_lazy_indexed_stack 0.0.6 - flutter any - toasty_box 1.0.4 - flutter any - image_picker 1.0.7 - flutter any - image_picker_android ^0.8.7 - image_picker_for_web >=2.2.0 <4.0.0 - image_picker_ios ^0.8.8 - image_picker_linux ^0.2.1 - image_picker_macos ^0.2.1 - image_picker_platform_interface ^2.8.0 - image_picker_windows ^0.2.1 - permission_handler 11.2.0 - flutter any - meta ^1.7.0 - permission_handler_android ^12.0.3 - permission_handler_apple ^9.3.0 - permission_handler_html ^0.1.1 - permission_handler_windows ^0.2.1 - permission_handler_platform_interface ^4.1.0 - contacts_service 0.6.3 - flutter any - collection ^1.15.0 - quiver ^3.0.0 - smooth_sheets 0.2.0 - collection ^1.17.1 - flutter any - meta ^1.9.1 - flutter_branch_sdk 7.0.4 - flutter any - flutter_web_plugins any - plugin_platform_interface ^2.1.8 - js ^0.6.7 - firebase_storage 11.6.4 - firebase_core ^2.25.3 - firebase_core_platform_interface ^5.0.0 - firebase_storage_platform_interface ^5.1.7 - firebase_storage_web ^3.6.21 - flutter any - appinio_social_share 0.3.0 - flutter any - plugin_platform_interface ^2.0.2 - palette_generator 0.3.3+3 - collection ^1.15.0 - flutter any - native_toast 0.0.2 - flutter any - flutter_staggered_grid_view 0.7.0 - flutter any - clipboard 0.1.3 - flutter any - app_links 3.5.0 - flutter any - plugin_platform_interface ^2.0.0 - flutter_web_plugins any - gtk ^2.1.0 - uni_links 0.5.1 - flutter any - uni_links_platform_interface ^1.0.0 - uni_links_web ^0.1.0 - firebase_dynamic_links 5.4.13 - firebase_core ^2.25.4 - firebase_core_platform_interface ^5.0.0 - firebase_dynamic_links_platform_interface ^0.2.6+21 - flutter any - meta ^1.8.0 - plugin_platform_interface ^2.1.3 dev dependencies: - flutter_test 0.0.0 - flutter any - test_api 0.6.1 - matcher 0.12.16 - path 1.8.3 - fake_async 1.3.1 - clock 1.1.1 - stack_trace 1.11.1 - vector_math 2.1.4 - async 2.11.0 - boolean_selector 2.1.1 - characters 1.3.0 - collection 1.18.0 - material_color_utilities 0.5.0 - meta 1.10.0 - source_span 1.10.0 - stream_channel 2.1.2 - string_scanner 1.2.0 - term_glyph 1.2.1 - web 0.3.0 - flutter_lints 3.0.1 - lints ^3.0.0 transitive dependencies: - _fe_analyzer_shared 64.0.0 - meta ^1.9.0 - _flutterfire_internals 1.3.21 - collection ^1.0.0 - firebase_core ^2.25.4 - firebase_core_platform_interface ^5.0.0 - flutter any - meta ^1.8.0 - analyzer 6.2.0 - _fe_analyzer_shared ^64.0.0 - collection ^1.17.0 - convert ^3.0.0 - crypto ^3.0.0 - glob ^2.0.0 - meta ^1.7.0 - package_config ^2.0.0 - path ^1.8.0 - pub_semver ^2.0.0 - source_span ^1.8.0 - watcher ^1.0.0 - yaml ^3.0.0 - archive 3.4.10 - crypto ^3.0.3 - path ^1.8.0 - pointycastle ^3.7.3 - args 2.4.2 - async 2.11.0 - collection ^1.15.0 - meta ^1.1.7 - black_hole_flutter 1.1.0 - collection ^1.16.0 - flutter any - meta ^1.3.0 - boolean_selector 2.1.1 - source_span ^1.8.0 - string_scanner ^1.1.0 - bottom_inset_observer 3.1.0 - flutter any - build 2.4.1 - analyzer >=1.5.0 <7.0.0 - async ^2.5.0 - convert ^3.0.0 - crypto ^3.0.0 - glob ^2.0.0 - logging ^1.0.0 - meta ^1.3.0 - package_config ^2.1.0 - path ^1.8.0 - build_config 1.1.1 - checked_yaml ^2.0.0 - json_annotation ^4.5.0 - path ^1.8.0 - pubspec_parse ^1.0.0 - yaml ^3.0.0 - build_daemon 4.0.1 - built_collection ^5.0.0 - built_value ^8.1.0 - crypto ^3.0.3 - http_multi_server ^3.0.0 - logging ^1.0.0 - path ^1.8.0 - pool ^1.5.0 - shelf ^1.0.0 - shelf_web_socket ^1.0.0 - stream_transform ^2.0.0 - watcher ^1.0.0 - web_socket_channel ^2.0.0 - build_resolvers 2.4.2 - analyzer >=5.12.0 <7.0.0 - async ^2.5.0 - build ^2.0.0 - collection ^1.17.0 - convert ^3.1.1 - crypto ^3.0.0 - graphs >=1.0.0 <3.0.0 - logging ^1.0.0 - package_config ^2.0.0 - path ^1.8.0 - pool ^1.5.0 - pub_semver ^2.0.0 - stream_transform ^2.0.0 - yaml ^3.0.0 - build_runner_core 7.3.0 - async ^2.5.0 - build ^2.4.0 - build_config ^1.0.0 - build_resolvers ^2.4.0 - collection ^1.15.0 - convert ^3.0.0 - crypto ^3.0.0 - glob ^2.0.0 - graphs ^2.0.0 - json_annotation ^4.8.1 - logging ^1.2.0 - meta ^1.3.0 - package_config ^2.0.0 - path ^1.8.0 - pool ^1.5.0 - timing ^1.0.0 - watcher ^1.0.0 - yaml ^3.0.0 - built_collection 5.1.1 - built_value 8.9.0 - built_collection ^5.0.0 - collection ^1.15.0 - fixnum ^1.0.0 - meta ^1.3.0 - cached_network_image_platform_interface 4.0.0 - flutter any - flutter_cache_manager ^3.3.1 - cached_network_image_web 1.1.1 - cached_network_image_platform_interface ^4.0.0 - flutter any - flutter_cache_manager ^3.3.1 - characters 1.3.0 - checked_yaml 2.0.3 - json_annotation ^4.3.0 - source_span ^1.8.0 - yaml ^3.0.0 - clock 1.1.1 - cloud_firestore_platform_interface 6.1.4 - _flutterfire_internals ^1.3.20 - collection ^1.15.0 - firebase_core ^2.25.3 - flutter any - meta ^1.8.0 - plugin_platform_interface ^2.1.3 - cloud_firestore_web 3.10.3 - _flutterfire_internals ^1.3.20 - cloud_firestore_platform_interface ^6.1.4 - collection ^1.0.0 - firebase_core ^2.25.3 - firebase_core_web ^2.11.3 - flutter any - flutter_web_plugins any - js ^0.6.3 - code_builder 4.10.0 - built_collection ^5.0.0 - built_value ^8.0.0 - collection ^1.15.0 - matcher ^0.12.10 - meta ^1.3.0 - convert 3.1.1 - typed_data ^1.3.0 - cross_file 0.3.3+8 - meta ^1.3.0 - web >=0.3.0 <0.5.0 - csslib 1.0.0 - source_span ^1.8.0 - dart_style 2.3.4 - analyzer ^6.2.0 - args >=1.0.0 <3.0.0 - collection ^1.17.0 - path ^1.0.0 - pub_semver >=1.4.4 <3.0.0 - source_span ^1.4.0 - data_size 0.2.0 - meta ^1.3.0 - desktop_webview_auth 0.0.15 - crypto ^3.0.3 - flutter any - http ^1.0.0 - flutter_web_plugins any - plugin_platform_interface ^2.1.4 - device_info_plus 9.1.2 - device_info_plus_platform_interface ^7.0.0 - ffi ^2.0.1 - file >=6.1.4 <8.0.0 - flutter any - flutter_web_plugins any - meta ^1.8.0 - win32 >=4.0.0 <6.0.0 - win32_registry ^1.1.0 - device_info_plus_platform_interface 7.0.0 - flutter any - meta ^1.3.0 - plugin_platform_interface ^2.0.0 - email_validator 2.1.17 - fake_async 1.3.1 - clock ^1.1.0 - collection ^1.15.0 - ffi 2.1.0 - file 7.0.0 - meta ^1.9.1 - path ^1.8.3 - file_selector_linux 0.9.2+1 - cross_file ^0.3.1 - file_selector_platform_interface ^2.6.0 - flutter any - file_selector_macos 0.9.3+3 - cross_file ^0.3.1 - file_selector_platform_interface ^2.6.0 - flutter any - file_selector_platform_interface 2.6.2 - cross_file ^0.3.0 - flutter any - http >=0.13.0 <2.0.0 - plugin_platform_interface ^2.1.7 - file_selector_windows 0.9.3+1 - cross_file ^0.3.1 - file_selector_platform_interface ^2.6.0 - flutter any - firebase_auth_platform_interface 7.1.3 - _flutterfire_internals ^1.3.20 - collection ^1.16.0 - firebase_core ^2.25.3 - flutter any - meta ^1.8.0 - plugin_platform_interface ^2.1.3 - firebase_auth_web 5.9.3 - firebase_auth_platform_interface ^7.1.3 - firebase_core ^2.25.3 - firebase_core_web ^2.11.3 - flutter any - flutter_web_plugins any - http_parser ^4.0.0 - js ^0.6.3 - meta ^1.8.0 - web >=0.3.0 <0.5.0 - firebase_core_platform_interface 5.0.0 - collection ^1.0.0 - flutter any - flutter_test any - meta ^1.8.0 - plugin_platform_interface ^2.1.3 - firebase_core_web 2.11.4 - firebase_core_platform_interface ^5.0.0 - flutter any - flutter_web_plugins any - js ^0.6.3 - meta ^1.8.0 - web >=0.3.0 <0.5.0 - firebase_dynamic_links_platform_interface 0.2.6+21 - _flutterfire_internals ^1.3.21 - firebase_core ^2.25.4 - flutter any - meta ^1.8.0 - plugin_platform_interface ^2.1.3 - firebase_storage_platform_interface 5.1.7 - _flutterfire_internals ^1.3.20 - collection ^1.15.0 - firebase_core ^2.25.3 - flutter any - meta ^1.8.0 - plugin_platform_interface ^2.1.3 - firebase_storage_web 3.6.21 - _flutterfire_internals ^1.3.20 - async ^2.5.0 - firebase_core ^2.25.3 - firebase_core_web ^2.11.3 - firebase_storage_platform_interface ^5.1.7 - flutter any - flutter_web_plugins any - http >=0.13.0 <2.0.0 - js ^0.6.3 - meta ^1.8.0 - firebase_ui_localizations 1.10.1 - flutter any - flutter_localizations any - path ^1.8.3 - firebase_ui_oauth 1.4.17 - desktop_webview_auth ^0.0.14 - firebase_auth ^4.15.3 - firebase_ui_auth ^1.12.1 - firebase_ui_shared ^1.4.1 - flutter_svg ^2.0.9 - flutter any - firebase_ui_shared 1.4.1 - flutter any - fixnum 1.1.0 - flutter_cache_manager 3.3.1 - clock ^1.1.0 - collection ^1.15.0 - file >=6.1.4 <8.0.0 - flutter any - http >=0.13.0 <2.0.0 - path ^1.8.0 - path_provider ^2.0.0 - rxdart >=0.26.0 <0.28.0 - sqflite ^2.0.0+4 - uuid >=3.0.0 <5.0.0 - flutter_keyboard_visibility_linux 1.0.0 - flutter_keyboard_visibility_platform_interface ^2.0.0 - flutter any - flutter_keyboard_visibility_macos 1.0.0 - flutter_keyboard_visibility_platform_interface ^2.0.0 - flutter any - flutter_keyboard_visibility_platform_interface 2.0.0 - flutter any - meta >=1.0.0 <2.0.0 - plugin_platform_interface ^2.0.0 - flutter_keyboard_visibility_web 2.0.0 - flutter_keyboard_visibility_platform_interface ^2.0.0 - flutter_web_plugins any - flutter any - flutter_keyboard_visibility_windows 1.0.0 - flutter_keyboard_visibility_platform_interface ^2.0.0 - flutter any - flutter_plugin_android_lifecycle 2.0.17 - flutter any - flutter_web_plugins 0.0.0 - flutter any - characters 1.3.0 - collection 1.18.0 - material_color_utilities 0.5.0 - meta 1.10.0 - vector_math 2.1.4 - web 0.3.0 - frontend_server_client 3.2.0 - async ^2.5.0 - path ^1.8.0 - glob 2.1.2 - async ^2.5.0 - collection ^1.15.0 - file >=6.1.3 <8.0.0 - path ^1.8.0 - string_scanner ^1.1.0 - graphs 2.3.1 - collection ^1.1.0 - gtk 2.1.0 - ffi ^2.0.1 - flutter any - meta ^1.8.0 - http_multi_server 3.2.1 - async ^2.5.0 - http_parser 4.0.2 - collection ^1.15.0 - source_span ^1.8.0 - string_scanner ^1.1.0 - typed_data ^1.3.0 - image_picker_android 0.8.9+3 - flutter any - flutter_plugin_android_lifecycle ^2.0.1 - image_picker_platform_interface ^2.8.0 - image_picker_for_web 3.0.2 - flutter any - flutter_web_plugins any - image_picker_platform_interface ^2.9.0 - mime ^1.0.4 - image_picker_ios 0.8.9+1 - flutter any - image_picker_platform_interface ^2.8.0 - image_picker_linux 0.2.1+1 - file_selector_linux ^0.9.1+3 - file_selector_platform_interface ^2.2.0 - flutter any - image_picker_platform_interface ^2.8.0 - image_picker_macos 0.2.1+1 - file_selector_macos ^0.9.1+1 - file_selector_platform_interface ^2.3.0 - flutter any - image_picker_platform_interface ^2.8.0 - image_picker_platform_interface 2.9.3 - cross_file ^0.3.1+1 - flutter any - http >=0.13.0 <2.0.0 - plugin_platform_interface ^2.1.7 - image_picker_windows 0.2.1+1 - file_selector_platform_interface ^2.2.0 - file_selector_windows ^0.9.0 - flutter any - image_picker_platform_interface ^2.8.0 - implicitly_animated_list 2.2.0 - flutter any - list_diff ^2.0.0 - infinite_listview 1.1.0 - flutter any - io 1.0.4 - meta ^1.3.0 - path ^1.8.0 - string_scanner ^1.1.0 - js 0.6.7 - meta ^1.7.0 - json_annotation 4.8.1 - meta ^1.4.0 - json_view 0.4.2 - flutter any - lints 3.0.0 - list_diff 2.0.1 - async ^2.5.0 - logging 1.2.0 - matcher 0.12.16 - async ^2.10.0 - meta ^1.8.0 - stack_trace ^1.10.0 - term_glyph ^1.2.0 - test_api >=0.5.0 <0.7.0 - material_color_utilities 0.5.0 - collection ^1.15.0 - meta 1.10.0 - mime 1.0.5 - nested 1.0.0 - flutter any - octo_image 2.0.0 - flutter any - package_config 2.1.0 - path ^1.8.0 - package_info_plus 5.0.1 - ffi ^2.0.1 - flutter any - flutter_web_plugins any - http >=0.13.5 <2.0.0 - meta ^1.8.0 - path ^1.8.2 - package_info_plus_platform_interface ^2.0.1 - web >=0.3.0 <0.5.0 - win32 >=4.0.0 <6.0.0 - package_info_plus_platform_interface 2.0.1 - flutter any - meta ^1.3.0 - plugin_platform_interface ^2.0.0 - path 1.8.3 - path_parsing 1.0.1 - vector_math ^2.1.0 - meta ^1.3.0 - path_provider 2.1.2 - flutter any - path_provider_android ^2.1.0 - path_provider_foundation ^2.3.0 - path_provider_linux ^2.2.0 - path_provider_platform_interface ^2.1.0 - path_provider_windows ^2.2.0 - path_provider_android 2.2.2 - flutter any - path_provider_platform_interface ^2.1.0 - path_provider_foundation 2.3.2 - flutter any - path_provider_platform_interface ^2.1.0 - path_provider_linux 2.2.1 - ffi >=1.1.2 <3.0.0 - flutter any - path ^1.8.0 - path_provider_platform_interface ^2.1.0 - xdg_directories >=0.2.0 <2.0.0 - path_provider_platform_interface 2.1.2 - flutter any - platform ^3.0.0 - plugin_platform_interface ^2.1.7 - path_provider_windows 2.2.1 - ffi ^2.0.0 - flutter any - path ^1.8.0 - path_provider_platform_interface ^2.1.0 - win32 >=2.1.0 <6.0.0 - permission_handler_android 12.0.3 - flutter any - permission_handler_platform_interface ^4.1.0 - permission_handler_apple 9.3.0 - flutter any - permission_handler_platform_interface ^4.1.0 - permission_handler_html 0.1.1 - flutter any - flutter_web_plugins any - permission_handler_platform_interface ^4.1.0 - permission_handler_platform_interface 4.1.0 - flutter any - meta ^1.3.0 - plugin_platform_interface ^2.0.0 - permission_handler_windows 0.2.1 - flutter any - permission_handler_platform_interface ^4.1.0 - petitparser 6.0.2 - meta ^1.9.0 - platform 3.1.4 - plugin_platform_interface 2.1.8 - meta ^1.3.0 - pointycastle 3.7.4 - collection ^1.15.0 - convert ^3.0.0 - js >=0.6.3 <0.8.0 - pool 1.5.1 - async ^2.5.0 - stack_trace ^1.10.0 - pub_semver 2.1.4 - collection ^1.15.0 - meta ^1.3.0 - pubspec_parse 1.2.3 - checked_yaml ^2.0.1 - collection ^1.15.0 - json_annotation ^4.8.0 - pub_semver ^2.0.0 - yaml ^3.0.0 - quiver 3.2.1 - matcher ^0.12.10 - rxdart 0.27.7 - sensors_plus 1.4.1 - flutter any - sensors_plus_web ^1.1.2 - sensors_plus_platform_interface ^1.1.2 - sensors_plus_platform_interface 1.2.0 - flutter any - logging ^1.2.0 - meta ^1.8.0 - plugin_platform_interface ^2.1.4 - sensors_plus_web 1.1.2 - flutter any - sensors_plus_platform_interface ^1.1.2 - flutter_web_plugins any - shake 2.2.0 - sensors_plus ^1.4.1 - flutter any - share_handler_android 0.0.7 - flutter any - share_handler_platform_interface ^0.0.6 - share_handler_ios 0.0.13 - flutter any - share_handler_platform_interface ^0.0.6 - share_handler_platform_interface 0.0.6 - flutter any - plugin_platform_interface ^2.0.1 - shared_preferences 2.2.2 - flutter any - shared_preferences_android ^2.1.0 - shared_preferences_foundation ^2.2.0 - shared_preferences_linux ^2.2.0 - shared_preferences_platform_interface ^2.3.0 - shared_preferences_web ^2.1.0 - shared_preferences_windows ^2.2.0 - shared_preferences_android 2.2.1 - flutter any - shared_preferences_platform_interface ^2.3.0 - shared_preferences_foundation 2.3.5 - flutter any - shared_preferences_platform_interface ^2.3.0 - shared_preferences_linux 2.3.2 - file >=6.0.0 <8.0.0 - flutter any - path ^1.8.0 - path_provider_linux ^2.0.0 - path_provider_platform_interface ^2.0.0 - shared_preferences_platform_interface ^2.3.0 - shared_preferences_platform_interface 2.3.2 - flutter any - plugin_platform_interface ^2.1.7 - shared_preferences_web 2.2.2 - flutter any - flutter_web_plugins any - shared_preferences_platform_interface ^2.3.0 - web >=0.3.0 <0.5.0 - shared_preferences_windows 2.3.2 - file >=6.0.0 <8.0.0 - flutter any - path ^1.8.0 - path_provider_platform_interface ^2.0.0 - path_provider_windows ^2.0.0 - shared_preferences_platform_interface ^2.3.0 - shelf 1.4.1 - async ^2.5.0 - collection ^1.15.0 - http_parser ^4.0.0 - path ^1.8.0 - stack_trace ^1.10.0 - stream_channel ^2.1.0 - shelf_web_socket 1.0.4 - shelf ^1.1.0 - stream_channel ^2.1.0 - web_socket_channel ^2.0.0 - sky_engine 0.0.99 - source_gen 1.5.0 - analyzer >=5.2.0 <7.0.0 - async ^2.5.0 - build ^2.1.0 - dart_style ^2.0.0 - glob ^2.0.0 - path ^1.8.0 - source_span ^1.8.0 - yaml ^3.0.0 - source_span 1.10.0 - collection ^1.15.0 - path ^1.8.0 - term_glyph ^1.2.0 - sprintf 7.0.0 - sqflite 2.3.2 - flutter any - sqflite_common >=2.5.0-1 <4.0.0 - path >=1.8.0 <3.0.0 - sqflite_common 2.5.3 - synchronized >=3.0.0 <5.0.0 - path >=1.8.0 <3.0.0 - meta >=1.3.0 <3.0.0 - stack_trace 1.11.1 - path ^1.8.0 - stream_channel 2.1.2 - async ^2.5.0 - stream_transform 2.1.0 - string_scanner 1.2.0 - source_span ^1.8.0 - syncfusion_flutter_core 24.2.4 - vector_math >=2.1.0 <=4.0.0 - flutter any - synchronized 3.1.0+1 - term_glyph 1.2.1 - test_api 0.6.1 - async ^2.5.0 - boolean_selector ^2.1.0 - collection ^1.15.0 - meta ^1.3.0 - source_span ^1.8.0 - stack_trace ^1.10.0 - stream_channel ^2.1.0 - string_scanner ^1.1.0 - term_glyph ^1.2.0 - timezone 0.9.2 - path ^1.8.0 - timing 1.0.1 - json_annotation ^4.3.0 - typed_data 1.3.2 - collection ^1.15.0 - uni_links_platform_interface 1.0.0 - flutter any - plugin_platform_interface ^2.0.0 - uni_links_web 0.1.0 - flutter any - flutter_web_plugins any - uni_links_platform_interface ^1.0.0 - url_launcher_android 6.2.2 - flutter any - url_launcher_platform_interface ^2.2.0 - url_launcher_ios 6.2.4 - flutter any - url_launcher_platform_interface ^2.2.0 - url_launcher_linux 3.1.1 - flutter any - url_launcher_platform_interface ^2.2.0 - url_launcher_macos 3.1.0 - flutter any - url_launcher_platform_interface ^2.2.0 - url_launcher_platform_interface 2.3.1 - flutter any - plugin_platform_interface ^2.1.7 - url_launcher_web 2.2.3 - flutter any - flutter_web_plugins any - url_launcher_platform_interface ^2.2.0 - web >=0.3.0 <0.5.0 - url_launcher_windows 3.1.1 - flutter any - url_launcher_platform_interface ^2.2.0 - vector_graphics 1.1.10 - flutter any - vector_graphics_codec 1.1.10 - vector_graphics_codec 1.1.10 - vector_graphics_compiler 1.1.10 - args ^2.3.0 - meta ^1.7.0 - path_parsing ^1.0.1 - xml ^6.3.0 - vector_graphics_codec 1.1.10 - path ^1.8.0 - vector_math 2.1.4 - watcher 1.1.0 - async ^2.5.0 - path ^1.8.0 - web 0.3.0 - web_socket_channel 2.4.0 - async ^2.5.0 - crypto ^3.0.0 - stream_channel ^2.1.0 - win32 5.2.0 - ffi ^2.1.0 - win32_registry 1.1.2 - ffi ^2.1.0 - win32 ^5.0.7 - xdg_directories 1.0.4 - meta ^1.3.0 - path ^1.8.0 - xml 6.5.0 - collection ^1.18.0 - meta ^1.9.0 - petitparser ^6.0.0 - yaml 3.1.2 - collection ^1.15.0 - source_span ^1.8.0 - string_scanner ^1.1.0 ```Steps to reproduce
Hello,
Just followed sample to use magic link
return SignInScreen( showAuthActionSwitch: false, providers: [emailProvider], actions: [ AuthStateChangeAction<SignedIn>((context, state) {}), AuthStateChangeAction<SendingLink>((context, state) {}), ], );
Expected Behavior
WHen opening the app from the link received by mail, the user must be logged.
Actual Behavior
Nothing. App oppened, but no auth state change, like it's triggering nothing
Additional Information
I checked the library code and see that it uses FirebaseDynamic Link
void awaitLink(String email) { _dynamicLinks.onLink.first .then((linkData) => _onLinkReceived(email, linkData)) .catchError(authListener.onError); }
It should work because I've dlecared this prefix in Firebase.
I tried to get myself the dynamic link with the FirebasePackage
final PendingDynamicLinkData? initialLink = await FirebaseDynamicLinks.instance.getInitialLink(); if (initialLink != null) { final Uri deepLink = initialLink.link; // Always null }
FirebaseDynamicLinks.instance.onLink.listen( (pendingDynamicLinkData) { // Never triggered }, );
So
AuthStateChangeAction<SendingLink>((context, state)
Thank you !