-
Notifications
You must be signed in to change notification settings - Fork 4
/
plugin.xml
30 lines (30 loc) · 1.11 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-apple-pay-google-pay-with-environment"
version="1.0.0"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>ApplePayGooglePay</name>
<js-module name="ApplePayGooglePay"
src="www/ApplePayGooglePay.js">
<clobbers target="cordova.plugins.ApplePayGooglePay" />
</js-module>
<platform name="ios">
<config-file parent="/*"
target="config.xml">
<feature name="ApplePayGooglePay">
<param name="ios-package"
value="ApplePayGooglePay" />
</feature>
</config-file>
<source-file src="src/ios/ApplePayGooglePay.swift"/>
</platform>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ApplePayGooglePay">
<param name="android-package" value="com.plugin.googlepay.ApplePayGooglePay"/>
</feature>
</config-file>
<source-file src="src/android/ApplePayGooglePay.java" target-dir="src/com/plugin/googlepay" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>