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
Sfdc profSfdc prof 

Barcode Scan Functionality on Salesforce1

Hello All, 

We are working on one of our client requirement to have a barcode scanning fucntionlity on Salesforce1.
Requirement reads as, on One Custom object we got barcode image and barcode number.
We need a search functionality where User may click an image of barcode or provide the same from the application tray from mobile and based on barcode scan, it will search for available barcode records if any and returns the same.

Would appriciate your help on this.
Thanks in advance.
Sagar PareekSagar Pareek
Check this out
Sfdc profSfdc prof
Hello Sagar,

Thanks for the quick reply.
We already used the same blog as reference point.
It is working great on Salesforce desktop version as well as Mobile Browser version but shows "Still Working" Alert on Salesforce1 app.
Gaurav KheterpalGaurav Kheterpal
Are you trying this on Android or iOS (this does not work on Android 4.4 due to a known issue)? Please also confirm if you are using the latest version of Salesforce1 app?

If the problem still persists, please share your code snippet and I'll be happy to help further.

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 Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker
Sfdc profSfdc prof
Hello Gaurav, 

Thanks for the reply.
We tried the solution on both Andriod as well as iOS.
We are aware of 4.4 Kitkat issue thus tried the solution on lower version i.e. 4.2 ICS but still no success.
As far as iOS, we tried out the solution on ipad Air having iOS 8, no success theirs too.

We used the following solution to implement this.

Appriciate your help on this. 

Sfdc profSfdc prof
Hello All,

Any possible solution ? 
shiva pendemshiva pendem
Did you get this solution .I am also trying this barcode reading from salesforce 1 app.. I Used bobbuzzard solution but the camera is not opening while we click on choose file.I want to open camera when we click on choose file .

please let me know if u have solution for this.

I tried implementing a browser based scanning solutions in Salesforce1. But performance suffers.

Ended up using "Barcode to Cloud" app to scan and send barcode data to Salesforce.

"Barcode to Cloud (" app allows to scan and send data to Salesforce and execute configurable actions in Salesforce -

App demo -
Yogendra JangidYogendra Jangid
Hi, you can look for the below reference for barcode scanning natively using LWC.