-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
54 lines (47 loc) · 2.16 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
45
46
47
48
49
50
51
52
53
54
<?xml version='1.0' encoding='utf-8'?>
<plugin id="com-movableink-cordova-sdk" version="1.4.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>movableink-cordova-sdk</name>
<js-module name="MovableInk" src="www/movableink-cordova-sdk.js">
<clobbers target="MovableInk" />
</js-module>
<engines>
<engine name="cordova" version=">=12.0.0"/>
<engine name="cordova-android" version=">=12.0.0"/>
</engines>
<platform name="ios">
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="MovableInk" spec="1.7.1" />
</pods>
</podspec>
<config-file target="config.xml" parent="/*">
<feature name="MovableInkClient">
<param name="ios-package" value="MovableInkClient" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/ios/MovableInkClient.swift" />
<header-file src="src/ios/MISDK+AppDelegate.h"/>
<source-file src="src/ios/MISDK+AppDelegate.m"/>
</platform>
<platform name="android">
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<preference name="GradlePluginKotlinEnabled" value="true" />
<feature name="MovableInkClient">
<param name="android-package" value="com.movableink.app.MovablePlugin"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<source-file src="src/android/com/movableink/app/MovablePlugin.kt"
target-dir="java/com/movableink/app/"/>
<source-file src="src/android/com/movableink/app/Keys.kt"
target-dir="java/com/movableink/app/"/>
<framework src="src/android/app.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>