-
Notifications
You must be signed in to change notification settings - Fork 22
/
plugin.xml
executable file
·44 lines (37 loc) · 1.83 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-ionic-migrate-storage" version="0.1.0">
<name>cordova-plugin-ionic-migrate-storage</name>
<description>
Cordova plugin that migrates WebSQL, localStorage and IndexedDB (iOS only) data when you start using the `cordova-plugin-ionic-webview` plugin.
This works for both Android and iOS!
</description>
<keywords>ecosystem:cordova,cordova-plugin,cordova,cordova-ios,cordova-android,ios,android,uiwebview,wkwebview,websql,localstorage,indexeddb</keywords>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="MigrateStorage">
<param name="ios-package" value="MigrateStorage" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/MigrateStorage.h" />
<source-file src="src/ios/MigrateStorage.m" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="FMDB" spec="~> 2.7.4" />
</pods>
</podspec>
</platform>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="MigrateStorage">
<param name="android-package" value="com.migrate.android.MigrateStorage" />
<param name="onload" value="true" />
</feature>
</config-file>
<framework src="src/android/migrate-storage.gradle" custom="true" type="gradleReference"/>
<source-file src="src/android/MigrateStorage.java" target-dir="src/com/migrate/android" />
</platform>
</plugin>