Browse Source

Terms and Condition Changes, #460 Changes, #459 Changes and other bug fixing

pull/13/head
Mac 3 years ago
parent
commit
4b5bfba4eb
  1. 4
      GME Remit.xcodeproj/project.pbxproj
  2. 11
      GME Remit/Modules/Login/User Interface/View/Login.storyboard
  3. 2
      GME Remit/Modules/Login/User Interface/View/LoginViewController.swift
  4. 4
      GME Remit/Modules/RecipientModules/SetupRecipient/User Interface/View/SetupRecipientViewController.swift
  5. 2
      GME Remit/Modules/RegisterModules/UserAuthentication/ExistingUserKyc/User Interface/View/ExistingUserKycViewController.swift
  6. 2
      GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/View/KYCVerifyStep1ViewController.swift
  7. 6
      GME Remit/Modules/RemittanceModules/OverseasModules/CDDIViewController/User Interface/View/CDDIViewController.storyboard
  8. 4
      GME Remit/Modules/RemittanceModules/OverseasModules/TermsAndCondition/User Interface/View/TermsAndConditionViewController.swift
  9. 1
      GME Remit/MultiLanguages/bn.lproj/Localizable.strings
  10. 1
      GME Remit/MultiLanguages/en.lproj/Localizable.strings
  11. 1
      GME Remit/MultiLanguages/ja.lproj/Localizable.strings
  12. 1
      GME Remit/MultiLanguages/ne.lproj/Localizable.strings
  13. 1
      GME Remit/MultiLanguages/vi-VN.lproj/Localizable.strings

4
GME Remit.xcodeproj/project.pbxproj

@ -7568,7 +7568,7 @@
CODE_SIGN_ENTITLEMENTS = "GME Remit.entitlements"; CODE_SIGN_ENTITLEMENTS = "GME Remit.entitlements";
CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 22;
CURRENT_PROJECT_VERSION = 23;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 68KRG7GPAV; DEVELOPMENT_TEAM = 68KRG7GPAV;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
@ -7609,7 +7609,7 @@
CODE_SIGN_ENTITLEMENTS = "GME Remit.entitlements"; CODE_SIGN_ENTITLEMENTS = "GME Remit.entitlements";
CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 22;
CURRENT_PROJECT_VERSION = 23;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 68KRG7GPAV; DEVELOPMENT_TEAM = 68KRG7GPAV;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;

11
GME Remit/Modules/Login/User Interface/View/Login.storyboard

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_0" orientation="portrait" appearance="light"/> <device id="retina4_0" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/> <capability name="System colors in document resources" minToolsVersion="11.0"/>
@ -192,7 +192,7 @@ JME</string>
</constraints> </constraints>
</stackView> </stackView>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yYl-oW-RDD"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yYl-oW-RDD">
<rect key="frame" x="40.5" y="431" width="239.5" height="40"/>
<rect key="frame" x="122" y="431" width="76" height="40"/>
<subviews> <subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="fingerprint" translatesAutoresizingMaskIntoConstraints="NO" id="2x6-yn-YbR"> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="fingerprint" translatesAutoresizingMaskIntoConstraints="NO" id="2x6-yn-YbR">
<rect key="frame" x="0.0" y="0.0" width="30" height="40"/> <rect key="frame" x="0.0" y="0.0" width="30" height="40"/>
@ -202,14 +202,11 @@ JME</string>
</constraints> </constraints>
</imageView> </imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3jD-aL-2QY"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3jD-aL-2QY">
<rect key="frame" x="30" y="0.0" width="209.5" height="40"/>
<rect key="frame" x="30" y="0.0" width="46" height="40"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="40" id="fzR-FF-AjI"/> <constraint firstAttribute="height" constant="40" id="fzR-FF-AjI"/>
</constraints> </constraints>
<state key="normal" title="Button"/> <state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Tap to login using fingerprint">
<color key="baseForegroundColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</buttonConfiguration>
<connections> <connections>
<action selector="fingerprintLogin:" destination="z4C-iC-QQa" eventType="touchUpInside" id="xGn-qm-COr"/> <action selector="fingerprintLogin:" destination="z4C-iC-QQa" eventType="touchUpInside" id="xGn-qm-COr"/>
</connections> </connections>

2
GME Remit/Modules/Login/User Interface/View/LoginViewController.swift

