This is a demo app for the @thegrizzlylabs/cordova-plugin-genius-scan
npm package
For the demo app installation you will require:
- Cordova, minimum version 7.1.0
-
Install platforms and plugins according to
config.xml
cordova prepare
-
Build and run the project
cordova run ios
(or check Cordova iOS documentation)cordova run android
(or check Cordova Android documentation)
If you have trouble deploying your application after upgrading the plugin to a newer version, try removing the node_modules/
platforms/
and plugins/
directories and package.json
file from your project before running cordova prepare
and cordova run <platform>
again.
To run the demo on a physical device, you first need to sign code it in XCode, which requires a change of its Bundle ID:
- Connect the device to your Mac and unlock it.
- Open
/cordova-plugin-genius-scan-demo/platforms/ios/GS\ SDK\ Cordova\ Demo.xcworkspace
in XCode - Choose your device from the XCode Scheme menu
- Set your own Bundle ID under Identity
- Enable Automatic Signing and select a Team you are a member of (personal or organization)
- Press Build and run the current scheme
The Genius Scan SDK and plugins only work for one minute per session in trial mode. To test the scanner without restarting the demo application every minute, you must initialize it with a valid license key.
You can obtain free, 30-day Evalution Licenses from our website by submitting the demo request form. Make sure to indicate a valid Bundle ID.