Browse Source

Merge branch 'open_banking'

pull/1/head
InKwon James Kim 5 years ago
parent
commit
14156a2676
  1. 4
      GME Remit.xcodeproj/project.pbxproj
  2. 7
      GME Remit/AppDelegate.swift
  3. 2
      GME Remit/MultiLanguages/si.lproj/Localizable.strings
  4. 10
      GME Remit/Utilities/WebLinks/WkWebView/WkWebViewController.swift

4
GME Remit.xcodeproj/project.pbxproj

@ -15167,7 +15167,7 @@
CODE_SIGN_ENTITLEMENTS = "GME Remit.entitlements";
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 0;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 5QB497ZAGT;
ENABLE_BITCODE = NO;
@ -15202,7 +15202,7 @@
CODE_SIGN_ENTITLEMENTS = "GME Remit.entitlements";
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 0;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 5QB497ZAGT;
ENABLE_BITCODE = NO;

7
GME Remit/AppDelegate.swift

@ -43,6 +43,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
#if DEBUG
NetworkActivityLogger.shared.startLogging()
NetworkActivityLogger.shared.level = .debug
Bootpay.sharedInstance.appLaunch(application_id: "59a4d328396fa607b9e75de6")
#endif
IQKeyboardManager.shared.enable = true
@ -72,8 +73,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
StoreReviewHelper.shared.incrementAppOpenedCount()
Bootpay.sharedInstance.appLaunch(application_id: "59a4d328396fa607b9e75de6")
return true
}
@ -142,11 +141,15 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// MARK: BootPay
func applicationWillResignActive(_ application: UIApplication) {
#if DEBUG
Bootpay.sharedInstance.sessionActive(active: false)
#endif
}
func applicationDidBecomeActive(_ application: UIApplication) {
#if DEBUG
Bootpay.sharedInstance.sessionActive(active: true)
#endif
}
func application(

2
GME Remit/MultiLanguages/si.lproj/Localizable.strings

@ -514,7 +514,7 @@
"kftc_token_title_message_text" = "ඔබගේ Auto debit ගිණුම අලුත් කිරීමට ඔබ කැමතිද?";
"renewal_text" = "දැන් අලුත් කරන්න";
"later_text" = "පසුව අලුත් කරන්න";
"token_renewal_text" = "Token Renewal";
"token_renewal_text" = "Auto debit ගිණුම අලුත් කරන්න";
"token_renewal_confirm_text" = "ඔබ, ඔබගේ Auto debit ගිණුම නැවත අලුත් කිරීමට කැමතිද?";
"token_renewal_placeholder_text" = "Auto debit ගිණුම නැවත අලුත් කිරීම සදහා භාෂාව තෝරන්න.";

10
GME Remit/Utilities/WebLinks/WkWebView/WkWebViewController.swift

@ -47,8 +47,16 @@ class WkWebViewController: UIViewController {
webView.bringSubviewToFront(activityIndicator!)
if let myURL = URL(string: url ?? "") {
let myRequest = URLRequest(url: myURL)
var myRequest = URLRequest(url: myURL)
var header = [String: String]()
headers?.forEach { model in
header[model.key ?? ""] = model.value ?? ""
}
myRequest.allHTTPHeaderFields = header
webView.load(myRequest)
}
closeButton.title = "penny_test_close_text".localized()

Loading…
Cancel
Save