Plugin not installed printer


#1

I am trying to install printer plugin and followed this step to install as shown on docs…

ionic cordova plugin add de.appplant.cordova.plugin.printer npm install --save @ionic-native/printer

While runnig in device tryring access this.printer.pick() it shows ‘plugin_not_intalled’.

here is my ionic cordova plugin list
> cordova plugin ls cordova-plugin-device 1.1.7 "Device" cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 4.1.0 "Splashscreen" cordova-plugin-uniquedeviceid 1.3.2 "UniqueDeviceID" cordova-plugin-whitelist 1.3.3 "Whitelist" cordova-sqlite-storage 2.1.2 "Cordova sqlite storage plugin" de.appplant.cordova.plugin.printer 0.7.1 "Printer" ionic-plugin-keyboard 2.2.1 "Keyboard"

and here is my environment info

`cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 7.1.0 

local packages:

@ionic/app-scripts : 3.1.6
Cordova Platforms  : android 6.3.0
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.1.1
Node              : v6.12.0
npm               : 5.6.0 
OS                : Linux 4.13

Environment Variables:

ANDROID_HOME : /home/bhagirth/Android/Sdk

Misc:

backend : pro

`

Thanks in advance!


#2

pick() method is not working in android devices and I have not tested in ios device.
but got this working by directly calling print() method.