mirror of
https://gitee.com/shuto/cordova-imagePicker.git
synced 2026-02-17 00:00:06 +08:00
141 lines
7.6 KiB
XML
141 lines
7.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
id="com.synconset.imagepicker"
|
|
version="2.0.0">
|
|
|
|
<name>ImagePicker</name>
|
|
|
|
<description>
|
|
This plugin allows selection of multiple images from the camera roll / gallery in a phonegap app
|
|
</description>
|
|
|
|
<license>MIT</license>
|
|
|
|
<engines>
|
|
<engine name="cordova" version=">=3.5.0" />
|
|
</engines>
|
|
|
|
<js-module src="www/imagepicker.js" name="ImagePicker">
|
|
<clobbers target="plugins.imagePicker" />
|
|
</js-module>
|
|
|
|
<!-- ios -->
|
|
<platform name="ios">
|
|
<config-file target="config.xml" parent="/*">
|
|
<feature name="ImagePicker">
|
|
<param name="ios-package" value="SOSPicker"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<header-file src="src/ios/SOSPicker.h" />
|
|
<source-file src="src/ios/SOSPicker.m" />
|
|
|
|
<header-file src="src/ios/GMImagePicker/UIImage+fixOrientation.h" />
|
|
<source-file src="src/ios/GMImagePicker/UIImage+fixOrientation.m" />
|
|
|
|
<header-file src="src/ios/GMImagePicker/GMAlbumsViewCell.h" />
|
|
<source-file src="src/ios/GMImagePicker/GMAlbumsViewCell.m" />
|
|
|
|
<header-file src="src/ios/GMImagePicker/GMAlbumsViewController.h" />
|
|
<source-file src="src/ios/GMImagePicker/GMAlbumsViewController.m" />
|
|
|
|
<header-file src="src/ios/GMImagePicker/GMFetchItem.h" />
|
|
<source-file src="src/ios/GMImagePicker/GMFetchItem.m" />
|
|
|
|
<header-file src="src/ios/GMImagePicker/GMGridViewCell.h" />
|
|
<source-file src="src/ios/GMImagePicker/GMGridViewCell.m" />
|
|
|
|
<header-file src="src/ios/GMImagePicker/GMGridViewController.h" />
|
|
<source-file src="src/ios/GMImagePicker/GMGridViewController.m" />
|
|
|
|
<header-file src="src/ios/GMImagePicker/GMImagePickerController.h" />
|
|
<source-file src="src/ios/GMImagePicker/GMImagePickerController.m" />
|
|
|
|
<header-file src="src/ios/GMImagePicker/PSYBlockTimer.h" />
|
|
<source-file src="src/ios/GMImagePicker/PSYBlockTimer.m" />
|
|
|
|
<header-file src="src/ios/GMImagePicker/GMPHAsset.h" />
|
|
<source-file src="src/ios/GMImagePicker/GMPHAsset.m" />
|
|
|
|
<resource-file src="src/ios/GMImagePicker/GMEmptyFolder@1x.png" />
|
|
<resource-file src="src/ios/GMImagePicker/GMEmptyFolder@2x.png" />
|
|
|
|
<resource-file src="src/ios/GMImagePicker/GMSelected.png" />
|
|
<resource-file src="src/ios/GMImagePicker/GMSelected@2x.png" />
|
|
|
|
<resource-file src="src/ios/GMImagePicker/GMVideoIcon.png" />
|
|
<resource-file src="src/ios/GMImagePicker/GMVideoIcon@2x.png" />
|
|
|
|
<resource-file src="src/ios/GMImagePicker/Base.lproj/GMImagePicker.strings" target="res/strings-base/GMImagePicker.strings" />
|
|
<asset src="src/ios/GMImagePicker/ca.lproj/GMImagePicker.strings" target="res/strings-ca/GMImagePicker.strings" />
|
|
<asset src="src/ios/GMImagePicker/de.lproj/GMImagePicker.strings" target="res/strings-de/GMImagePicker.strings" />
|
|
<asset src="src/ios/GMImagePicker/en.lproj/GMImagePicker.strings" target="res/strings-en/GMImagePicker.strings" />
|
|
<asset src="src/ios/GMImagePicker/es.lproj/GMImagePicker.strings" target="res/strings-es/GMImagePicker.strings"/>
|
|
<asset src="src/ios/GMImagePicker/fr.lproj/GMImagePicker.strings" target="res/strings-fr/GMImagePicker.strings" />
|
|
<asset src="src/ios/GMImagePicker/it.lproj/GMImagePicker.strings" target="res/strings-it/GMImagePicker.strings" />
|
|
<asset src="src/ios/GMImagePicker/pt.lproj/GMImagePicker.strings" target="res/strings-pt/GMImagePicker.strings" />
|
|
|
|
<framework src="Accelerate.framework" />
|
|
<framework src="Security.framework" />
|
|
<framework src="Photos.framework" />
|
|
<framework src="SystemConfiguration.framework" />
|
|
<framework src="QuartzCore.framework" />
|
|
|
|
</platform>
|
|
|
|
<!-- android -->
|
|
<platform name="android">
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
<feature name="ImagePicker">
|
|
<param name="android-package" value="com.synconset.ImagePicker"/>
|
|
</feature>
|
|
</config-file>
|
|
|
|
<config-file target="AndroidManifest.xml" parent="/manifest/application">
|
|
<activity android:label="@string/multi_app_name" android:name="com.synconset.MultiImageChooserActivity" android:theme="@android:style/Theme.Holo.Light">
|
|
</activity>
|
|
</config-file>
|
|
|
|
<config-file target="AndroidManifest.xml" parent="/manifest">
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
</config-file>
|
|
|
|
<source-file src="src/android/com/synconset/ImagePicker/ImagePicker.java" target-dir="src/com/synconset" />
|
|
<source-file src="src/android/com/synconset/ImagePicker/FakeR.java" target-dir="src/com/synconset" />
|
|
|
|
<source-file src="src/android/Library/src/ImageFetcher.java" target-dir="src/com/synconset"/>
|
|
<source-file src="src/android/Library/src/MultiImageChooserActivity.java" target-dir="src/com/synconset"/>
|
|
|
|
<source-file src="src/android/Library/res/anim/image_pop_in.xml" target-dir="res/anim"/>
|
|
<source-file src="src/android/Library/res/drawable/grid_background.xml" target-dir="res/drawable"/>
|
|
<source-file src="src/android/Library/res/drawable-hdpi/image_bg.9.png" target-dir="res/drawable-hdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-hdpi/loading_icon.png" target-dir="res/drawable-hdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-mdpi/ic_action_discard_dark.png" target-dir="res/drawable-mdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-mdpi/ic_action_discard_light.png" target-dir="res/drawable-mdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-mdpi/ic_action_done_dark.png" target-dir="res/drawable-mdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-mdpi/ic_action_done_light.png" target-dir="res/drawable-mdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-mdpi/ic_launcher.png" target-dir="res/drawable-mdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-xhdpi/ic_action_discard_dark.png" target-dir="res/drawable-xhdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-xhdpi/ic_action_discard_light.png" target-dir="res/drawable-xhdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-xhdpi/ic_action_done_dark.png" target-dir="res/drawable-xhdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-xhdpi/ic_action_done_light.png" target-dir="res/drawable-xhdpi"/>
|
|
<source-file src="src/android/Library/res/drawable-xhdpi/ic_launcher.png" target-dir="res/drawable-xhdpi"/>
|
|
<source-file src="src/android/Library/res/layout/actionbar_custom_view_done_discard.xml" target-dir="res/layout"/>
|
|
<source-file src="src/android/Library/res/layout/actionbar_discard_button.xml" target-dir="res/layout"/>
|
|
<source-file src="src/android/Library/res/layout/actionbar_done_button.xml" target-dir="res/layout"/>
|
|
<source-file src="src/android/Library/res/layout/multiselectorgrid.xml" target-dir="res/layout"/>
|
|
<source-file src="src/android/Library/res/values/multiimagechooser_strings_en.xml" target-dir="res/values"/>
|
|
<source-file src="src/android/Library/res/values/themes.xml" target-dir="res/values"/>
|
|
|
|
<source-file src="src/android/Library/res/values-de/multiimagechooser_strings_de.xml" target-dir="res/values-de"/>
|
|
<source-file src="src/android/Library/res/values-es/multiimagechooser_strings_es.xml" target-dir="res/values-es"/>
|
|
<source-file src="src/android/Library/res/values-fr/multiimagechooser_strings_fr.xml" target-dir="res/values-fr"/>
|
|
<source-file src="src/android/Library/res/values-hu/multiimagechooser_strings_hu.xml" target-dir="res/values-hu"/>
|
|
<source-file src="src/android/Library/res/values-ja/multiimagechooser_strings_ja.xml" target-dir="res/values-ja"/>
|
|
<source-file src="src/android/Library/res/values-ko/multiimagechooser_strings_ko.xml" target-dir="res/values-ko"/>
|
|
|
|
<framework src="src/android/ignorelinterrors.gradle" custom="true" type="gradleReference"/>
|
|
</platform>
|
|
</plugin>
|