firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.73k stars 3.98k forks source link

πŸ› [firebase_dynamic_links] There is a conflict between Other 3rd party links(SingularLink) and Firebase DynamicLink on iOS #10597

Closed 9oya closed 1 year ago

9oya commented 1 year ago

Bug report

After adding the below code block for SingularLink(singular_flutter_sdk: ^1.0.12) in the iOS AppDelegate, my Firebase Dynamic Links (firebase_dynamic_links: 5.0.11) stopped working. Removing the code block restores Firebase Dynamic Link functionality, but causes issues with SingularLink.

override func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {

    // Singular
    if let singularAppDelegate = SingularAppDelegate.shared() {
        singularAppDelegate.continueUserActivity(userActivity, restorationHandler: nil)
    }

   return true
}

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to 'AppDelegate' and add other 3rd party link on below override function

    override func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
    
    // Singular
    if let singularAppDelegate = SingularAppDelegate.shared() {
        singularAppDelegate.continueUserActivity(userActivity, restorationHandler: nil)
    }
    
    return true
    }
  2. See flutter firebase dynamic link stop working
    FirebaseDynamicLinks.instance.onLink
        .listen((PendingDynamicLinkData dynamicLinkData) {
      // receiving nothing...
    }).onError((Object error) {
      Log.d(error);
    });

Expected behavior

A clear and concise description of what you expected to happen.

Sample project

Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix. Please link to the public repository URL.


Additional context

I hope to be able to handle Firebase Dynamic Links in the app delegate, so I can send the user's activity URL to 'FirebaseDynamicLinks.instance.onLink' but I don't know how.

override func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {

    // Singular
    if let singularAppDelegate = SingularAppDelegate.shared() {
        singularAppDelegate.continueUserActivity(userActivity, restorationHandler: nil)
    }

    // Firebase dynamic links
    let handled = DynamicLinks.dynamicLinks().handleUniversalLink(userActivity.webpageURL!) { dynamicLink, error in
        // do somegthing...?
    }

   return handled
}

Flutter doctor

Run flutter doctor and paste the output below:

``` [βœ“] Flutter (Channel stable, 3.3.10, on macOS 13.2.1 22D68 darwin-arm, locale en-KR) [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [βœ“] Xcode - develop for iOS and macOS (Xcode 14.1) [βœ“] Chrome - develop for the web [βœ“] Android Studio (version 2021.2) [βœ“] IntelliJ IDEA Ultimate Edition (version 2022.3.2) [βœ“] Connected device (5 available) [βœ“] HTTP Host Availability ```

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand ``` Dart SDK 2.18.6 Flutter SDK 3.3.10 healerb_dna 0.4.4+0 dependencies: - analytics_logger_gen 0.0.1 [flutter analyzer build source_gen http path csv change_case] - android_sms_retriever 1.3.3 [flutter] - app_tracking_transparency 2.0.3 [flutter] - auto_route 5.0.4 [flutter path collection meta] - badges 2.0.3 [flutter] - bloc 8.1.0 [meta] - blur 3.1.0 [flutter] - cached_network_image 3.2.3 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web] - camera 0.10.2+1 [camera_android camera_avfoundation camera_platform_interface camera_web flutter flutter_plugin_android_lifecycle quiver] - card_swiper 2.0.4 [flutter] - carousel_slider 4.2.1 [flutter] - charcode 1.3.1 - cloud_firestore 4.0.4 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - collection 1.16.0 - collection_ext 1.0.0 [tuple] - common_utils 2.1.0 [rational decimal crypto convert] - connectivity_plus 2.3.9 [flutter connectivity_plus_platform_interface connectivity_plus_linux connectivity_plus_macos connectivity_plus_web connectivity_plus_windows] - countup 0.1.4 [flutter] - crypto 3.0.2 [typed_data] - cupertino_icons 1.0.5 - dartz 0.10.1 - data_connection_checker 0.3.4 - datadog_flutter_plugin 1.2.1 [flutter flutter_web_plugins js plugin_platform_interface json_annotation uuid meta] - datadog_tracking_http_client 1.2.0 [flutter datadog_flutter_plugin uuid http] - device_info_plus 7.0.1 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32] - dio 4.0.6 [http_parser path] - dio_smart_retry 1.4.0 [dio http_parser path] - encrypt 5.0.1 [args asn1lib clock collection crypto pointycastle] - equatable 2.0.5 [collection meta] - ffi 2.0.1 - file 6.1.4 [meta path] - firebase_analytics 10.0.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter] - firebase_core 2.4.1 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 3.0.4 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_database 10.0.4 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter] - firebase_dynamic_links 5.0.11 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface] - firebase_in_app_messaging 0.7.0+4 [firebase_core firebase_core_platform_interface firebase_in_app_messaging_platform_interface flutter meta] - firebase_installations 16.3.6 [flutter] - firebase_messaging 14.2.1 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - firebase_remote_config 3.0.4 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter] - fk_user_agent 2.1.0 [flutter] - flake_uuid 0.2.0 - floor 1.4.1 [floor_annotation flutter meta path sqflite sqflite_common_ffi] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine] - flutter_advanced_switch 3.0.1 [flutter] - flutter_app_badger 1.5.0 [flutter] - flutter_appauth 4.2.1 [flutter flutter_appauth_platform_interface] - flutter_bloc 8.0.1 [flutter bloc provider] - flutter_cached_pdfview 0.4.1 [flutter flutter_pdfview flutter_cache_manager path_provider path] - flutter_device_type 0.4.0 [flutter] - flutter_dotenv 5.0.2 [flutter] - flutter_html 3.0.0-alpha.6 [html csslib collection numerus flutter] - flutter_inappwebview 6.0.0-beta.22 [flutter flutter_web_plugins js flutter_inappwebview_internal_annotations] - flutter_layout_grid 2.0.1 [flutter collection meta quiver] - flutter_local_notifications 12.0.4 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone] - flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math] - flutter_native_splash 2.2.16 [args flutter flutter_web_plugins js html image meta path universal_io xml yaml] - flutter_native_timezone 2.0.0 [flutter_web_plugins flutter js] - flutter_naver_login 1.7.0 [flutter] - flutter_secure_storage 6.0.0 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta] - flutter_share_me 1.4.0 [flutter lint] - flutter_svg 1.1.6 [flutter meta path_drawing vector_math xml] - flutter_switch 0.3.2 [flutter] - flutter_widget_from_html 0.8.5 [flutter flutter_widget_from_html_core fwfh_cached_network_image fwfh_chewie fwfh_just_audio fwfh_selectable_text fwfh_svg fwfh_url_launcher fwfh_webview html] - fluttercontactpicker 4.7.0 [flutter contact_picker_platform_interface contact_picker_web] - fluttertoast 8.1.2 [flutter flutter_web_plugins] - freezed_annotation 2.2.0 [collection json_annotation meta] - fullscreen 1.0.3 [flutter] - get 4.6.5 [flutter] - get_it 7.2.0 [async collection] - google_fonts 3.0.1 [flutter http path_provider crypto] - google_sign_in 5.4.3 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web] - hb_sendbird_video_call 0.0.1 [flutter permission_handler plugin_platform_interface stream_transform equatable] - hive 2.0.5 [meta crypto] - hive_flutter 1.1.0 [flutter hive path_provider path] - hive_generator 1.1.3 [build source_gen hive analyzer source_helper] - horizontal_blocked_scroll_physics 4.0.1 [flutter] - html 0.15.1 [csslib source_span] - hydrated_bloc 8.1.0 [bloc hive meta synchronized] - injectable 1.5.3 [get_it] - intl 0.17.0 [clock path] - intro_slider 3.0.10 [flutter] - inview_notifier_list 3.0.0 [flutter stream_transform] - js 0.6.4 - kakao_flutter_sdk 1.2.1 [flutter kakao_flutter_sdk_common kakao_flutter_sdk_auth kakao_flutter_sdk_share kakao_flutter_sdk_navi kakao_flutter_sdk_story kakao_flutter_sdk_talk kakao_flutter_sdk_template kakao_flutter_sdk_user] - launch_review 3.0.1 [flutter] - logger 1.1.0 - marquee 2.2.3 [fading_edge_scrollview flutter] - netmarble_sdk_flutter 0.0.1 [flutter get_it injectable hive hive_flutter hive_generator shared_preferences connectivity_plus dart_ipify device_info_plus flutter_dotenv flutter_native_timezone internet_connection_checker package_info uuid synchronized logger dio data_connection_checker firebase_core firebase_analytics firebase_crashlytics firebase_remote_config firebase_messaging firebase_dynamic_links cloud_firestore firebase_database flutter_local_notifications] - ntp 2.0.0 - package_info 2.0.2 [flutter] - path 1.8.2 - path_provider 2.0.12 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows] - permission_handler 10.2.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_windows permission_handler_platform_interface] - pretty_dio_logger 1.2.0-beta-1 [dio] - provider 6.0.5 [collection flutter nested] - retrofit 3.0.1+1 [dio meta] - rive 0.9.1 [collection flutter graphs http meta] - rxdart 0.27.7 - scrollable_positioned_list 0.3.5 [flutter collection] - scrollview_observer 1.9.1 [flutter] - sensors_plus 1.4.1 [flutter sensors_plus_web sensors_plus_platform_interface] - share_plus 6.0.1 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher ffi win32] - shared_preferences 2.0.13 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows] - shimmer 2.0.0 [flutter] - show_up_animation 2.0.0 [flutter] - sign_in_with_apple 4.3.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web] - simple_kalman 1.0.1 - singular_flutter_sdk 1.0.12 [flutter] - sliding_up_panel 2.0.0+1 [flutter] - sortedmap 0.5.2 [quiver] - step_progress_indicator 1.0.2 [flutter] - styled_text 6.0.0 [flutter xmlstream] - synchronized 3.0.1 - timeline_tile 2.0.0 [flutter] - typed_data 1.3.1 [collection] - uni_links 0.5.1 [flutter uni_links_platform_interface uni_links_web] - url_launcher 6.1.7 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] - uuid 3.0.5 [crypto] - vector_math 2.1.2 - video_player 2.5.1 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web] - visibility_detector 0.3.3 [flutter] - wakelock 0.6.2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows] - widget_and_text_animator 1.0.9 [flutter] - word_break_text 0.1.0 [flutter] dev dependencies: - auto_route_generator 5.0.2 [build source_gen analyzer path build_runner code_builder dart_style xml args auto_route] - bloc_test 9.1.0 [bloc diff_match_patch meta mocktail test] - build_runner 2.2.0 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml] - dart_code_metrics 4.19.2 [analyzer analyzer_plugin ansicolor args collection crypto file glob html meta path source_span xml yaml] - floor_generator 1.3.0 [analyzer build build_config code_builder collection floor_annotation meta source_gen strings] - flutter_launcher_icons 0.9.3 [args image path yaml] - flutter_lints 2.0.1 [lints] - flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph] - freezed 2.1.0+1 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation] - injectable_generator 1.5.4 [build source_gen path glob analyzer code_builder dart_style injectable collection] - json_annotation 4.6.0 [meta] - json_serializable 6.3.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper] - lint 1.8.2 - mockito 5.3.0 [analyzer build code_builder collection dart_style matcher meta path source_gen test_api] - retrofit_generator 4.0.2 [dio source_gen built_collection code_builder tuple retrofit analyzer dart_style build] - source_gen 1.2.6 [analyzer async build dart_style glob meta path source_span yaml] - test 1.21.4 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core] dependency overrides: - url_launcher 6.1.7 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] transitive dependencies: - _fe_analyzer_shared 47.0.0 [meta] - _flutterfire_internals 1.0.12 [collection firebase_core firebase_core_platform_interface flutter meta] - analyzer 4.7.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml] - analyzer_plugin 0.10.0 [analyzer collection dart_style pub_semver yaml] - ansicolor 2.0.1 - archive 3.3.5 [crypto path pointycastle] - args 2.3.2 - asn1lib 1.4.0 - async 2.9.0 [collection meta] - audio_session 0.1.13 [flutter flutter_web_plugins rxdart meta] - boolean_selector 2.1.0 [source_span string_scanner] - build 2.3.1 [analyzer async convert crypto glob logging meta path] - build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml] - build_daemon 3.1.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel] - build_resolvers 2.0.9 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml] - build_runner_core 7.2.7 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml] - built_collection 5.1.1 - built_value 8.4.3 [built_collection collection fixnum meta] - cached_network_image_platform_interface 2.0.0 [flutter flutter_cache_manager] - cached_network_image_web 1.0.2 [flutter flutter_cache_manager cached_network_image_platform_interface] - camera_android 0.10.2+3 [camera_platform_interface flutter flutter_plugin_android_lifecycle stream_transform] - camera_avfoundation 0.9.10+2 [camera_platform_interface flutter stream_transform] - camera_platform_interface 2.3.4 [cross_file flutter plugin_platform_interface stream_transform] - camera_web 0.3.1+1 [camera_platform_interface flutter flutter_web_plugins stream_transform] - change_case 1.1.0 [meta] - characters 1.2.1 - checked_yaml 2.0.2 [json_annotation source_span yaml] - chewie 1.4.0 [cupertino_icons flutter provider video_player wakelock] - clock 1.1.1 - cloud_firestore_platform_interface 5.10.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 3.2.1 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 4.4.0 [built_collection built_value collection matcher meta] - connectivity_plus_linux 1.3.1 [flutter connectivity_plus_platform_interface meta nm] - connectivity_plus_macos 1.2.6 [connectivity_plus_platform_interface flutter] - connectivity_plus_platform_interface 1.2.3 [flutter meta plugin_platform_interface] - connectivity_plus_web 1.2.5 [connectivity_plus_platform_interface flutter_web_plugins flutter js] - connectivity_plus_windows 1.2.2 [connectivity_plus_platform_interface flutter] - contact_picker_platform_interface 4.7.0 [flutter meta plugin_platform_interface] - contact_picker_web 4.7.0 [flutter flutter_web_plugins js contact_picker_platform_interface] - convert 3.1.1 [typed_data] - coverage 1.6.2 [args logging package_config path source_maps stack_trace vm_service] - cross_file 0.3.3+2 [js meta] - csslib 0.17.2 [source_span] - csv 5.0.1 - dart_ipify 1.1.1 [http] - dart_style 2.2.3 [analyzer args path pub_semver source_span] - dbus 0.7.8 [args ffi meta xml] - decimal 2.3.2 [rational] - device_info_plus_platform_interface 6.0.1 [flutter meta plugin_platform_interface] - diff_match_patch 0.4.1 - fading_edge_scrollview 3.0.0 [flutter] - fake_async 1.3.1 [clock collection] - firebase_analytics_platform_interface 3.3.17 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_analytics_web 0.5.1+8 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - firebase_core_platform_interface 4.5.2 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.3.11 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_database_platform_interface 0.2.2+17 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_database_web 0.2.1+19 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js] - firebase_dynamic_links_platform_interface 0.2.3+26 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_in_app_messaging_platform_interface 0.2.1+29 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_platform_interface 4.2.10 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 3.2.11 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - firebase_remote_config_platform_interface 1.1.29 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_remote_config_web 1.1.18 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins js] - fixnum 1.0.1 - floor_annotation 1.4.1 [meta] - flutter_appauth_platform_interface 5.2.0 [flutter plugin_platform_interface] - flutter_blurhash 0.7.0 [flutter] - flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid] - flutter_inappwebview_internal_annotations 1.1.0 - flutter_local_notifications_linux 2.0.0 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories] - flutter_local_notifications_platform_interface 6.0.0 [flutter plugin_platform_interface] - flutter_pdfview 1.2.5 [flutter] - flutter_plugin_android_lifecycle 2.0.7 [flutter] - flutter_secure_storage_linux 1.1.2 [flutter flutter_secure_storage_platform_interface] - flutter_secure_storage_macos 1.1.2 [flutter flutter_secure_storage_platform_interface] - flutter_secure_storage_platform_interface 1.0.1 [flutter plugin_platform_interface] - flutter_secure_storage_web 1.1.1 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js] - flutter_secure_storage_windows 1.1.3 [flutter flutter_secure_storage_platform_interface] - flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math] - flutter_widget_from_html_core 0.8.5+3 [csslib flutter fwfh_text_style html] - frontend_server_client 2.1.3 [async path] - fwfh_cached_network_image 0.7.0+3 [cached_network_image flutter flutter_cache_manager flutter_widget_from_html_core] - fwfh_chewie 0.7.1 [chewie flutter flutter_widget_from_html_core video_player] - fwfh_just_audio 0.6.2+2 [flutter flutter_widget_from_html_core just_audio] - fwfh_selectable_text 0.8.3+1 [flutter flutter_widget_from_html_core] - fwfh_svg 0.7.2+1 [flutter flutter_svg flutter_widget_from_html_core] - fwfh_text_style 2.22.08+1 [flutter] - fwfh_url_launcher 0.6.1+3 [flutter flutter_widget_from_html_core url_launcher] - fwfh_webview 0.6.2+5 [flutter flutter_widget_from_html_core webview_flutter] - glob 2.1.1 [async collection file path string_scanner] - google_sign_in_android 6.1.5 [flutter google_sign_in_platform_interface] - google_sign_in_ios 5.5.1 [flutter google_sign_in_platform_interface] - google_sign_in_platform_interface 2.3.0 [flutter plugin_platform_interface quiver] - google_sign_in_web 0.10.2+1 [flutter flutter_web_plugins google_sign_in_platform_interface js] - graphs 2.2.0 [collection] - http 0.13.5 [async http_parser meta path] - http_multi_server 3.2.1 [async] - http_parser 4.0.2 [collection source_span string_scanner typed_data] - image 3.3.0 [archive meta xml] - internet_connection_checker 0.0.1+4 - io 1.0.4 [meta path string_scanner] - just_audio 0.9.31 [just_audio_platform_interface just_audio_web audio_session rxdart path path_provider async uuid crypto meta flutter] - just_audio_platform_interface 4.2.0 [flutter plugin_platform_interface] - just_audio_web 0.4.7 [just_audio_platform_interface flutter flutter_web_plugins] - kakao_flutter_sdk_auth 1.2.1 [flutter json_annotation dio shared_preferences platform crypto kakao_flutter_sdk_common] - kakao_flutter_sdk_common 1.2.1 [flutter json_annotation dio shared_preferences platform package_info_plus crypto encrypt] - kakao_flutter_sdk_navi 1.2.1 [flutter json_annotation dio platform kakao_flutter_sdk_common] - kakao_flutter_sdk_share 1.2.1 [flutter json_annotation dio platform kakao_flutter_sdk_template] - kakao_flutter_sdk_story 1.2.1 [flutter json_annotation dio kakao_flutter_sdk_user] - kakao_flutter_sdk_talk 1.2.1 [flutter json_annotation dio kakao_flutter_sdk_user kakao_flutter_sdk_template] - kakao_flutter_sdk_template 1.2.1 [flutter json_annotation kakao_flutter_sdk_common] - kakao_flutter_sdk_user 1.2.1 [flutter json_annotation dio kakao_flutter_sdk_auth] - lints 2.0.1 - lists 1.0.1 [meta] - logging 1.1.1 - matcher 0.12.12 [stack_trace] - material_color_utilities 0.1.5 - meta 1.8.0 - mime 1.0.4 - mocktail 0.3.0 [collection matcher test] - nested 1.0.0 [flutter] - nm 0.5.0 [dbus] - node_preamble 2.0.1 - numerus 2.0.0 [characters] - octo_image 1.0.2 [flutter flutter_blurhash] - package_config 2.1.0 [path] - package_info_plus 1.4.3+1 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web] - package_info_plus_linux 1.0.5 [package_info_plus_platform_interface flutter path] - package_info_plus_macos 1.3.0 [flutter] - package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface] - package_info_plus_web 1.0.6 [flutter flutter_web_plugins http meta package_info_plus_platform_interface] - package_info_plus_windows 2.1.0 [package_info_plus_platform_interface ffi flutter win32] - path_drawing 1.0.1 [vector_math meta path_parsing flutter] - path_parsing 1.0.1 [vector_math meta] - path_provider_android 2.0.22 [flutter path_provider_platform_interface] - path_provider_foundation 2.1.1 [flutter path_provider_platform_interface] - path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_platform_interface 2.0.5 [flutter platform plugin_platform_interface] - path_provider_windows 2.1.3 [ffi flutter path path_provider_platform_interface win32] - pedantic 1.11.1 - permission_handler_android 10.2.0 [flutter permission_handler_platform_interface] - permission_handler_apple 9.0.7 [flutter permission_handler_platform_interface] - permission_handler_platform_interface 3.9.0 [flutter meta plugin_platform_interface] - permission_handler_windows 0.1.2 [flutter permission_handler_platform_interface] - petitparser 5.1.0 [meta] - platform 3.1.0 - plugin_platform_interface 2.1.3 [meta] - pointycastle 3.6.2 [collection convert js] - pool 1.5.1 [async stack_trace] - process 4.2.4 [file path platform] - pub_semver 2.1.3 [collection meta] - pubspec_parse 1.2.1 [checked_yaml collection json_annotation pub_semver yaml] - quiver 3.2.1 [matcher] - rational 2.2.2 - sensors_plus_platform_interface 1.1.3 [flutter meta plugin_platform_interface] - sensors_plus_web 1.1.2 [flutter sensors_plus_platform_interface flutter_web_plugins] - share_plus_platform_interface 3.1.2 [cross_file flutter meta mime plugin_platform_interface] - shared_preferences_android 2.0.15 [flutter shared_preferences_platform_interface] - shared_preferences_ios 2.1.1 [flutter shared_preferences_platform_interface] - shared_preferences_linux 2.1.3 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface] - shared_preferences_macos 2.0.5 [flutter shared_preferences_platform_interface] - shared_preferences_platform_interface 2.1.0 [flutter plugin_platform_interface] - shared_preferences_web 2.0.4 [flutter flutter_web_plugins shared_preferences_platform_interface] - shared_preferences_windows 2.1.3 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface] - shelf 1.4.0 [async collection http_parser path stack_trace stream_channel] - shelf_packages_handler 3.0.1 [path shelf shelf_static] - shelf_static 1.1.1 [convert http_parser mime path shelf] - shelf_web_socket 1.0.3 [shelf stream_channel web_socket_channel] - sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta] - sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js] - sky_engine 0.0.99 - source_helper 1.3.2 [analyzer collection source_gen] - source_map_stack_trace 2.1.1 [path source_maps stack_trace] - source_maps 0.10.11 [source_span] - source_span 1.9.0 [collection path term_glyph] - sqflite 2.2.4+1 [flutter sqflite_common path] - sqflite_common 2.4.2+2 [synchronized path meta] - sqflite_common_ffi 2.2.1+1 [sqlite3 sqflite_common synchronized path meta] - sqlite3 1.9.1 [collection ffi js meta path] - stack_trace 1.10.0 [path] - stream_channel 2.1.0 [async] - stream_transform 2.1.0 - string_scanner 1.1.1 [source_span] - strings 0.2.2 [characters unicode] - term_glyph 1.2.1 - test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher] - test_core 0.4.16 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api] - timezone 0.9.1 [path] - timing 1.0.1 [json_annotation] - tuple 2.0.1 - uni_links_platform_interface 1.0.0 [flutter plugin_platform_interface] - uni_links_web 0.1.0 [flutter flutter_web_plugins uni_links_platform_interface] - unicode 0.3.1 [lists] - universal_io 2.0.4 [collection crypto meta typed_data] - url_launcher_android 6.0.22 [flutter url_launcher_platform_interface] - url_launcher_ios 6.0.18 [flutter url_launcher_platform_interface] - url_launcher_linux 3.0.2 [flutter url_launcher_platform_interface] - url_launcher_macos 3.0.2 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.1.1 [flutter plugin_platform_interface] - url_launcher_web 2.0.14 [flutter flutter_web_plugins url_launcher_platform_interface] - url_launcher_windows 3.0.3 [flutter url_launcher_platform_interface] - video_player_android 2.3.10 [flutter video_player_platform_interface] - video_player_avfoundation 2.3.8 [flutter video_player_platform_interface] - video_player_platform_interface 6.0.1 [flutter plugin_platform_interface] - video_player_web 2.0.13 [flutter flutter_web_plugins video_player_platform_interface] - vm_service 9.4.0 - wakelock_macos 0.4.0 [flutter flutter_web_plugins wakelock_platform_interface] - wakelock_platform_interface 0.3.0 [flutter meta] - wakelock_web 0.4.0 [flutter flutter_web_plugins js wakelock_platform_interface] - wakelock_windows 0.2.1 [flutter wakelock_platform_interface win32] - watcher 1.0.2 [async path] - web_socket_channel 2.3.0 [async crypto stream_channel] - webkit_inspection_protocol 1.2.0 [logging] - webview_flutter 3.0.4 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview] - webview_flutter_android 2.10.4 [flutter webview_flutter_platform_interface] - webview_flutter_platform_interface 1.9.5 [flutter meta plugin_platform_interface] - webview_flutter_wkwebview 2.9.5 [flutter path webview_flutter_platform_interface] - win32 3.1.3 [ffi] - xdg_directories 0.2.0+3 [meta path process] - xml 6.1.0 [collection meta petitparser] - xmlstream 1.0.0 - yaml 3.1.1 [collection source_span string_scanner] ```

9oya commented 1 year ago

I fixed this issue by adding the following code

override func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {

    // Singular
    if let singularAppDelegate = SingularAppDelegate.shared() {
        singularAppDelegate.continueUserActivity(userActivity, restorationHandler: nil)
    }

    if userActivity.webpageURL?.path.contains("sng.link") ?? false {
        return true
    }
    return super.application(application, continue: userActivity, restorationHandler: restorationHandler);
}
darshankawar commented 1 year ago

Good to know your issue is resolved. Closing based on above comment.