Browse Source

clened

pull/1/head
gme_2 6 years ago
parent
commit
b45206b26b
  1. 12
      GMERemittance/AppDelegate.swift
  2. 1
      GMERemittance/Module/Main/User Interface/Wireframe/MainWireframe.swift

12
GMERemittance/AppDelegate.swift

@ -109,17 +109,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
}
private func registerForNotification(application: UIApplication) {
// if #available(iOS 10.0, *) {
// // For iOS 10 display notification (sent via APNS)
// UNUserNotificationCenter.current().delegate = self
// let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound]
// UNUserNotificationCenter.current().requestAuthorization(
// options: authOptions,
// completionHandler: {_, _ in })
// } else {
//
// }
//
let settings: UIUserNotificationSettings =
UIUserNotificationSettings(types: [.alert, .badge, .sound], categories: nil)
application.registerForRemoteNotifications()

1
GMERemittance/Module/Main/User Interface/Wireframe/MainWireframe.swift

@ -78,7 +78,6 @@ extension MainWireframe: MainWireframeInput {
store.removeObject(forKey: "com.gmeremit.password")
store.removeObject(forKey: " com.gmeremit.isReferred")
store.removeObject(forKey: " com.gmeremit.isReferred")
// store.removeObject(forKey: UserKeys)
store.removeObject(forKey: UserKeys.primaryAccountNumber)
store.removeObject(forKey: UserKeys.primaryBankName)
store.removeObject(forKey: UserKeys.province)

Loading…
Cancel
Save