-
Notifications
You must be signed in to change notification settings - Fork 71
/
plugin.xml
72 lines (61 loc) · 2.91 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
60
61
62
63
64
65
66
67
68
69
70
71
72
<?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-facebookads"
version="4.23.2">
<name>FacebookAds</name>
<description>Cordova/PhoneGap Plugin for Facebook AudienceNetwork Ads</description>
<author>Liming Xie</author>
<license>MIT</license>
<keywords>rjfun,ad,admob,iad,mopub,facebook,audience</keywords>
<repo>https://github.com/floatinghotpot/cordova-plugin-facebookads.git</repo>
<issue>https://github.com/floatinghotpot/cordova-plugin-facebookads/issues</issue>
<engines>
<engine name="cordova" version=">=6.4.0"/>
<engine name="cordova-android" version=">=6.0.0"/>
<engine name="cordova-ios" version=">=4.3.0"/>
</engines>
<js-module src="www/FacebookAds.js" name="FacebookAds">
<clobbers target="window.FacebookAds" />
</js-module>
<dependency id="cordova-plugin-extension"/>
<dependency id="cordova-facebook-audnet-sdk"/>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="FacebookAds">
<param name="android-package" value="com.rjfun.cordova.facebookads.FacebookAdPlugin"/>
</feature>
</config-file>
<source-file src="src/android/FacebookAdPlugin.java" target-dir="src/com/rjfun/cordova/facebookads" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.facebook.ads.InterstitialAdActivity"
android:configChanges="keyboardHidden|orientation|screenSize" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<framework src="com.android.support:support-v4:+" />
<framework src="src/android/android-support.gradle" custom="true" type="gradleReference" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="FacebookAds">
<param name="ios-package" value="FacebookAdPlugin" />
</feature>
</config-file>
<header-file src="src/ios/FacebookAdPlugin.h" />
<source-file src="src/ios/FacebookAdPlugin.m" />
<header-file src="src/ios/UITapGestureRecognizer+Spec.h" />
<source-file src="src/ios/UITapGestureRecognizer+Spec.m" />
<framework src="AdSupport.framework"/>
<framework src="StoreKit.framework"/>
<framework src="CoreMotion.framework"/>
<framework src="CoreImage.framework"/>
<framework src="QuartzCore.framework"/>
<framework src="OpenGLES.framework"/>
<framework src="Security.framework"/>
</platform>
</plugin>