ringcentral / engage-digital-messaging-ios

Engage Digital Messaging IOS SDK
Other
10 stars 6 forks source link

Black background when opening the Dimelo view after receiving a notification #10

Closed avezier closed 7 years ago

avezier commented 7 years ago

When the app is running in foreground and I open the Dimelo view, the UI of the Dimelo view is correct:

Dimelo.sharedInstance().displayChatView()
   func dimeloDisplayChatViewController(_ dimelo: Dimelo!) {
        if let dimeloVC = dimelo.chatViewController() {
            dimeloVC.navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .done, target: self, action: #selector(closeChat))
            dimeloVC.navigationItem.rightBarButtonItem?.tintColor = UIColor.black
            AppDelegate.shared.window?.rootViewController?.present(dimeloVC, animated: true, completion: nil)
        }
    }

However when I display the Dimelo view from the didReceiveNotification callback, the background of the view is black, as in the attached screenshot

bugui

jarthod commented 7 years ago

Thanks for reporting this, this issue has already been reported and fixed in 1.5.1 (https://github.com/dimelo/Dimelo-iOS/blob/7f2663c209d841c4bddb05a74c036b3696071051/CHANGELOG.md#dimelo-ios-sdk-151-december-9th-2016) I saw in your other issue that you're using 1.5.0, please upgrade to the latest version (1.7.1)