-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
57 lines (50 loc) · 2.33 KB
/
plugin.xml
File metadata and controls
57 lines (50 loc) · 2.33 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="org.apache.cordova.core.ApsalarPlugin"
version="0.1.0">
<name>cordova-plugin-apsalar</name>
<description>cordova plugin apsalar</description>
<js-module src="www/ApsalarPlugin.js" name="ApsalarPlugin">
<clobbers target="window.apsalarPlugin" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ApsalarPlugin">
<param name="android-package" value="org.apache.cordova.core.ApsalarPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:exported="true" android:name="com.apsalar.sdk.ApsalarReceiver">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER"></action>
</intent-filter>
</receiver>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<source-file src="src/android/apsalar/apsalar.jar" target-dir="libs" framework="true" />
<source-file src="src/android/ApsalarPlugin.java" target-dir="src/org/apache/cordova/core" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ApsalarPlugin">
<param name="ios-package" value="CDVApsalarPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/CDVApsalarPlugin.h" />
<source-file src="src/ios/CDVApsalarPlugin.m" />
<header-file src="src/ios/Apsalar.h" />
<source-file src="src/ios/libApsalar.a" framework="true" />
<framework src="libsqlite3.0.dylib" />
<framework src="SystemConfiguration.framework" />
<framework src="Security.framework" />
<framework src="libz.1.1.3.dylib" />
<framework src="AdSupport.framework" />
<framework src="iAd.framework" />
</platform>
</plugin>