Telerik-Verified-Plugins / ImagePicker

Cordova Plugin For Multiple Image Selection
MIT License
181 stars 328 forks source link

Cordova 7 compatibility #134

Open vlafranca opened 6 years ago

vlafranca commented 6 years ago

Hi everyone, Please update the plugin.xml for cordova 7 compatibility

<!-- An existing config.xml --> <edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">

<!-- needs to change to --> <edit-config file="app/src/main/AndroidManifest.xml" target="/manifest/application" mode="merge">

source : https://cordova.apache.org/announcements/2017/12/04/cordova-android-7.0.0.html

Thanks in advance

YogliB commented 6 years ago

You can use Cordova's camera plugin for an image picker by choosing the phone's gallery as a source type.

exodinn commented 6 years ago

I think also another think must be taken care of here: Saved plugin info for "cordova-plugin-telerik-imagepicker" to config.xml cp: copyFileSync: could not write to dest file (code=ENOENT):<project directory>\platforms\android\res\xml\config.xml when building app using ionic/cordova for android, res/xml folder does not exists at all, so as config.xml file there.