-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
84 lines (68 loc) · 3.83 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2014 PayPal. All rights reserved. -->
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.paypal.cordova.mobilesdk"
version="2.0.2">
<name>PayPalMobile</name>
<description>This plugin allows to add to add PayPal Payments to your application using PayPal Mobile SDK Native library</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/cdv-plugin-paypal-mobile-sdk.js" name="PayPalMobile">
<clobbers target="PayPalMobile" />
</js-module>
<asset src="www/paypal-mobile-js-helper.js" target="js/paypal-mobile-js-helper.js" />
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="PayPalMobile">
<param name="ios-package" value="PayPalMobileCordovaPlugin" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/PayPalMobileCordovaPlugin.h" />
<source-file src="src/ios/PayPalMobileCordovaPlugin.m" />
<framework src="AVFoundation.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="MessageUI.framework" />
<framework src="libc++.dylib" />
<framework src="CoreLocation.framework" weak="true" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PayPalMobile">
<param name="android-package" value="com.paypal.cordova.sdk.PayPalMobileCordovaPlugin" />
</feature>
</config-file>
<source-file src="src/android/PayPalMobileCordovaPlugin.java" target-dir="src/com/paypal/cordova/sdk" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<!-- for card.io card scanning -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<!-- for most things, including card.io & paypal -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.paypal.android.sdk.payments.PayPalService"
android:exported="false" />
<activity android:name="com.paypal.android.sdk.payments.PaymentActivity" />
<activity android:name="com.paypal.android.sdk.payments.LoginActivity" />
<activity android:name="com.paypal.android.sdk.payments.PaymentMethodActivity" />
<activity android:name="com.paypal.android.sdk.payments.PaymentConfirmActivity" />
<activity android:name="com.paypal.android.sdk.payments.PayPalFuturePaymentActivity" />
<activity android:name="com.paypal.android.sdk.payments.FuturePaymentConsentActivity" />
<activity android:name="com.paypal.android.sdk.payments.FuturePaymentInfoActivity" />
<activity
android:name="io.card.payment.CardIOActivity"
android:configChanges="keyboardHidden|orientation" />
<activity android:name="io.card.payment.DataEntryActivity" />
</config-file>
</platform>
</plugin>