plugin.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. id="cordova-plugin-image-picker"
  5. version="1.1.1">
  6. <name>ImagePicker</name>
  7. <description>
  8. This plugin allows selection of multiple images from the camera roll / gallery in a phonegap app
  9. </description>
  10. <license>MIT</license>
  11. <engines>
  12. <engine name="cordova" version=">=3.0.0" />
  13. </engines>
  14. <js-module src="www/imagepicker.js" name="ImagePicker">
  15. <clobbers target="plugins.imagePicker" />
  16. </js-module>
  17. <!-- ios -->
  18. <platform name="ios">
  19. <config-file target="config.xml" parent="/*">
  20. <feature name="ImagePicker">
  21. <param name="ios-package" value="SOSPicker"/>
  22. </feature>
  23. </config-file>
  24. <header-file src="src/ios/SOSPicker.h" />
  25. <source-file src="src/ios/SOSPicker.m" />
  26. <header-file src="src/ios/ELCImagePicker/ELCAlbumPickerController.h" />
  27. <source-file src="src/ios/ELCImagePicker/ELCAlbumPickerController.m" />
  28. <header-file src="src/ios/ELCImagePicker/ELCAsset.h" />
  29. <source-file src="src/ios/ELCImagePicker/ELCAsset.m" />
  30. <header-file src="src/ios/ELCImagePicker/ELCAssetCell.h" />
  31. <source-file src="src/ios/ELCImagePicker/ELCAssetCell.m" />
  32. <header-file src="src/ios/ELCImagePicker/ELCAssetPickerFilterDelegate.h" />
  33. <header-file src="src/ios/ELCImagePicker/ELCAssetSelectionDelegate.h" />
  34. <header-file src="src/ios/ELCImagePicker/ELCAssetTablePicker.h" />
  35. <source-file src="src/ios/ELCImagePicker/ELCAssetTablePicker.m" />
  36. <header-file src="src/ios/ELCImagePicker/ELCImagePickerController.h" />
  37. <source-file src="src/ios/ELCImagePicker/ELCImagePickerController.m" />
  38. <resource-file src="src/ios/ELCImagePicker/Resources/ELCAlbumPickerController.xib" />
  39. <resource-file src="src/ios/ELCImagePicker/Resources/ELCAssetPicker.xib" />
  40. <resource-file src="src/ios/ELCImagePicker/Resources/ELCAssetTablePicker.xib" />
  41. <resource-file src="src/ios/ELCImagePicker/Resources/Overlay.png" />
  42. <resource-file src="src/ios/ELCImagePicker/Resources/Overlay@2x.png" />
  43. </platform>
  44. <!-- android -->
  45. <platform name="android">
  46. <config-file target="res/xml/config.xml" parent="/*">
  47. <feature name="ImagePicker">
  48. <param name="android-package" value="com.synconset.ImagePicker"/>
  49. </feature>
  50. </config-file>
  51. <config-file target="AndroidManifest.xml" parent="/manifest/application">
  52. <activity android:label="@string/multi_app_name" android:name="com.synconset.MultiImageChooserActivity" android:theme="@android:style/Theme.Holo.Light">
  53. </activity>
  54. </config-file>
  55. <config-file target="AndroidManifest.xml" parent="/manifest">
  56. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  57. </config-file>
  58. <source-file src="src/android/com/synconset/ImagePicker/ImagePicker.java" target-dir="src/com/synconset" />
  59. <source-file src="src/android/com/synconset/ImagePicker/FakeR.java" target-dir="src/com/synconset" />
  60. <source-file src="src/android/Library/src/ImageFetcher.java" target-dir="src/com/synconset"/>
  61. <source-file src="src/android/Library/src/MultiImageChooserActivity.java" target-dir="src/com/synconset"/>
  62. <source-file src="src/android/Library/res/anim/image_pop_in.xml" target-dir="res/anim"/>
  63. <source-file src="src/android/Library/res/drawable/grid_background.xml" target-dir="res/drawable"/>
  64. <source-file src="src/android/Library/res/drawable-hdpi/image_bg.9.png" target-dir="res/drawable-hdpi"/>
  65. <source-file src="src/android/Library/res/drawable-hdpi/loading_icon.png" target-dir="res/drawable-hdpi"/>
  66. <source-file src="src/android/Library/res/drawable-mdpi/ic_action_discard_dark.png" target-dir="res/drawable-mdpi"/>
  67. <source-file src="src/android/Library/res/drawable-mdpi/ic_action_discard_light.png" target-dir="res/drawable-mdpi"/>
  68. <source-file src="src/android/Library/res/drawable-mdpi/ic_action_done_dark.png" target-dir="res/drawable-mdpi"/>
  69. <source-file src="src/android/Library/res/drawable-mdpi/ic_action_done_light.png" target-dir="res/drawable-mdpi"/>
  70. <source-file src="src/android/Library/res/drawable-mdpi/ic_launcher.png" target-dir="res/drawable-mdpi"/>
  71. <source-file src="src/android/Library/res/drawable-xhdpi/ic_action_discard_dark.png" target-dir="res/drawable-xhdpi"/>
  72. <source-file src="src/android/Library/res/drawable-xhdpi/ic_action_discard_light.png" target-dir="res/drawable-xhdpi"/>
  73. <source-file src="src/android/Library/res/drawable-xhdpi/ic_action_done_dark.png" target-dir="res/drawable-xhdpi"/>
  74. <source-file src="src/android/Library/res/drawable-xhdpi/ic_action_done_light.png" target-dir="res/drawable-xhdpi"/>
  75. <source-file src="src/android/Library/res/drawable-xhdpi/ic_launcher.png" target-dir="res/drawable-xhdpi"/>
  76. <source-file src="src/android/Library/res/layout/actionbar_custom_view_done_discard.xml" target-dir="res/layout"/>
  77. <source-file src="src/android/Library/res/layout/actionbar_discard_button.xml" target-dir="res/layout"/>
  78. <source-file src="src/android/Library/res/layout/actionbar_done_button.xml" target-dir="res/layout"/>
  79. <source-file src="src/android/Library/res/layout/multiselectorgrid.xml" target-dir="res/layout"/>
  80. <source-file src="src/android/Library/res/values/multiimagechooser_strings_en.xml" target-dir="res/values"/>
  81. <source-file src="src/android/Library/res/values/themes.xml" target-dir="res/values"/>
  82. <source-file src="src/android/Library/res/values-de/multiimagechooser_strings_de.xml" target-dir="res/values-de"/>
  83. <source-file src="src/android/Library/res/values-es/multiimagechooser_strings_es.xml" target-dir="res/values-es"/>
  84. <source-file src="src/android/Library/res/values-fr/multiimagechooser_strings_fr.xml" target-dir="res/values-fr"/>
  85. <source-file src="src/android/Library/res/values-hu/multiimagechooser_strings_hu.xml" target-dir="res/values-hu"/>
  86. <source-file src="src/android/Library/res/values-ja/multiimagechooser_strings_ja.xml" target-dir="res/values-ja"/>
  87. <source-file src="src/android/Library/res/values-ko/multiimagechooser_strings_ko.xml" target-dir="res/values-ko"/>
  88. </platform>
  89. </plugin>