Flutter Contacts bug - doesn't work for 1 icloud account, works when that account isn't logged in

Viewed 12

we are testing an app that uses flutter_contacts. We maintain a user database that also contains phone numbers.

We use this call on the package to get contacts:

contacts = await FlutterContacts.getContacts(
        withProperties: true,
        withPhoto: true,
        sorted: true,
      );

We then are creating a different list from users in our app userbase (all gave phone number), and intersecting the two lists to get the displayed list of contacts in the app (i.e. you see users who are both in your contacts and members of the app).

This works for around 15 people who have tested it. However, one tester observes the following behaviour: when their icloud is logged in, they see no contacts in app. When their icloud is logged out on same phone, they see correct contact list in app.

Have done:

  • factory reset of iphone
  • tested same icloud account on different device with same results
  • contacts privacy setting for app is on
  • icloud sync fully done
  • ios fully updated

Any help much appreciated.

0 Answers
Related