Skip to content

Commit

Permalink
fix: callManager not working on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Jul 19, 2023
1 parent 29140eb commit 5cd710c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/RTMCallManager.swift
Expand Up @@ -18,7 +18,7 @@ class RTMCallManager: NSObject, AgoraRtmCallDelegate, FlutterStreamHandler {
var localInvitations: [Int: AgoraRtmLocalInvitation] = [:]
var manager: AgoraRtmCallKit? {
get {
return client?.rtmCallKit
return client?.getRtmCall()
}
}

Expand Down

8 comments on commit 5cd710c

@ntkha05
Copy link

@ntkha05 ntkha05 commented on 5cd710c Aug 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has worked for IOS, please make a new release version on pub.

@doanbh
Copy link

@doanbh doanbh commented on 5cd710c Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has worked for IOS, please make a new release version on pub.

You can use temp

 agora_rtm:
    git:
      url: https://github.com/AgoraIO/Agora-Flutter-RTM-SDK
      ref: master

@doanbh
Copy link

@doanbh doanbh commented on 5cd710c Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not working on IOS, I don't receiver RemoteInvitation from callManager?.onRemoteInvitationReceived when caller have sent it.

@LichKing-2234
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has worked for IOS, please make a new release version on pub.

The version 1.5.8 has been released.

@doanbh
Copy link

@doanbh doanbh commented on 5cd710c Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LichKing-2234 you can check again on IOS, it doesn't work. I don't receive RemoteInvitation from callManager?.onRemoteInvitationReceived.

@LichKing-2234
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@doanbh pls try the example on the master branch, I remember it works.

@doanbh
Copy link

@doanbh doanbh commented on 5cd710c Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LichKing-2234 yes, I try with both v1.6.0 still not working on IOS. Can you try with RTM token, Is it the reason?

@LichKing-2234
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LichKing-2234 yes, I try with both v1.6.0 still not working on IOS. Can you try with RTM token, Is it the reason?

https://github.com/AgoraIO/Agora-Flutter-RTM-SDK/blob/master/example/lib/main.dart#L148

is this line working for you?

Please sign in to comment.