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

plugin.xml 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. id="cordova-sqlite-storage"
  5. version="5.1.0">
  6. <name>Cordova sqlite storage plugin - cordova-sqlite-storage plugin version</name>
  7. <license>MIT</license>
  8. <keywords>sqlite</keywords>
  9. <description>Native interface to SQLite for PhoneGap/Cordova. Allows you to use more storage and provides more flexibility than the standard Web SQL database (window.openDatabase).</description>
  10. <author>Litehelpers/Various</author>
  11. <!-- THANKS to AllJoyn-Cordova / cordova-plugin-alljoyn: -->
  12. <hook type="before_plugin_install" src="scripts/beforePluginInstall.js" />
  13. <js-module src="www/SQLitePlugin.js" name="SQLitePlugin">
  14. <clobbers target="SQLitePlugin" />
  15. </js-module>
  16. <platform name="browser">
  17. <!-- sql-asm js item must come before SQLiteProxy for SQLiteProxy.js to work on browser -->
  18. <js-module src="node_modules/cordova-sqlite-storage-dependencies/sql-asm-memory-growth.js" name="sql">
  19. <runs />
  20. </js-module>
  21. <js-module src="src/browser/SQLiteProxy.js" name="SQLiteProxy">
  22. <runs />
  23. </js-module>
  24. </platform>
  25. <!-- android -->
  26. <platform name="android">
  27. <!-- Cordova >= 3.0.0 -->
  28. <config-file target="res/xml/config.xml" parent="/*">
  29. <feature name="SQLitePlugin">
  30. <param name="android-package" value="io.sqlc.SQLitePlugin"/>
  31. </feature>
  32. </config-file>
  33. <source-file src="src/android/io/sqlc/SQLitePlugin.java" target-dir="src/io/sqlc"/>
  34. <source-file src="src/android/io/sqlc/SQLiteAndroidDatabase.java" target-dir="src/io/sqlc"/>
  35. <source-file src="src/android/io/sqlc/SQLiteConnectorDatabase.java" target-dir="src/io/sqlc"/>
  36. <!-- Android-sqlite-connector [jar]: -->
  37. <lib-file src="node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" />
  38. <!-- Android-sqlite-connector native driver [native libs in jar]: -->
  39. <lib-file src="node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-native-driver.jar" />
  40. </platform>
  41. <!-- iOS -->
  42. <platform name="ios">
  43. <config-file target="config.xml" parent="/*">
  44. <feature name="SQLitePlugin">
  45. <param name="ios-package" value="SQLitePlugin" />
  46. </feature>
  47. </config-file>
  48. <!-- Note: the iOS src is based off src/ios implicitly -->
  49. <header-file src="src/ios/SQLitePlugin.h" />
  50. <source-file src="src/ios/SQLitePlugin.m" />
  51. <source-file src="src/ios/CustomPSPDFThreadSafeMutableDictionary.m"
  52. compiler-flags="-w" />
  53. <header-file src="node_modules/cordova-sqlite-storage-dependencies/sqlite3.h" />
  54. <source-file src="node_modules/cordova-sqlite-storage-dependencies/sqlite3.c"
  55. compiler-flags="-w -DSQLITE_THREADSAFE=1 -DSQLITE_DEFAULT_SYNCHRONOUS=3 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_TEMP_STORE=2 -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_DEFAULT_PAGE_SIZE=4096" />
  56. </platform>
  57. <!-- macOS (osx) -->
  58. <platform name="osx">
  59. <config-file target="config.xml" parent="/*">
  60. <feature name="SQLitePlugin">
  61. <param name="ios-package" value="SQLitePlugin" />
  62. </feature>
  63. </config-file>
  64. <!-- Note: the macOS (osx) src is based off src/ios implicitly -->
  65. <header-file src="src/ios/SQLitePlugin.h" />
  66. <source-file src="src/ios/SQLitePlugin.m" />
  67. <source-file src="src/ios/CustomPSPDFThreadSafeMutableDictionary.m"
  68. compiler-flags="-w" />
  69. <header-file src="node_modules/cordova-sqlite-storage-dependencies/sqlite3.h" />
  70. <source-file src="node_modules/cordova-sqlite-storage-dependencies/sqlite3.c"
  71. compiler-flags="-w -DSQLITE_THREADSAFE=1 -DSQLITE_DEFAULT_SYNCHRONOUS=3 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_TEMP_STORE=2 -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_DEFAULT_PAGE_SIZE=4096" />
  72. </platform>
  73. <!-- windows -->
  74. <platform name="windows">
  75. <js-module src="src/windows/sqlite-proxy.js" name="SQLiteProxy">
  76. <runs />
  77. </js-module>
  78. <!-- SQLite3 JS module from SQLite3-WinRT/SQLite3JS: -->
  79. <js-module src="src/windows/SQLite3-WinRT-sync/SQLite3JS/js/SQLite3.js" name="SQLite3">
  80. <runs />
  81. </js-module>
  82. <!-- Thanks to AllJoyn-Cordova / cordova-plugin-alljoyn for guidance: -->
  83. <framework src="src/windows/SQLite3-WinRT-sync/SQLite3/SQLite3.UWP.vcxproj" custom="true" type="projectReference" versions="10.*" />
  84. </platform>
  85. </plugin>
  86. <!-- vim: set expandtab : -->