Ionic Info
tushar@localhost:~/.../Ionic3/CornerStone/cornerstone-parent$ ionic info
cli packages: (/home/tushar/workspace/Ionic3/CornerStone/cornerstone-parent/node_modules)
@ionic/cli-utils : 1.9.2
ionic (Ionic CLI) : 3.9.2
global packages:
Cordova CLI : 7.0.1
local packages:
@ionic/app-scripts : 2.0.2
Cordova Platforms : android 6.2.3 browser 4.1.0
Ionic Framework : ionic-angular 3.5.3
System:
Android SDK Tools : 26.0.2
Node : v6.11.2
npm : 3.10.10
OS : Linux 4.11
I used Document Viewer plugin in my app. it gives error: Error in SitewaertsDocumentViewer.viewDocument(): Missing Command Error
Test with this command: ionic serve and ionic cordova run browser
I'm afraid that since it's a cordova plugin, it won't work on the browser. You need to execute your app in a simulator / physical device in order to use cordova plugins:
ionic cordova run android
/ionic cordova run ios