Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

plugin.xml 3.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright 2013 Anis Kadri
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing,
  9. software distributed under the License is distributed on an
  10. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  11. KIND, either express or implied. See the License for the
  12. specific language governing permissions and limitations
  13. under the License.
  14. -->
  15. <plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
  16. xmlns:android="http://schemas.android.com/apk/res/android"
  17. id="org.test.plugins.dummyplugin"
  18. version="0.6.0">
  19. <!-- new requirement: NO SPACES -->
  20. <name>dummyplugin</name>
  21. <!-- These are going to be required by plugman-registry -->
  22. <description>my description</description>
  23. <author>Jackson Badman</author>
  24. <keywords>dummy,plugin</keywords>
  25. <license>BSD</license>
  26. <!-- end plugman-registry requirements -->
  27. <asset src="www/dummyplugin.js" target="dummyplugin.js" />
  28. <asset src="www/dummyplugin" target="dummyplugin" />
  29. <config-file target="config.xml" parent="/*">
  30. <access origin="build.phonegap.com" />
  31. <access origin="s3.amazonaws.com" />
  32. </config-file>
  33. <!-- android -->
  34. <platform name="android">
  35. <config-file target="AndroidManifest.xml" parent="/manifest/application">
  36. <activity android:name="DummyPlugin.org.test.plugins.dummyplugin"
  37. android:label="@string/app_name">
  38. <intent-filter>
  39. </intent-filter>
  40. </activity>
  41. </config-file>
  42. <framework src="plugin-lib" custom="true" />
  43. <framework src="plugin-lib2" custom="true" parent="plugin-lib" />
  44. <framework src="extras/android/support/v7/appcompat" />
  45. <framework src="extra.gradle" type="gradleReference" />
  46. <resource-file src="android-resource.xml" target="res/xml/dummy.xml" />
  47. <!-- CDV < 2.0 -->
  48. <config-file target="res/xml/plugins.xml" parent="/plugins">
  49. <plugin name="org.test.plugins.dummyplugin"
  50. value="DummyPlugin.org.test.plugins.dummyplugin"/>
  51. </config-file>
  52. <!-- CDV 2.0+ (for now) -->
  53. <config-file target="res/xml/config.xml" parent="/cordova/plugins">
  54. <plugin name="org.test.plugins.dummyplugin"
  55. value="DummyPlugin.org.test.plugins.dummyplugin"/>
  56. </config-file>
  57. <source-file src="src/android/DummyPlugin.java"
  58. target-dir="src/com/phonegap/plugins/dummyplugin" />
  59. <source-file src="src/android/DummyPlugin2.java"
  60. target-dir="app/src/main/src/com/phonegap/plugins/dummyplugin" />
  61. <source-file src="src/android/TestLib.jar"
  62. target-dir="app/libs" />
  63. <source-file src="src/android/TestAar.aar"
  64. target-dir="app/libs" />
  65. <source-file src="src/android/mysettings.xml" target-dir="res/xml" />
  66. <source-file src="src/android/other.extension" target-dir="res/values" />
  67. <source-file src="src/android/myapi.aidl" target-dir="src/com/mytest" />
  68. <source-file src="src/android/testaar2.aar" target-dir="libs" />
  69. <source-file src="src/android/testjar2.jar" target-dir="libs" />
  70. <source-file src="src/android/jniLibs/x86/libnative.so" target-dir="libs/x86" />
  71. <source-file src="src/android/DummyPlugin2.java"
  72. target-dir="src/com/appco" />
  73. <source-file src="src/android/DummyPlugin2.java"
  74. target-dir="appco/src" />
  75. <lib-file src="src/android/TestLib.jar" />
  76. </platform>
  77. </plugin>