Closed trinitiwowka closed 8 months ago
The documentation says you need to use NOT the main thread, maybe it will be helpful? https://developer.android.com/topic/performance/vitals/anr#lock-contention
Maybe it's solution https://github.com/capacitor-community/contacts/pull/117/files ?
Describe the bug After I added the plugin and started using it, my ANR errors increased
To Reproduce Steps to reproduce the behavior: Just call this function:
Expected behavior It was not possible to reproduce locally, I think that there are clients who have thousands of contacts and this causes a freeze
Screenshots
Platforms: Android 10/11/12/13
BTW look like https://github.com/capacitor-community/contacts/issues/3