Plugin Question on ionic 2.2.0

Hi I would like to use a Plugin like PhotoViewer but I have some question with this version of Ionic

Cordova CLI: 6.4.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 1.3.6
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.1
Xcode version: Not installed

In ionic documentation for add a plugin with npm i use this code
npm install --save @ionic-native/photo-viewer

But since I have a 2.2.0 version and return this error Uncaught Error: Cannot find module “@ionic-native/core”

If i use ionic plugin add --save com-sarriaroman-photoviewer and i Import in my class

import { PhotoViewer } from ‘ionic-native’;

and in my constructor

export class TimetablesPage {

  constructor(public navCtrl: NavController, public navParams: NavParams, private photoViewer: PhotoViewer) {


Property show doesn’t exist on the type PhotoViewer?

Can i use the plugin with the version 2.2.0???


Have you tried installing the current version of Ionic Native to see if it works?

Ok try this. Thank You!