forked from engineerapart/cordova-plugin-braintree
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
114 lines (94 loc) · 5.27 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?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.6.6">
<name>Braintree Plugin</name>
<description>
A Cordova plugin for the Braintree mobile payment processing SDK.
</description>
<license>MIT</license>
<!-- 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="com.android.support:support-v13:27.+" />
<framework src="com.android.support:appcompat-v7:27.+" />
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
<config-file target="AndroidManifest.xml" parent="application">
<activity android:name="com.braintreepayments.api.BraintreePaymentActivity" />
<activity android:name="com.braintreepayments.api.BraintreeBrowserSwitchActivity" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="${applicationId}.braintree" />
</intent-filter>
</activity>
</config-file>
</platform>
<!-- iOS Configuration -->
<platform name="ios">
<!-- Hook to embed iOS frameworks after ios platform added -->
<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" />
<config-file target="config.xml" parent="/*">
<feature name="BraintreePlugin">
<param name="ios-package" value="BraintreePlugin" />
</feature>
</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>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>${PRODUCT_BUNDLE_IDENTIFIER}.payments</string>
</array>
</dict>
</array>
</config-file>
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>Allows you to scan credit card using your camera.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>Allows you to scan credit card using your camera.</string>
</config-file>
<header-file src="src/ios/BraintreePlugin.h" />
<source-file src="src/ios/BraintreePlugin.m" />
<framework src="lib/ios/Braintree3DSecure.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeAmericanExpress.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeApplePay.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeCard.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeCore.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeDataCollector.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeDropIn.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreePaymentFlow.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreePayPal.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeUI.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeUIKit.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeUnionPay.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/BraintreeVenmo.framework" custom="true" embed="true" weak="false" />
<framework src="lib/ios/CardIO.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/PayPalUtils.framework" custom="true" embed="true" weak="false" />
</platform>
</plugin>