I installed the PhotoViewer as explained in: https://github.com/sarriaroman/photoviewer
When I add import like this the project: import {PhotoViewer} from 'ionic-native';
it doesn't compile and it says that PhotoViewer is not part of 'ionic-native'
Anyone knows why?
import { PhotoViewer } from '@ionic-native/photo-viewer'
http://ionicframework.com/docs/native/photo-viewer/
Fix your import. Just 'ionic-native' won't work.