Cloning the project
git clone https://github.com/IgorMing/ionic-BarcodeScanner.git
git clone [email protected]:IgorMing/ionic-BarcodeScanner.git
After cloning the project
Check if you have bower installed.
bower install
(This command will install all project dependencies.)
If it shows 'Permission Denied' in the next steps, run the command:
sudo su
Add the ngCordova plugin responsable to scan
cordova plugin add https://github.com/phonegap/phonegap-plugin-barcodescanner.git
Add the platforms you want (android, ios, blackberry)
ionic platform add [platform]
Build it!
ionic build [platform]
Connect some avd device, or play it in your real device
You can list your disponible connected devices running:
adb devices
Now, just run it!
ionic run [platform]