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

plugin.xml 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.faultyplugin"
  18. version="0.6.0">
  19. <name>Faulty Plugin</name>
  20. <access origin="build.phonegap.com" />
  21. <access origin="s3.amazonaws.com" />
  22. <!-- file doesn't exist -->
  23. <config-file target="config.xml" parent="/widget">
  24. <asset src="www/main.js" target="faultyplugin/main.js" />
  25. <asset src="www/index.js" target="faultyplugin/index.js" />
  26. </config-file>
  27. <!-- android -->
  28. <platform name="android">
  29. <config-file target="AndroidManifest.xml" parent="/manifest/application">
  30. <activity android:name="org.test.plugins.faultyplugin.org.test.plugins.faultyplugin"
  31. android:label="@string/app_name">
  32. <intent-filter>
  33. </intent-filter>
  34. </activity>
  35. </config-file>
  36. <!-- CDV < 2.0 -->
  37. <config-file target="res/xml/plugins.xml" parent="/plugins">
  38. <plugin name="org.test.plugins.faultyplugin"
  39. value="org.test.plugins.faultyplugin.org.test.plugins.faultyplugin"/>
  40. </config-file>
  41. <!-- CDV 2.0+ (for now) -->
  42. <config-file target="res/xml/config.xml" parent="/cordova/plugins">
  43. <plugin name="org.test.plugins.faultyplugin"
  44. value="org.test.plugins.faultyplugin.org.test.plugins.faultyplugin"/>
  45. </config-file>
  46. <!-- this file doesn't exist -->
  47. <source-file src="src/android/NotHere.java"
  48. target-dir="src/com/phonegap/plugins/faultyplugin" />
  49. </platform>
  50. </plugin>