Skip to content

Unable to import contacts in both Android and IOS #195

Open
@AlgoHarsh1

Description

@AlgoHarsh1

On Importing the contact from the device it returns empty list even though the contacts does exist.
I was using the latest version of the package with flutter 3.24 it was working fine on both Android and IOS but when i went to the latest version of flutter i:e 3.29 , I am unable to import contacts on both OS.

flutter: ^[[38;5;196m│ #0 Log.error (package:sachiv_app/src/utilities/logger.dart:6:47)<…>
flutter: ^[[38;5;196m│ #1 ContactListProvider.fetchContactsFromDevice (package:sachiv_app/src/modules/contact_list/providers/contact_list/contact_list_provider.dart:84:11)<…>
flutter: ^[[38;5;196m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…>
flutter: ^[[38;5;196m│ ⛔ Bad state: No element<…>

Here is the response from terminal after importing contacts

Flutter version details :-
Flutter 3.29.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 35c388afb5 (3 weeks ago) • 2025-02-10 12:48:41 -0800
Engine • revision f73bfc4522
Tools • Dart 3.7.0 • DevTools 2.42.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions