cordova plugin for saving base64 image
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

plugin.xml 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. id="com.mirfalahtech.base64saveimage"
  4. version="0.0.1">
  5. <name>base64saveimage</name>
  6. <engines>
  7. <engine name="cordova" version=">=3.0.0" />
  8. </engines>
  9. <description>This plugin allows you to save Base64 Data to the iOS Photo Library, or Android Gallery from your app.</description>
  10. <author>Muhammad Munir - munirishak@mirfalah.my</author>
  11. <keywords>base64,png,save,canvas,image,photo library</keywords>
  12. <license></license>
  13. <js-module src="www/Base64ImageSaverPlugin.js" name="Base64ImageSaverPlugin">
  14. <clobbers target="window.Base64ImageSaverPlugin" />
  15. </js-module>
  16. <!-- ios -->
  17. <platform name="ios">
  18. <config-file target="config.xml" parent="/*">
  19. <feature name="Base64ImageSaverPlugin">
  20. <param name="ios-package" value="Base64ImageSaverPlugin"/>
  21. <param name="onload" value="true" />
  22. </feature>
  23. </config-file>
  24. <header-file src="src/ios/Base64ImageSaverPlugin.h" />
  25. <source-file src="src/ios/Base64ImageSaverPlugin.m"
  26. compiler-flags="-fno-objc-arc" />
  27. </platform>
  28. <!-- android -->
  29. <platform name="android">
  30. <config-file target="AndroidManifest.xml" parent="/*">
  31. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  32. </config-file>
  33. <config-file target="res/xml/config.xml" parent="/*">
  34. <feature name="Base64ImageSaverPlugin" >
  35. <param name="android-package" value="org.solderzzc.Base64ImageSaverPlugin.Base64ImageSaverPlugin"/>
  36. </feature>
  37. </config-file>
  38. <source-file src="src/android/Base64ImageSaverPlugin.java"
  39. target-dir="src/org/solderzzc/Base64ImageSaverPlugin" />
  40. </platform>
  41. <!-- wp8 -->
  42. <platform name="wp8">
  43. <config-file target="config.xml" parent="/*">
  44. <feature name="Base64ImageSaverPlugin">
  45. <param name="wp-package" value="Base64ImageSaverPlugin"/>
  46. <param name="onload" value="true" />
  47. </feature>
  48. </config-file>
  49. <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
  50. <Capability Name="ID_CAP_MEDIALIB_PHOTO" />
  51. </config-file>
  52. <source-file src="src/wp8/Base64ImageSaverPlugin.cs" />
  53. </platform>
  54. </plugin>