You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
in method getChannelAttributesByKeys from dart, the attributeKeys was passed as key 'attributeKeys' to native side, but in ios native side, SwiftAgoraRtmPlugin.swift line 237, read keys from wrong key name 'keys', so while unwrapping keys variable, it will always fail and crash, because keys variable is nil all the time
To Reproduce
use the latest version v1.5.9, call getChannelAttributesByKeys method
Expected behavior
not crash
Screenshots
The text was updated successfully, but these errors were encountered:
guopeng1994
changed the title
wrong parameter decode from ios native make ios crash
wrong parameter decode from ios native make ios crash and some feature not work
May 16, 2024
the function parameters in dart side was 'attributeKeys',or 'option', but ios native side (SwiftAgoraRtmPlugin.swift) was decoded as 'keys' and 'options', so that makes the attributes with options enableNotificationToChannelMembers true not work, and onAttributesUpdated callback never get called.
Describe the bug
in method getChannelAttributesByKeys from dart, the attributeKeys was passed as key 'attributeKeys' to native side, but in ios native side, SwiftAgoraRtmPlugin.swift line 237, read keys from wrong key name 'keys', so while unwrapping keys variable, it will always fail and crash, because keys variable is nil all the time
To Reproduce
use the latest version v1.5.9, call getChannelAttributesByKeys method
Expected behavior
not crash
Screenshots
The text was updated successfully, but these errors were encountered: