following function to show list notification, first open list notification image not showing but the second open image is showing, maybe my code is not correct, please help me, thanks 🙏
============== this my code to show list notification ==============
private func appInboxAction() {
CleverTap.sharedInstance()?.initializeInbox(callback: ({ success in
let messageCount = CleverTap.sharedInstance()?.getInboxMessageCount()
let unreadCount = CleverTap.sharedInstance()?.getInboxMessageUnreadCount()
if success {
let style = CleverTapInboxStyleConfig()
style.title = "Notifications"
style.navigationTintColor = UIColor.primary
if let inboxController = CleverTap.sharedInstance()?.newInboxViewController(with: style, andDelegate: self) {
let navigationController = UINavigationController.init(rootViewController: inboxController)
self.present(navigationController, animated: true, completion: nil)
}
}
}))
}
Describe the bug
following function to show list notification, first open list notification image not showing but the second open image is showing, maybe my code is not correct, please help me, thanks 🙏
============== this my code to show list notification ==============
Screenshots ============== first ==============
============== seconds ==============