- SQLite
ionic cordova plugin add cordova-sqlite-storage
npm install --save @ionic-native/sqlite
- Native Storage
ionic cordova plugin add cordova-plugin-nativestorage
npm install --save @ionic-native/native-storage
- Camera/Photo
ionic cordova plugin add cordova-plugin-camera
npm install --save @ionic-native/camera
- Image Picker
$ ionic cordova plugin add cordova-plugin-telerik-imagepicker --variable PHOTO_LIBRARY_USAGE_DESCRIPTION="Watog needs to access the photos to upload images."
$ npm install --save @ionic-native/image-picker
- File Document Viewer
sudo ionic cordova plugin add cordova-plugin-file sudo ionic cordova plugin add cordova-plugin-file-transfer sudo ionic cordova plugin add cordova-plugin-document-viewer ionic cordova plugin add com-sarriaroman-photoviewer
sudo npm install --save @ionic-native/file @ionic-native/document-viewer @ionic-native/file-transfer
sudo ionic cordova plugin add cordova-plugin-nativestorage
npm start
npm run android
This platform should be added by ionic cordova platform add ios
npm run ios
please add it in plist file
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Our application needs permission to write photos...</string>
<key>NSCameraUsageDescription</key>
<string>Camera usage description</string>
npm install --save-prod google-libphonenumber
sudo npm i angular2-text-mask --save
npm install --save ionic-img-viewer