Skip to content

Commit 8130440

Browse files
author
hisyam
committed
Release 3.27.1
1 parent 4a2923f commit 8130440

101 files changed

Lines changed: 3456 additions & 1411 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/.*\.DS_Store$
22
.DS_Store
3-
npm-debug.log
3+
npm-debug.log
4+
MOLPayXDKExample/DetailsExample/platforms
5+
MOLPayXDKExample/SimpleExample/platforms

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"git.ignoreLimitWarning": true
3+
}

MOLPayXDKExample/DetailsExample/app/App_Resources/Android/app.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
android {
99
defaultConfig {
1010
generatedDensities = []
11-
applicationId = "__PACKAGE__"
11+
applicationId = "org.nativescript.HelloWorld"
1212
}
1313
aaptOptions {
1414
additionalParameters "--no-version-vectors"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
var application = require("application");
1+
var application = require("tns-core-modules/application");
22
application.start({ moduleName: "main" });

MOLPayXDKExample/DetailsExample/app/main-page.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var createViewModel = require("./main-view-model").createViewModel;
2-
var frameModule = require("ui/frame");
3-
var application = require('application');
2+
var frameModule = require("tns-core-modules/ui/frame");
3+
var application = require('tns-core-modules/application');
44

55

66
var molpay = require("molpay-mobile-xdk-nativescript");

MOLPayXDKExample/DetailsExample/app/main-view-model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var Observable = require("data/observable").Observable;
1+
var Observable = require("tns-core-modules/data/observable").Observable;
22

33
function getMessage(counter) {
44
if (counter <= 0) {

MOLPayXDKExample/DetailsExample/app/main.js

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
1-
var frameModule = require("ui/frame");
2-
var Observable = require("data/observable").Observable;
1+
var frameModule = require("tns-core-modules/ui/frame");
2+
var Observable = require("tns-core-modules/data/observable").Observable;
33
var molpayPaymentDetails = {
4-
mp_amount: "1.10",
4+
mp_amount: "",
55
mp_username: "",
66
mp_password: "",
77
mp_merchant_ID: "",
88
mp_app_name: "",
99
mp_verification_key: "",
10-
mp_order_ID: "NS0001",
10+
mp_order_ID: "",
1111
mp_currency: "MYR",
1212
mp_country: "MY",
13-
mp_channel: "",
14-
mp_bill_description: "NativeScript payment test",
15-
mp_bill_name: "abc",
16-
mp_bill_email: "email@email.com",
17-
mp_bill_mobile: "1234567890",
13+
mp_channel: "multi",
14+
mp_bill_description: "description",
15+
mp_bill_name: "name",
16+
mp_bill_email: "example@email.com",
17+
mp_bill_mobile: "+60123456789",
1818
mp_channel_editing: false,
1919
mp_editing_enabled: false,
2020
mp_transaction_id: "",
2121
mp_request_type: "",
2222
mp_bin_lock: "",
2323
mp_express_mode: false,
24-
mp_sandbox_mode: false
24+
mp_sandbox_mode: false,
25+
mp_dev_mode: false
2526
};
2627
var object = {
2728
result: "",

MOLPayXDKExample/DetailsExample/app/molpay-mobile-xdk-www/scripts/nativescript-webview-interface.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,4 @@ var NSWebViewinterface = (function () {
161161
};
162162
return NSWebViewinterface;
163163
})();
164-
window.nsWebViewInterface = new NSWebViewinterface();
164+
window.nsWebViewInterface = new NSWebViewinterface();

MOLPayXDKExample/DetailsExample/node_modules/copy-dir/LICENSE

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MOLPayXDKExample/DetailsExample/node_modules/copy-dir/README.md

Lines changed: 99 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)