I am using Contacts in Ionic Native ([url removed, login to view]) that uses the cordova-plugin-contacts ([url removed, login to view]) to find and retrieve iOS and Android address book contact details. The details are then stored on an SQLite database in my ionic/cordova mobile app. My app currently retrieves the whole native address book to compare for changes with the SQLite DB everytime the app starts (even when there are no change in the native address book). This is slow and inefficient.
I need a Cordova plugin or other methods created to detect for changes in the native address book and return the contact id or other specific information so that my app knows whether to retrieve any specific new/edited/deleted contacts changes when necessary. I am only interested in changes to the name, tel numbers and emails fields. And will only retrieve and store those 3 fields.
This can be easily done using the AddressBook framework in iOS ([url removed, login to view]) and the ContentObserver Class in Android ([url removed, login to view]). Either by getting specific change information notification or by detecting for when record in native addressbook was last updated and comparing to my app database's last updated time.
5 freelancers estão ofertando em média $184 para esse trabalho
Hi, my name is Edward and i am hybrid APP developer. I can write such cordova plugin that uses address book [url removed, login to view] for contact and details on chat. BS, Edward.