Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ public extension Bundle {
}
#if COCOAPODS
return Bundle(for: CallAppearance.self)
.url(forResource: "CallResource", withExtension: "bundle")
.url(forResource: "EaseCallUIKit.bundle/CallResource", withExtension: "bundle")
.flatMap { Bundle(url: $0) }!
#elseif SWIFT_PACKAGE
return Bundle.module
#elseif STATIC_LIBRARY
return Bundle.main
.url(forResource: "CallResource", withExtension: "bundle")
.url(forResource: "EaseCallUIKit.bundle/CallResource", withExtension: "bundle")
.flatMap(Bundle.init(url:))!
#else
return Bundle(for: CallAppearance.self)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,9 @@ extension CallKitManager: CallMessageService {
Task {
let result = await ChatClient.shared().chatManager?.send(message, progress: nil)
if let error = result?.1 {
self.handleError(error)
for listener in self.listeners.allObjects {
listener.didOccurError?(error: CallError(CallError.IM(error: error), module: .im))
}
consoleLogInfo("Failed to send cancel call message: \(String(describing: error.errorDescription))", type: .error)
}
}
Expand Down