File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Sources/EaseCallUIKit/Classes Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ public extension Bundle {
2929 }
3030#if COCOAPODS
3131 return Bundle ( for: CallAppearance . self)
32- . url ( forResource: " CallResource " , withExtension: " bundle " )
32+ . url ( forResource: " EaseCallUIKit.bundle/ CallResource" , withExtension: " bundle " )
3333 . flatMap { Bundle ( url: $0) } !
3434#elseif SWIFT_PACKAGE
3535 return Bundle . module
3636#elseif STATIC_LIBRARY
3737 return Bundle . main
38- . url ( forResource: " CallResource " , withExtension: " bundle " )
38+ . url ( forResource: " EaseCallUIKit.bundle/ CallResource" , withExtension: " bundle " )
3939 . flatMap ( Bundle . init ( url: ) ) !
4040#else
4141 return Bundle ( for: CallAppearance . self)
Original file line number Diff line number Diff line change @@ -1036,7 +1036,9 @@ extension CallKitManager: CallMessageService {
10361036 Task {
10371037 let result = await ChatClient . shared ( ) . chatManager? . send ( message, progress: nil )
10381038 if let error = result? . 1 {
1039- self . handleError ( error)
1039+ for listener in self . listeners. allObjects {
1040+ listener. didOccurError ? ( error: CallError ( CallError . IM ( error: error) , module: . im) )
1041+ }
10401042 consoleLogInfo ( " Failed to send cancel call message: \( String ( describing: error. errorDescription) ) " , type: . error)
10411043 }
10421044 }
You can’t perform that action at this time.
0 commit comments