Agora-RTC-SDK-for-Xamarin icon indicating copy to clipboard operation
Agora-RTC-SDK-for-Xamarin copied to clipboard

Can't receive onConnectionBanned from native to Xamarin.

Open jlchavez opened this issue 4 years ago • 2 comments

if CONNECTION_STATE_FAILED is the result of calling StartSession, the API Reference states that it will raise onConnectionBanned and onConnectionStateChanged.

We can't determine if the Application failes to connect by a ban if there is no way of receiving details.

https://github.com/AgoraIO-Community/Agora-RTC-SDK-for-Xamarin/blob/e94f111b3ac555956a32ca89c46234bd67b7b39f/Xamarin.Agora.Forms/Xamarin.Agora.Full.Forms.Android/AgoraServiceImplementation.cs#L462

jlchavez avatar Mar 23 '21 22:03 jlchavez

hi, @jlchavez we working on Forms update, we make work already on all events from native to xamarin, will notify you when we release (soon)

sbokatuk avatar Mar 23 '21 22:03 sbokatuk

Thanks, I made an override on a Custom class, so currently I don't receive this call. But I don't know if this method is really called from the native implementation.

I would have to ask if there is any way to know what was the connection not stablished? or at least if the connection is not stablished, so that I can update the UI that the connection failed?

jlchavez avatar Mar 23 '21 22:03 jlchavez