Comments (2)
Hi @Billy-80
I looked into it a bit more. It has nothing to do with adding an address, or de-deduplicating properties. I could reproduce it on my device and on an emulator with this code (after commenting out the deduplicateProperties()
function): https://gist.github.com/joachim-quis/dac953b3f45168484c5656de6e844e8e#file-main-dart-L84-L104
Steps:
- Create a contact
- Click the "Shopping" icon to add an event
- Click "Show" --> shows just one event
- Wait a bit (maybe 1-2 minutes)
- Click "Show" again -> shows two identical events
What I'm suspecting is happening is that Gmail synchronizes contacts behind the scenes, and for some reason duplicates that event. You can see that the default Android Contact app also seems to be de-duplicating events, since for that contact, even though there are two identical events, the app is only showing one:
This is the reason why I introduce deduplicateProperties
in the first place, since that happened before for example with 3rd-party apps syncing in the background and duplicating phone numbers.
Feel free to re-open if there's anything else I can help with.
from flutter_contacts.
You're right, while testing with plane mode on to prevent sync I could not reproduce this anymore. It seems that the sync with google for events is quite problematic generally. Thank you.
from flutter_contacts.
Related Issues (20)
- Attempt to present <CNContactPickerViewController> which is already presenting <FlutterViewController> HOT 1
- Compilation error due to mismatch between compileDebugJavaWithJavac and compileDebugKotlin HOT 7
- Please make class FlutterContacts singletone to be able create mock and simplify writing tests HOT 1
- [openExternalEdit] is not opening in edit mode HOT 1
- when i am using external picker my contact automatically after selecting contact my contact is deleted from phone book HOT 1
- App Crash when I accept allow button on the permission request message HOT 1
- flutter_contacts plugin is preventing the host app from upgrading into AGP 8.2.2 HOT 1
- Saving multiple number with labels HOT 3
- Setting contact.photo = null does not delete the image HOT 1
- openExternalInsert causing SecurityException HOT 1
- Contact With Group not retrieved HOT 1
- Is it possible to test for permission before asking?
- conact.name.first contains the whole contact full name and contact.name.last is always null HOT 6
- everything is null except displayName HOT 3
- Coudn't get Contacts in new phone, however worked fine in old phone HOT 1
- openExternalInsert() causing android app crash HOT 1
- Latest flutter stable version is breaking with this plugin use. Urgently need fix! HOT 13
- on contact add remove or edit non events broadcasting HOT 1
- what about support form macOs? HOT 1
- Null in openExternalPick() Response [Android 13] HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_contacts.