Skip to content

About RTM engine init and Message receive. #33

@jawang94

Description

@jawang94

Hey there. I'm using agora-react-native-rtm to handle user join subscriptions for audio broadcasting. It works fine on simulator & my iPhone X on iOS 14 (the users list updates & all events are properly fired off). However, on my iPhone 12 Pro running iOS 14.4.1 the rtmEngine events fail to fire for seemingly no reason. They simply return a generic Error object w/ no message. rtcEngine works properly and I'm able to connect + hear audio coming from the iPhone 12 Pro, so just an rtmEngine issue here. Any ideas on what might be going wrong?

Errors (as you can see I tried logging the message and name of the first Error object but it doesn't contain any useful info):
Screen Shot 2021-03-17 at 5 20 52 PM

Initialize method for RTM:
Screen Shot 2021-03-17 at 5 25 54 PM

Here's a snippet of the startCall method. The first await for rtcEngine succeeds but the subsequent 3 awaits for rtmEngine fail (only on iPhone 12 Pro running iOS 14.4.1).
Screen Shot 2021-03-17 at 5 22 11 PM

P.S. agora-react-native-rtm is on version ^1.2.2-alpha.6 and react-native-agora is ^3.3.1.

Thanks!

Metadata

Metadata

Assignees

Labels

duplicateThis issue or pull request already exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions