Ionic

Create application

$ npm install -g @ionic/cli native-run cordova-res $ ionic start photo-gallery tabs --type=angular --capacitor $ cd ./photo-gallery $ npm install @capacitor/camera @capacitor/preferences @capacitor/filesystem

Install modules

https://capacitorjs.com/docs/apis/camera

$ npm install @capacitor/camera $ npx cap sync

https://capacitorjs.com/docs/apis/filesystem

$ npm install @capacitor/filesystem $ npx cap sync

https://capacitorjs.com/docs/apis/preferences

$ npm install @capacitor/preferences $ npx cap sync

https://capacitorjs.com/docs/apis/motion

$ npm install @capacitor/motion $ npx cap sync

https://capacitorjs.com/docs/apis/haptics

$ npm install @capacitor/haptics $ npx cap sync