To run the provided example:
git clone https://github.com/dpa99c/capacitor-camera-preview-test.git
cd capacitor-camera-preview-test
npm install
Then, to run the example on Android:
npm run cap:build:android
npm run cap:run:android
Or, to run the example on iOS:
npm run cap:build:ios
npm run cap:run:ios