Skip to content

SDK for Chainway/Terra devices with an integrated Barcode Scanner

License

Notifications You must be signed in to change notification settings

limegorilla/chainway-terra-pdk-sdk

Repository files navigation

Terra/Chainway SDK implementation for Expo & React Native

This library implements the SDK provided by Terra/Chainway barcode scanners (my research suggests that one of them is a rebrand of the other) so that you can have native bindings for the scanner in your expo apps.

Note

This library is working, but still needs some work before it can be a 1.0
All the working out should have been documented.

Features

  • Scan and decode barcodes
  • Prepare and takeover scanner from other apps
  • API for changing scanner settings

Usage

TODO

// # API documentation

//- Documentation for the main branch // - Documentation for the latest stable release

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release. If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

npm install chainway-terra-pdk-sdk

Configure for Android

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.