cordova-plugin-netcontroll-integration 1.0.67 → 1.0.68
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 +1 -1
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/src/android/Stone/StoneSumni.java +12 -11
package/README.md
CHANGED
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="cordova-plugin-netcontroll-integration" version="1.0.
|
|
2
|
+
<plugin id="cordova-plugin-netcontroll-integration" version="1.0.68"
|
|
3
3
|
xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
4
4
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
5
5
|
|
|
@@ -217,17 +217,18 @@ public class StoneSumni {
|
|
|
217
217
|
executeGlobalJavascript(statusChangeCallBack + "('" + transactionStatus + "')");
|
|
218
218
|
}
|
|
219
219
|
});
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
220
|
+
callbackContext.success(parseObjToJsonSrtring(transactionObject));
|
|
221
|
+
// if (transactionObject.getTransactionStatus() == TransactionStatusEnum.APPROVED) {
|
|
222
|
+
// callbackContext.success(parseObjToJsonSrtring(transactionObject));
|
|
223
|
+
// } else {
|
|
224
|
+
// String msg = "Erro na transação";
|
|
225
|
+
// if (transactionProvider.getMessageFromAuthorize() != null) {
|
|
226
|
+
// msg += ":" + transactionProvider.getMessageFromAuthorize();
|
|
227
|
+
// } else {
|
|
228
|
+
// msg += "!";
|
|
229
|
+
// }
|
|
230
|
+
// callbackContext.error(msg);
|
|
231
|
+
// }
|
|
231
232
|
}
|
|
232
233
|
|
|
233
234
|
@Override
|