cordova-khipu 2.8.6 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -96,6 +96,7 @@ The second parameter is a callback funcion that will be invoked if the authoriza
|
|
|
96
96
|
showMerchantLogo: true, // If true, the merchant's logo is displayed in the top bar.
|
|
97
97
|
showPaymentDetails: true, // If true, the payment code and a link to view the details are displayed.
|
|
98
98
|
skipExitPage: false, // If true, skips the exit page at the end of the payment process, whether successful or failed.
|
|
99
|
+
skipExitSuccessPage: false, // If true, skips the exit page at the end of the payment process when its successful.
|
|
99
100
|
colors: {
|
|
100
101
|
lightTopBarContainer: '<colorHex>', // Optional background color for the top bar in light mode.
|
|
101
102
|
lightOnTopBarContainer: '<colorHex>', // Optional color of the elements on the top bar in light mode.
|
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2
|
-
<plugin id="cordova-khipu" version="2.
|
|
2
|
+
<plugin id="cordova-khipu" version="2.9.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
<name>Cordova Khipu</name>
|
|
4
4
|
<js-module name="Khipu" src="www/cordova-khipu.js">
|
|
5
5
|
<clobbers target="window.Khipu"/>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<source url="https://github.com/CocoaPods/Specs.git"/>
|
|
26
26
|
</config>
|
|
27
27
|
<pods use-frameworks="true">
|
|
28
|
-
<pod name="KhipuClientIOS" version="2.
|
|
28
|
+
<pod name="KhipuClientIOS" version="2.16.0" swift-version="5.1"/>
|
|
29
29
|
</pods>
|
|
30
30
|
</podspec>
|
|
31
31
|
<source-file src="src/ios/KhipuPlugin.swift"/>
|
|
@@ -58,6 +58,9 @@ public class KhipuPlugin extends CordovaPlugin {
|
|
|
58
58
|
if (options.has("skipExitPage")) {
|
|
59
59
|
optionsBuilder.skipExitPage(Boolean.TRUE.equals(options.optBoolean("skipExitPage")));
|
|
60
60
|
}
|
|
61
|
+
if (options.has("skipExitSuccessPage")) {
|
|
62
|
+
optionsBuilder.skipExitSuccessPage(Boolean.TRUE.equals(options.optBoolean("skipExitSuccessPage")));
|
|
63
|
+
}
|
|
61
64
|
if (options.has("showFooter")) {
|
|
62
65
|
optionsBuilder.showFooter(Boolean.TRUE.equals(options.optBoolean("showFooter")));
|
|
63
66
|
}
|
package/src/android/khipu.gradle
CHANGED
|
@@ -47,6 +47,10 @@ public class KhipuPlugin: CDVPlugin {
|
|
|
47
47
|
optionsBuilder = optionsBuilder.skipExitPage(options!["skipExitPage"]! as! Bool)
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
if (options!["skipExitSuccessPage"] != nil) {
|
|
51
|
+
optionsBuilder = optionsBuilder.skipExitSuccessPage(options!["skipExitSuccessPage"]! as! Bool)
|
|
52
|
+
}
|
|
53
|
+
|
|
50
54
|
if (options!["showFooter"] != nil) {
|
|
51
55
|
optionsBuilder = optionsBuilder.showFooter(options!["showFooter"]! as! Bool)
|
|
52
56
|
}
|