-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathplugin.xml
63 lines (61 loc) · 2.59 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-braze" version="10.0.0">
<name>Braze</name>
<description>Braze Cordova SDK</description>
<license>MIT</license>
<keywords>cordova,appboy,braze</keywords>
<js-module src="www/BrazePlugin.js" name="BrazePlugin">
<clobbers target="BrazePlugin" />
<clobbers target="AppboyPlugin" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BrazePlugin">
<param name="android-package" value="com.braze.cordova.BrazePlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/BrazePlugin.kt" target-dir="java/com/braze/cordova" />
<source-file src="src/android/ContentCardUtils.kt" target-dir="java/com/braze/cordova" />
<source-file src="src/android/FeatureFlagUtils.kt" target-dir="java/com/braze/cordova" />
<source-file src="src/android/CordovaInAppMessageViewWrapper.kt" target-dir="java/com/braze/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.braze.push.BrazeFirebaseMessagingService" android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
</config-file>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BrazePlugin">
<param name="ios-package" value="BrazePlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/BrazePlugin.h" />
<source-file src="src/ios/BrazePlugin.m" />
<header-file src="src/ios/AppDelegate+Braze.h" />
<source-file src="src/ios/AppDelegate+Braze.m" />
<header-file src="src/ios/BrazeIDFADelegate.h" />
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="BrazeKit" spec="~> 10.1.0" />
<pod name="BrazeUI" spec="~> 10.1.0" />
<pod name="BrazeLocation" spec="~> 10.1.0" />
</pods>
</podspec>
</platform>
</plugin>