function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Manish Kumar 61Manish Kumar 61 

Access device contacts using Cordova on Salesforce1

I have read that for hybrid apps, Cordova allows us to access phone contacts. Is it possible to do so in Salesforce1 app. Any links/ tutorials for it will be helpful.
Best Answer chosen by Manish Kumar 61
Gaurav KheterpalGaurav Kheterpal
This is NOT possible irrespective of whether you use Cordova or any other framework because your Visualforce page runs within the Salesforce1 container. The SF1 container is a WebView so it can't access any device contacts. I hope this helps.

If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker