Repository files navigation
A android test app to validate native module logic that communicates with Socket Mobile Barcode scanners.
I have been testing this with the Socket Mobile S740 scanner.
To use this app with a scanner you will to run it on a real device.
This App/Native Module is NOT IOS READY.
This app also uses embedded capture library so that it does not need to use the companion service app.
Make sure you have properly set up your environment for React Native / Android
Docs fo this can be found here
Clone repo locally
run yarn install
The typescript facing API can be found here
Socket Specific Logic can be found here
yarn android
If this does not prompt you to open a new terminal window with a metro server running, create a new terminal window and run...
yarn start
then in another window run yarn android
This Module does NOT handle forming the bluetooth bond with the scanner.
To achieve this I wrote another custom Bluetooth Native Module which has a typescript facing API that can be found here
A complete pairing flow with examples of how to form the bluetooth bond, grant permissions, and test scanner features can be found here
This is the pairing flow that will launch when you run the app.
About
A sample app to test native module logic that allows for the use of Socket Mobile barcode scanners.
Resources
Stars
Watchers
Forks
Languages
TypeScript
46.3%
Kotlin
37.2%
Java
7.6%
Objective-C
5.2%
JavaScript
2.1%
Ruby
0.9%
Starlark
0.7%
You can’t perform that action at this time.