Can't use ThreeDeeTouch plugin!


I’ve ionic2 project set up with TypeScirpt. I’ve typed, ionic plugin add cordova-plugin-3dtouch, gave following output.

Fetching plugin “cordova-plugin-3dtouch” via npm
Installing “cordova-plugin-3dtouch” for ios
Saving plugin to package.json file

And in package.json file plugin saved as,

“cordovaPlugins”: [

But when i import ThreeDeeTouch from ionic-native in my typescript file,
import {ThreeDeeTouch} from ‘ionic-native’;
giving me error as Module “…/node_modules/ionic-native/dist/index” has no export member ‘ThreeDeeTouch’.

How i can use 3DTouch mentioned at,


I got solution for this, I had to update ionic-native to latest.
Using npm i --save ionic-native@latest