cordova-plugin-jsonstore
Version:
Cordova Plugin for JSONStore
125 lines (104 loc) • 7.77 kB
text/xml
<plugin id="cordova-jsonstore-plugin" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>JSONStore</name>
<js-module name="JQuery" src="www/libs/jquery.js">
<clobbers target="jQuery" />
<clobbers target="$" />
</js-module>
<js-module name="_" src="www/libs/jsonstore_lodash.js">
<clobbers target="_" />
</js-module>
<js-module name="sjcl" src="www/libs/sjcl.js">
<clobbers target="sjcl" />
</js-module>
<js-module name="JSONStore" src="www/jsonstore.js">
<clobbers target="JSONStore"/>
</js-module>
<!-- android -->
<platform name="android">
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="StoragePlugin">
<param name="android-package" value="com.jsonstore.dispatchers.StoragePlugin"/>
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml"/>
<source-file src="src/android/dispatchers/AdvancedFindActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/AllDirtyActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/BaseActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/BaseDatabaseActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/ChangeActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/ChangePasswordActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers"/>
<source-file src="src/android/dispatchers/ClearActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/CloseDatabaseActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/CommitTransactionActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/CountActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/DestroyDBFileAndKeychainActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/DispatchingPlugin.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/DropTableActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/FileInfoActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/FindActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/FindByIdActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/IsDirtyActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers"/>
<source-file src="src/android/dispatchers/IsKeyGenRequiredActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/LocalCountActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/SetEncryptionActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/MarkCleanActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/ProvisionActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/RemoveActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/ReplaceActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/RollbackTransactionActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers"/>
<source-file src="src/android/dispatchers/StartTransactionActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/StoragePlugin.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/StoreActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/dispatchers/StoreDPKActionDispatcher.java" target-dir="src/com/jsonstore/dispatchers" />
<source-file src="src/android/types/JacksonSerializedResult.java" target-dir="src/com/jsonstore/types" />
<source-file src="src/android/types/JSONStoreParameterType.java" target-dir="src/com/jsonstore/types" />
<source-file src="src/android/types/JSONStoreParamRequirements.java" target-dir="src/com/jsonstore/types" />
<source-file src="src/android/types/JSONStoreContext.java" target-dir="src/com/jsonstore/types" />
<source-file src="src/android/types/ActionDispatcher.java" target-dir="src/com/jsonstore/types"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="StoragePlugin">
<param name="ios-package" value="StoragePlugin"/>
</feature>
</config-file>
<header-file src="src/ios/StoragePlugin.h" />
<source-file src="src/ios/StoragePlugin.m"/>
<framework src="src/ios/Frameworks/JSONStore.framework" custom="true"/>
</platform>
<!-- windows -->
<platform name="windows">
<config-file parent="/*" target="config.xml">
<feature name="StoragePlugin">
<param name="wp-package" value="StoragePlugin"/>
</feature>
</config-file>
<source-file src="src/windows/lib/StoragePlugin.cs"/>
<source-file src="src/windows/lib/StorageResult.cs"/>
<source-file src="src/windows/lib/JSONStore.cs"/>
<source-file src="src/windows/lib/JSONStoreAddOptions.cs"/>
<source-file src="src/windows/lib/JSONStoreCollection.cs"/>
<source-file src="src/windows/lib/JSONStoreConstants.cs"/>
<source-file src="src/windows/lib/JSONStoreDBMgr.cs"/>
<source-file src="src/windows/lib/JSONStoreException.cs"/>
<source-file src="src/windows/lib/JSONStoreIndexer.cs"/>
<source-file src="src/windows/lib/JSONStoreProvisionOptions.cs"/>
<source-file src="src/windows/lib/JSONStoreQuery.cs"/>
<source-file src="src/windows/lib/JSONStoreQueryOptions.cs"/>
<source-file src="src/windows/lib/JSONStoreRemoveOptions.cs"/>
<source-file src="src/windows/lib/JSONStoreReplaceOptions.cs"/>
<source-file src="src/windows/lib/JSONStoreSchema.cs"/>
<source-file src="src/windows/lib/JSONStoreSecurityManager.cs"/>
<source-file src="src/windows/lib/JSONStoreSQLLite.cs"/>
<source-file src="src/windows/lib/SQLite.cs"/>
<source-file src="src/windows/lib/SQLiteAsync.cs"/>
<framework src="src/windows/shared/Newtonsoft.Json.dll" target="all" custom="true" />
</platform>
</plugin>