You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ömer (JIRA)" <ji...@apache.org> on 2018/04/03 21:08:00 UTC
[jira] [Created] (CB-14012) asynchronous functions with "Contacts"
plugin
Ömer created CB-14012:
-------------------------
Summary: asynchronous functions with "Contacts" plugin
Key: CB-14012
URL: https://issues.apache.org/jira/browse/CB-14012
Project: Apache Cordova
Issue Type: Bug
Components: cordova-plugin-contacts (DEPRECATED)
Reporter: Ömer
Hello,
I have 2 buttons on my HTML project. I am also using Cordova-plugin-contacts.
By clicking 1st button, I am reading firebase database (with "once" method) then using navigator.contacts.find.
By clicking 2nd button, I am reading firebase database (with "once" method).
These two buttons are working fine *individully (even clicking multiple times).* However, when I click button 2 after button 1, I could not able to read database.
I have lots of "database read" operation with no issue until I have started to use navigator.contacts.find Do you think there is a relation between these 2 functions(database read and navigator.contacts.find)?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org