PhotoViewer doesnt known in ionic 2

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-natine’

Anyone knows why?

“native” != “natine”, not sure if that’s relevant. Is ionic-native installed?

Yes it is. I wrote native in the code. The typo is only at the question.

I tried pinch but it doesn’t work on android for some reason. Any idea why?

Thanks.
Sami.

I also face the problems using PhotoViewer finally solved. Created a demo and video demonstration at
//Ionic 6 Angular Photviewer : How to show a picture from an URL into a Photo Viewer - YouTube

it might be helpful for the issue