forked from braze-inc/braze-cordova-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
65 lines (61 loc) · 2.66 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-appboy" version="2.22.0">
<name>Device</name>
<description>Appboy Cordova SDK</description>
<license>MIT</license>
<keywords>cordova,appboy</keywords>
<js-module src="www/AppboyPlugin.js" name="AppboyPlugin">
<clobbers target="AppboyPlugin" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AppboyPlugin">
<param name="android-package" value="com.appboy.cordova.AppboyPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/AppboyPlugin.java" target-dir="src/com/appboy/cordova" />
<source-file src="src/android/ContentCardUtils.java" target-dir="src/com/appboy/cordova" />
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.appboy.AppboyFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
</config-file>
</platform>
<!-- ios -->
<platform name="ios">
<framework src="Appboy-iOS-SDK" type="podspec" spec="~> 3.31.1" />
<!-- frameworks -->
<framework src="libz.dylib" />
<framework src="SystemConfiguration.framework"/>
<framework src="QuartzCore.framework"/>
<framework src="CoreImage.framework"/>
<framework src="CoreText.framework"/>
<framework src="CoreTelephony.framework" weak="true" />
<framework src="Social.framework" weak="true" />
<framework src="Accounts.framework" weak="true" />
<framework src="AdSupport.framework" weak="true" />
<framework src="ImageIO.framework" weak="true" />
<config-file target="config.xml" parent="/*">
<feature name="AppboyPlugin">
<param name="ios-package" value="AppboyPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/AppboyPlugin.h" />
<source-file src="src/ios/AppboyPlugin.m" />
<header-file src="src/ios/AppDelegate+Appboy.h" />
<source-file src="src/ios/AppDelegate+Appboy.m" />
<header-file src="src/ios/IDFADelegate.h" />
<source-file src="src/ios/IDFADelegate.m" />
</platform>
</plugin>