@ -25,6 +25,7 @@ class LoginViewController: UIViewController {
let newToGmeText = "new_to_gme_text".localized() let newToGmeText = "new_to_gme_text".localized()
let registerHereText = "login_register_here_text".localized() let registerHereText = "login_register_here_text".localized()
let loginText = "login_text".localized() let loginText = "login_text".localized()
let fingerPrintText = "tap_to_login_using_finger_text".localized()
} }
// MARK: IBOutlets // MARK: IBOutlets
@ -197,6 +198,7 @@ class LoginViewController: UIViewController {
newToGmeLabel.text = StringConstants().newToGmeText newToGmeLabel.text = StringConstants().newToGmeText
registerHereButton.setTitle(StringConstants().registerHereText, for: .normal) registerHereButton.setTitle(StringConstants().registerHereText, for: .normal)
loginButton.setTitle(StringConstants().loginText, for: .normal) loginButton.setTitle(StringConstants().loginText, for: .normal)
fingerprintLogin.setTitle(StringConstants().fingerPrintText, for: .normal)
headerTitle.text = StringConstants().headerTitle headerTitle.text = StringConstants().headerTitle
} }

4
GME Remit/Modules/RecipientModules/SetupRecipient/User Interface/View/SetupRecipientViewController.swift

@ -456,9 +456,9 @@ extension SetupRecipientViewController {
}).disposed(by: disposeBag) }).disposed(by: disposeBag)
output.selectedRelation.drive(onNext: { [weak self] in guard let `self` = self else { return } output.selectedRelation.drive(onNext: { [weak self] in guard let `self` = self else { return }
if $0?.title == "Others" {
if $0?.title == "Others" || $0?.title == "Other (please specify)" {
DispatchQueue.main.async { DispatchQueue.main.async {
let alert = UIAlertController(title: "Specify Occupation", message: "", preferredStyle: .alert)
let alert = UIAlertController(title: "specifyYourRelation_text".localized(), message: "", preferredStyle: .alert)
alert.addTextField(configurationHandler: nil) alert.addTextField(configurationHandler: nil)
alert.addAction(UIAlertAction(title: "Submit", style: .default, handler: { [weak alert] (_) in alert.addAction(UIAlertAction(title: "Submit", style: .default, handler: { [weak alert] (_) in
guard let textField = alert?.textFields?.first else { return } guard let textField = alert?.textFields?.first else { return }

2
GME Remit/Modules/RegisterModules/UserAuthentication/ExistingUserKyc/User Interface/View/ExistingUserKycViewController.swift

@ -102,7 +102,7 @@ class ExistingUserKycViewController: UIViewController {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
self.isFirst = (self.step == .first) self.isFirst = (self.step == .first)
let url = URL(string: "https://mobile.japanremit.com:8443/Document/TermsAndConditions/CustomerReg_TermsAndConditions.html")!
let url = URL(string: "https://japanremit.com/Document/TermsAndConditions/CustomerReg_TermsAndConditions.html")!
self.termsWebView.load(URLRequest(url: url)) self.termsWebView.load(URLRequest(url: url))
self.termsWebView.scrollView.bounces = false self.termsWebView.scrollView.bounces = false
setup() setup()

2
GME Remit/Modules/RegisterModules/UserAuthentication/KYCVerifyStep1/User Interface/View/KYCVerifyStep1ViewController.swift

@ -266,7 +266,7 @@ class KYCVerifyStep1ViewController: UIViewController {
extension KYCVerifyStep1ViewController { extension KYCVerifyStep1ViewController {
private func setup() { private func setup() {
let url = URL(string: "https://mobile.japanremit.com:8443/Document/TermsAndConditions/CustomerReg_TermsAndConditions.html")!
let url = URL(string: "https://japanremit.com/Document/TermsAndConditions/CustomerReg_TermsAndConditions.html")!
self.termsWebView.load(URLRequest(url: url)) self.termsWebView.load(URLRequest(url: url))
self.termsWebView.scrollView.bounces = false self.termsWebView.scrollView.bounces = false

6
GME Remit/Modules/RemittanceModules/OverseasModules/CDDIViewController/User Interface/View/CDDIViewController.storyboard

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="HSb-ou-7T5">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="HSb-ou-7T5">
<device id="retina4_7" orientation="portrait" appearance="light"/> <device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/> <capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@ -118,7 +118,7 @@
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="8je-5K-XuW" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="8je-5K-XuW" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects> </objects>
<point key="canvasLocation" x="-15" y="228"/>
<point key="canvasLocation" x="-199" y="228"/>
</scene> </scene>
</scenes> </scenes>
<designables> <designables>

4
GME Remit/Modules/RemittanceModules/OverseasModules/TermsAndCondition/User Interface/View/TermsAndConditionViewController.swift

@ -61,10 +61,10 @@ class TermsAndConditionViewController: UIViewController {
var url: URL? var url: URL?
if fromBeneficiary == true { if fromBeneficiary == true {
self.showLoading() self.showLoading()
url = URL(string: "https://mobile.japanremit.com:8443/Document/TermsAndConditions/BeneReg_TermsAndConditions.html")!
url = URL(string: "https://japanremit.com/Document/TermsAndConditions/BeneReg_TermsAndConditions.html")!
} else { } else {
self.showLoading() self.showLoading()
url = URL(string: "https://mobile.japanremit.com:8443/Document/TermsAndConditions/Trx_TermsAndConditions.html")!
url = URL(string: "https://japanremit.com/Document/TermsAndConditions/Trx_TermsAndConditions.html")!
} }
self.webView.load(URLRequest(url: url!)) self.webView.load(URLRequest(url: url!))

1
GME Remit/MultiLanguages/bn.lproj/Localizable.strings

@ -1003,6 +1003,7 @@
"use_fingerprint_text"="আঙুলের ছাপ ব্যবহার করুন"; "use_fingerprint_text"="আঙুলের ছাপ ব্যবহার করুন";
"login_title_text"="স্বাগতম জাপান মানি এক্সপ্রেসে"; "login_title_text"="স্বাগতম জাপান মানি এক্সপ্রেসে";
"login_text"="প্রবেশ করুণ"; "login_text"="প্রবেশ করুণ";
"tap_to_login_using_finger_text" = "আঙ্গুলের ছাপসহ লগইনে চাপ দিন";
"forgot_password_text"="পাসওয়ার্ড ভুলে গেছেন"; "forgot_password_text"="পাসওয়ার্ড ভুলে গেছেন";
"new_to_jme_text"="জাপান মানি এক্সপ্রেস এ নতুন?"; "new_to_jme_text"="জাপান মানি এক্সপ্রেস এ নতুন?";
"login_register_here_text"="এখানে নিবন্ধন করুন"; "login_register_here_text"="এখানে নিবন্ধন করুন";

1
GME Remit/MultiLanguages/en.lproj/Localizable.strings

@ -1,5 +1,6 @@
"login_text" = "Login"; "login_text" = "Login";
"tap_to_login_using_finger_text" = "Tap to login with fingerprint";
"new_user_text" = "New User"; "new_user_text" = "New User";
"hassle_free_transfer_text" = "Hassle free money transfer to your loved ones"; "hassle_free_transfer_text" = "Hassle free money transfer to your loved ones";
"connect_local_community_text" = "Connect to local community"; "connect_local_community_text" = "Connect to local community";

1
GME Remit/MultiLanguages/ja.lproj/Localizable.strings

@ -1,5 +1,6 @@
"login_text" = "ログイン"; "login_text" = "ログイン";
"tap_to_login_using_finger_text" = "指紋にてログインするためにタップしてください。";
"new_user_text" = "新規ユーザー"; "new_user_text" = "新規ユーザー";
"hassle_free_transfer_text" = "大切な人にお金を送る"; "hassle_free_transfer_text" = "大切な人にお金を送る";
"connect_local_community_text" = "地域社会とつながる"; "connect_local_community_text" = "地域社会とつながる";

1
GME Remit/MultiLanguages/ne.lproj/Localizable.strings

@ -1,4 +1,5 @@
"login_text" = "लग इन "; "login_text" = "लग इन ";
"tap_to_login_using_finger_text" = "फिंगरप्रिन्टको साथ लग इन गर्न ट्याप गर्नुहोस्";
"new_user_text" = "नयाँ युजर "; "new_user_text" = "नयाँ युजर ";
"hassle_free_transfer_text" = "बिना झनझट आफ्नो मान्छेलाई पैसा पठाउनुहोस "; "hassle_free_transfer_text" = "बिना झनझट आफ्नो मान्छेलाई पैसा पठाउनुहोस ";
"connect_local_community_text" = "आफ्नो समुदाय सँग जोडिनुहोस "; "connect_local_community_text" = "आफ्नो समुदाय सँग जोडिनुहोस ";

1
GME Remit/MultiLanguages/vi-VN.lproj/Localizable.strings

@ -1,4 +1,5 @@
"login_text" = "Đăng nhập"; "login_text" = "Đăng nhập";
"tap_to_login_using_finger_text" = "Nhấn để đăng nhập bằng vân tay";
"new_user_text" = "Người dùng mới "; "new_user_text" = "Người dùng mới ";
"hassle_free_transfer_text" = "Cùng chuyển tiền đến người yêu thương"; "hassle_free_transfer_text" = "Cùng chuyển tiền đến người yêu thương";
"connect_local_community_text" = "Kết nối cộng đồng"; "connect_local_community_text" = "Kết nối cộng đồng";

Loading…
Cancel
Save