forked from lucaboy/MC-Cordova-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
73 lines (58 loc) · 2.77 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
73
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-marketingcloudsdk" version="7.3.0"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>MCCordovaPlugin</name>
<description>A Cordova Plugin to access the native Salesforce Marketing Cloud MobilePush SDKs</description>
<repo>https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin</repo>
<license>BSD-3-Clause</license>
<author>Salesforce Marketing Cloud</author>
<!-- cordova -->
<engines>
<engine name="cordova" version=">=9.0.0"/>
<engine name="cordova-android" version=">=8.0.0" />
<engine name="cordova-ios" version=">=5.0.0" />
</engines>
<!-- js -->
<js-module name="MCCordovaPlugin" src="www/MCCordovaPlugin.js">
<clobbers target="MCCordovaPlugin" />
</js-module>
<!-- android -->
<platform name="android">
<framework src="src/android/build/marketingcloudsdk.gradle" custom="true" type="gradleReference" />
<config-file parent="/*" target="res/xml/config.xml">
<feature name="MCCordovaPlugin">
<param name="android-package" value="com.salesforce.marketingcloud.cordova.MCCordovaPlugin" />
</feature>
</config-file>
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<provider android:name="com.salesforce.marketingcloud.cordova.MCInitProvider" android:authorities="$PACKAGE_NAME.com.salesforce.marketingcloud.cordova.MCInitProvider" android:enabled="true" android:exported="false" />
</config-file>
<source-file src="src/android/MCCordovaPlugin.java" target-dir="src/com/salesforce/marketingcloud/cordova" />
<source-file src="src/android/MCSdkConfig.java" target-dir="src/com/salesforce/marketingcloud/cordova" />
<source-file src="src/android/MCInitProvider.java" target-dir="src/com/salesforce/marketingcloud/cordova" />
<source-file src="src/android/MCSdkListener.java" target-dir="src/com/salesforce/marketingcloud/cordova" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="MCCordovaPlugin">
<param name="ios-package" value="MCCordovaPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/AppDelegate+MCCordovaPlugin.h" />
<source-file src="src/ios/AppDelegate+MCCordovaPlugin.m" />
<header-file src="src/ios/MCCordovaPlugin.h" />
<source-file src="src/ios/MCCordovaPlugin.m" />
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="MarketingCloudSDK" spec="~> 7.3" />
</pods>
</podspec>
<framework src="CoreLocation.framework" />
</platform>
</plugin>