Steps:
- Download Nodejs.
- Download git.
- type
npm install -g ionic cordovain your command prompt. - type
git clone https://github.com/TeamClouders/Ionic-2-camera-previewin your command prompt. - After cloning type
npm installto install dependencies. - Attach your Mobile Device (Android/IOS).
- If Android first type
adb devicesto check if your device is avalible and Add Platform for yours exampleionic platform add androidORios - If Device is avalible type
ionic run androidit will build and install on your android device. - For IPhone build type
ionic build ios(only works when using Mac). - open
XCODEAnd deloy on your device or simmulator.
Now You can Display your camera in your own Hybrid Application.
I made simple steps to show you can type Camera Preview code in Typescript.
It will Display Camera in your HTML view.
More Tutorials are comming soon...
Good Luck...!!

