forked from Justin-Credible/cordova-plugin-braintree
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
95 lines (72 loc) · 3.88 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?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-braintree"
version="0.5.4">
<name>Braintree Plugin</name>
<description>
A Cordova plugin for the Braintree mobile payment processing SDK.
</description>
<license>MIT</license>
<preference name="BUNDLE_ID" />
<hook type="after_platform_add" src="scripts/add_embedded_ios_frameworks.js" />
<!-- Hook to embed iOS frameworks after installation -->
<hook type="after_plugin_install" src="scripts/add_embedded_ios_frameworks.js" />
<hook type="before_prepare" src="hooks/before_prepare.js" />
<!-- <hook type="before_prepare" src="hooks/before_prepare.js" /> -->
<!-- <hook type="after_plugin_install" src="hooks/after_plugin_install.js" /> -->
<!-- JavaScript Interface -->
<js-module src="www/braintree-plugin.js" name="BraintreePlugin">
<clobbers target="BraintreePlugin" />
</js-module>
<!-- Android Configuration -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="BraintreePlugin">
<param name="android-package" value="net.justincredible.BraintreePlugin" />
</feature>
</config-file>
<source-file src="src/android/BraintreePlugin.java" target-dir="src/net/justincredible" />
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
</platform>
<!-- iOS Configuration -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="BraintreePlugin">
<param name="ios-package" value="BraintreePlugin" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>$BUNDLE_ID.payments</string>
</array>
</dict>
</array>
</config-file>
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>com.paypal.ppclient.touch.v1</string>
<string>com.paypal.ppclient.touch.v2</string>
<string>com.venmo.touch.v2</string>
</array>
</config-file>
<header-file src="src/ios/BraintreePlugin.h" />
<source-file src="src/ios/BraintreePlugin.m" />
<framework src="lib/ios/PayPalUtils.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/PayPalDataCollector.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/PayPalOneTouch.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeVenmo.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeUnionPay.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeUIKit.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeDropIn.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreePayPal.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeDataCollector.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeCore.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeCard.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeApplePay.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/Braintree3DSecure.framework" custom="true" embed="true" weak="false" />
</platform>
</plugin>