Skip to content

Commit

Permalink
Merge pull request #18 from castledio/development
Browse files Browse the repository at this point in the history
feat: ios  listener fixes
  • Loading branch information
antonyjoemathew authored Mar 9, 2024
2 parents 5b29205 + fbb6bc8 commit e3b2be1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public extension RTNCastledNotifications {

@objc func handleEventNotification(_ notification: Notification) {
guard RTNCastledNotifications.isObserverInitiated else { return }
if let notificationName = notification.name.rawValue, var info = notification.userInfo {
if let notificationName = notification.name.rawValue as? String, var info = notification.userInfo {
info.removeValue(forKey: CastledEventNameListenerKey)
sendEvent(withName: notificationName, body: info)
}
Expand Down

0 comments on commit e3b2be1

Please sign in to comment.