plugin.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. id="cordova-plugin-app-preferences"
  5. version="0.99.3">
  6. <name>AppPreferences</name>
  7. <description>Application preferences plugin and preference pane generator</description>
  8. <license>Apache</license>
  9. <keywords>preferences, settings</keywords>
  10. <repo>https://github.com/apla/me.apla.cordova.app-preferences</repo>
  11. <issue>https://github.com/apla/me.apla.cordova.app-preferences/issues</issue>
  12. <js-module src="www/apppreferences.js" name="apppreferences">
  13. <clobbers target="plugins.appPreferences" />
  14. </js-module>
  15. <asset src="www/task/AppPreferences.js" target="task/AppPreferences.js" />
  16. <hook type="before_plugin_install" src="bin/before_plugin_install.js" />
  17. <hook type="after_prepare" src="bin/after_prepare.js" />
  18. <hook type="after_plugin_install" src="bin/after_plugin_install.js" />
  19. <hook type="before_plugin_uninstall" src="bin/before_plugin_uninstall.js" />
  20. <!-- android -->
  21. <platform name="android">
  22. <config-file target="res/xml/config.xml" parent="/*">
  23. <feature name="AppPreferences" >
  24. <param name="android-package" value="me.apla.cordova.AppPreferences"/>
  25. </feature>
  26. </config-file>
  27. <config-file target="AndroidManifest.xml" parent="/manifest/application">
  28. <activity android:name="me.apla.cordova.AppPreferencesActivity" />
  29. </config-file>
  30. <source-file src="src/android/AppPreferences.java" target-dir="src/me/apla/cordova" />
  31. </platform>
  32. <!-- ios -->
  33. <platform name="ios">
  34. <config-file target="config.xml" parent="/*">
  35. <feature name="AppPreferences">
  36. <param name="ios-package" value="AppPreferences"/>
  37. </feature>
  38. </config-file>
  39. <header-file src="src/ios/AppPreferences.h" />
  40. <source-file src="src/ios/AppPreferences.m" />
  41. </platform>
  42. <!-- osx -->
  43. <platform name="osx">
  44. <config-file target="config.xml" parent="/*">
  45. <feature name="AppPreferences">
  46. <param name="ios-package" value="AppPreferences"/>
  47. </feature>
  48. </config-file>
  49. <header-file src="src/osx/AppPreferences.h" />
  50. <source-file src="src/osx/AppPreferences.m" />
  51. </platform>
  52. <!-- wp7 -->
  53. <platform name="wp7">
  54. <config-file target="config.xml" parent="/*">
  55. <feature name="AppPreferences">
  56. <param name="wp-package" value="AppPreferences"/>
  57. </feature>
  58. </config-file>
  59. <source-file src="src/wp/AppPreferences.cs" />
  60. </platform>
  61. <!-- wp8 -->
  62. <platform name="wp8">
  63. <config-file target="config.xml" parent="/*">
  64. <feature name="AppPreferences">
  65. <param name="wp-package" value="AppPreferences"/>
  66. </feature>
  67. </config-file>
  68. <source-file src="src/wp/AppPreferences.cs" />
  69. </platform>
  70. <!-- windows8 -->
  71. <platform name="windows8">
  72. <js-module src="src/windows8/platform.js" name="platform">
  73. <merges target="" />
  74. </js-module>
  75. </platform>
  76. <!-- windows universal platform -->
  77. <platform name="windows">
  78. <js-module src="src/windows8/platform.js" name="platform">
  79. <merges target="" />
  80. </js-module>
  81. </platform>
  82. <!-- browser -->
  83. <!-- using localStorage -->
  84. <platform name="browser">
  85. <js-module src="src/browser/platform.js" name="platform">
  86. <merges target="" />
  87. </js-module>
  88. </platform>
  89. <!-- blackberry10 -->
  90. <!-- using localStorage fallback -->
  91. <platform name="blackberry10">
  92. <js-module src="src/blackberry10/platform.js" name="platform">
  93. <merges target="" />
  94. </js-module>
  95. </platform>
  96. </plugin>