cordovaphonegap-pluginscordova-pluginsdocumentviewer

how to install Phonegap plugin for all platforms


I am trying to add a phonegap plugin

phonegap plugin add cordova-plugin-document-viewer

This only installs the plugin for browser.

Plugin "cordova-plugin-document-viewer" already installed on browser.

I need to install it for all platforms iOS, android and windows phone. How to do that. can someone suggest


Solution

  • you need to add your platforms first

    cordova platform add ios
    cordova platform add android