Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

I can't add the image-picker plugin in my application

$
0
0

@frodoe7 wrote:

I am trying to add this plugin to my project
I ran these 2 commands

1- ionic cordova plugin add cordova-plugin-telerik-imagepicker --variable PHOTO_LIBRARY_USAGE_DESCRIPTION="your usage message"
2- npm install --save @ionic-native/image-picker
and then added the plugin to my app’s module

when running the app on ionic devApp , it makes this error

Uncaught (in promise): plugin_not_installed

my info

Ionic Framework: 3.9.2
Ionic App Scripts: 3.1.6
Angular Core: 5.0.3
Angular Compiler CLI: 5.0.3
Node: 8.9.1
OS Platform: macOS High Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Mobile Safari/537.36

note : when I try to remove the plugin using this command
ionic cordova plugin rm cordova-plugin-telerik-imagepicker

it makes this strange error :

Error: Plugin “cordova-plugin-telerik-imagepicker” is not present in the project. See cordova plugin list.

when I run “ionic cordova plugin ls” , I got this

com.synconset.imagepicker 2.1.8 "ImagePicker"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-image-picker 1.1.1 "ImagePicker"
cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-sqlite-storage 2.2.0 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 “Keyboard”

so - where’s the issue ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>