APAddressBook
APAddressBook copied to clipboard
StartObserverChangeswithCallback gets fired multiple time even for a single change in address book
We are facing an issue .Our requirement is that when ever there is change in Phone book we need to listen for it and act on it based on last modified date. When i perform a change in Native phone book (i.e. one change) the call back is getting fired multiple times. Are we doing something wrong?
Is our understanding right that the call back will get called only once for a change
Yes, it should be called only once. Try Example
app with your device. Does it call multiple times?
Also, please, provide some code.
The example app also gets called multiple times. Would provide snippets soon
On Wed, Jun 7, 2017 at 7:01 PM, Alexey Belkevich [email protected] wrote:
Yes, it should be called only once. Try Example app with your device. Does it call multiple times? Also, please, provide some code.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Alterplay/APAddressBook/issues/160#issuecomment-306795387, or mute the thread https://github.com/notifications/unsubscribe-auth/AM14iqCAXCU02rlY-QqHtWJ8IYt0u-Gfks5sBqY9gaJpZM4NLfIR .
I am facing the same issue, even if I go to the Contacts App and don't change anything when I get back startObserveChanges
gets fired.