plugin.xml 1.1 KB

12345678910111213141516171819202122232425
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <plugin id="cn-amtxts-linker-cordova" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
  3. <name>cordovaLinker</name>
  4. <AUTHOR>LINKER</AUTHOR>
  5. <js-module name="CordovaLinker" src="www/cordovaLinker.js">
  6. <clobbers target="cordovaLinker" />
  7. </js-module>
  8. <platform name="android">
  9. <config-file parent="/*" target="res/xml/config.xml">
  10. <feature name="CordovaLinker">
  11. <param name="android-package" value="cn.amtxts.linker.cordova.CordovaLinker" />
  12. </feature>
  13. </config-file>
  14. <config-file parent="/*" target="AndroidManifest.xml" />
  15. <source-file src="src/android/CordovaLinker.java" target-dir="src/cn/amtxts/linker/cordova" />
  16. </platform>
  17. <platform name="ios">
  18. <config-file parent="/*" target="config.xml">
  19. <feature name="CordovaLinker">
  20. <param name="ios-package" value="CordovaLinker" />
  21. </feature>
  22. </config-file>
  23. <source-file src="src/ios/cordovaLinker.m" />
  24. </platform>
  25. </plugin>