mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:43:05 +00:00
Disable background notification process for now (will be used later for account creation token processing)
This commit is contained in:
parent
533bc26d6d
commit
8d6f096582
1 changed files with 2 additions and 2 deletions
|
|
@ -39,12 +39,12 @@ class AppDelegate: NSObject, UIApplicationDelegate {
|
|||
|
||||
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
|
||||
Log.info("Received background push notification, payload = \(userInfo.description)")
|
||||
|
||||
/*
|
||||
let creationToken = (userInfo["customPayload"] as? NSDictionary)?["token"] as? String
|
||||
if let creationToken = creationToken {
|
||||
NotificationCenter.default.post(name: accountTokenNotification, object: nil, userInfo: ["token": creationToken])
|
||||
}
|
||||
completionHandler(UIBackgroundFetchResult.newData)
|
||||
completionHandler(UIBackgroundFetchResult.newData)*/
|
||||
}
|
||||
|
||||
func applicationWillTerminate(_ application: UIApplication) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue