-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
57 lines (57 loc) · 2.79 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
<?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="com-stionic-facebookads" version="1.0.3">
<name>Stionic Facebook Ads</name>
<description>Cordova/PhoneGap Plugin for Facebook AudienceNetwork Ads</description>
<author>Stionic</author>
<license>MIT</license>
<keywords>facebook,audience,ads</keywords>
<repo>https://github.com/stionic/com-stionic-facebookads.git</repo>
<issue>https://github.com/stionic/com-stionic-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="com-stionic-facebookads-sdk" version="^1.0.0" />
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="FacebookAds">
<param name="android-package" value="com.stionic.facebookads.FacebookAdPlugin"/>
</feature>
</config-file>
<source-file src="src/android/FacebookAdPlugin.java" target-dir="src/com/stionic/facebookads" />
<source-file src="src/android/CordovaEventBuilder.java" target-dir="src/com/stionic/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>
</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>