Ionic-angular has no exported member 'Splashscreen'


#1

Hello,

I am using latest version of ionic (2.0.0-beta.8).

I am following this documentation to manage splash screen. http://ionicframework.com/docs/v2/native/splashscreen/

However I get following error in console and it does not work as per documentation.

TypeScript error: app/app.ts(2,83): Error TS2305: Module ‘“D:/Products/SamplifyRx/code/ionic-kiosk/node_modules/ionic-angular/index”’ has no exported member ‘Splashscreen’.

Please suggest me how to make it work.

Note : I can make it work using navigator.splashscreen.hide()/show() method but I prefer doing it ionic2 way.

Thank you for help.


#2

you have to import it from ionic-native! not ionic-angular