From 8797da0346a2ac7c94e42934cc96db676c4ca0be Mon Sep 17 00:00:00 2001 From: hisyam Date: Thu, 23 Apr 2020 10:35:49 +0800 Subject: [PATCH] make compiler happy --- .gitignore | 1 + ios/Flutter/flutter_export_environment.sh | 6 +++--- lib/main.dart | 20 ++++++-------------- 3 files changed, 10 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index af17aaf..ee7b1a8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ build/ ios/.generated/ packages .flutter-plugins +ios/Flutter diff --git a/ios/Flutter/flutter_export_environment.sh b/ios/Flutter/flutter_export_environment.sh index d8b2f92..3c17dc2 100755 --- a/ios/Flutter/flutter_export_environment.sh +++ b/ios/Flutter/flutter_export_environment.sh @@ -1,10 +1,10 @@ #!/bin/sh # This is a generated file; do not edit or check into version control. -export "FLUTTER_ROOT=/Users/afiq/Development/flutter" -export "FLUTTER_APPLICATION_PATH=/Users/afiq/Desktop/rms-mobile-xdk-flutter-beta" +export "FLUTTER_ROOT=/Users/tekjautan/Documents/flutter-sdk/flutter" +export "FLUTTER_APPLICATION_PATH=/Users/tekjautan/Documents/rms-github/rms-mobile-xdk-flutter-beta" export "FLUTTER_TARGET=lib/main.dart" export "FLUTTER_BUILD_DIR=build" export "SYMROOT=${SOURCE_ROOT}/../build/ios" -export "FLUTTER_FRAMEWORK_DIR=/Users/afiq/Development/flutter/bin/cache/artifacts/engine/ios" +export "FLUTTER_FRAMEWORK_DIR=/Users/tekjautan/Documents/flutter-sdk/flutter/bin/cache/artifacts/engine/ios" export "FLUTTER_BUILD_NAME=1.0.0" export "FLUTTER_BUILD_NUMBER=1" diff --git a/lib/main.dart b/lib/main.dart index 8823e55..1a7b41d 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -31,22 +31,14 @@ class _MyAppState extends State { var paymentDetails = { // Mandatory String. A value more than '1.00' - 'mp_amount': '49.00', + 'mp_amount': '', // Mandatory String. Values obtained from MOLPay - - // 'mp_username': 'SB_molpayxdk', - // 'mp_password': 'cT54#Lk@22', - // 'mp_merchant_ID': 'SB_molpayxdk', - // 'mp_app_name': 'molpayxdk', - // 'mp_verification_key': '4445db44bdb60687a8e7f7903a59c3a9', - - 'mp_username': 'api_SB_arrivo', - 'mp_password': 'api_ArRv0124#', - 'mp_merchant_ID': 'SB_arrivo', - 'mp_app_name': 'arrivo', - 'mp_verification_key': '504fe277a79a2377f15f8640799b1b1f', - + 'mp_username': '', + 'mp_password': '', + 'mp_merchant_ID': '', + 'mp_app_name': '', + 'mp_verification_key': '', // Mandatory String. Payment values // 'mp_order_ID': '60186547890TUC0002',