-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
59 lines (46 loc) · 2 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
55
56
57
58
59
<?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="tv.teads.sdk"
version="1.2.0">
<name>TeadsPlugin</name>
<description>Cordova plugin for Teads ads</description>
<license>Apache 2.0</license>
<keywords>teads</keywords>
<repo>https://github.com/teads/TeadsSDK-cordova</repo>
<issue>https://github.com/teads/TeadsSDK-cordova/issues</issue>
<engines>
<engine name="cordova-android" version=">=4.0.0" />
</engines>
<js-module src="www/TeadsPlugin.js" name="TeadsPlugin">
<clobbers target="TeadsSDK" />
</js-module>
<dependency id="cordova-plugin-whitelist" />
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="TeadsPlugin">
<param name="android-package" value="tv.teads.sdk.TeadsPlugin" />
</feature>
<access origin="*" />
<!-- Enable all requests, inline styles, and eval() -->
<meta http-equiv="Content-Security-Policy" content="default-src *;" />
</config-file>
<source-file src="src/android/TeadsPlugin.java" target-dir="src/tv/teads/sdk/" />
<framework src="src/android/teads.gradle" custom="true" type="gradleReference" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="TeadsPlugin">
<param name="ios-package" value="TeadsPlugin" />
</feature>
</config-file>
<header-file src="src/ios/TeadsPlugin.h"/>
<source-file src="src/ios/TeadsPlugin.m"/>
<framework src="src/ios/TeadsSDK.framework" custom="true"/>
<resource-file src="src/ios/TeadsSDKResources.bundle"/>
<framework src="libxml2.dylib"/>
<framework src="libsqlite3.0.dylib"/>
</platform>
</plugin>