You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there
I have some kind of issue with your plugin. When I work on emulator, everything is working perfectly, event starts only when something on contacts list changed.
There is a problem when I am working on real device. I tried on Samsung J6 with Android 10 and Samsung A21 with Android 11.
Event is fired even if I only scrolling around contacts list ( sometimes) or when I changed something in specified contact I get the change event in application 2 times, and when I resume application I can see 4 more event triggers ( every single time ). The difference between events is few milliseconds. Did I something wrong or plugin is too sensitive?
Thank you for any help :)
The text was updated successfully, but these errors were encountered:
I've done some testing and it seems like the change is caused by a sync event also causing one or multiple notifications, and it's not possible to filter these events. The fundamental problem is that the onChange event in the content observer contains meaningful information whatsoever to do any kind of filtering or comparison, so it's not possible to separate meaningful insert/update/delete events from meaningless sync events easily.
I'm going to look into a possible solution in the next couple of days, perhaps by using a timer that ignores the multiple events triggered within a short timespan, or by storing contacts with their version and then doing a comparison.
Hi there
I have some kind of issue with your plugin. When I work on emulator, everything is working perfectly, event starts only when something on contacts list changed.
There is a problem when I am working on real device. I tried on Samsung J6 with Android 10 and Samsung A21 with Android 11.
Event is fired even if I only scrolling around contacts list ( sometimes) or when I changed something in specified contact I get the change event in application 2 times, and when I resume application I can see 4 more event triggers ( every single time ). The difference between events is few milliseconds. Did I something wrong or plugin is too sensitive?
Thank you for any help :)
The text was updated successfully, but these errors were encountered: