openimsdk / open-im-sdk-flutter

IM SDK Flutter
https://openim.io
MIT License
365 stars 232 forks source link

enabledSDKLog can not disable all Log #50

Closed theowenyoung closed 2 years ago

theowenyoung commented 2 years ago
OpenIM.iMManager.enabledSDKLog(enabled: false);

Still log:

flutter: call:MethodCall(initSDKListener, {type: onConnectSuccess})
native call flutter { method: initSDKListener type: onConnecting }
flutter: call:MethodCall(initSDKListener, {type: onConnecting})
native call flutter { method: initSDKListener type: onConnectSuccess }
flutter: call:MethodCall(initSDKListener, {type: onConnectSuccess})
native call flutter { method: initSDKListener type: onConnecting }
flutter: call:MethodCall(initSDKListener, {type: onConnecting})
theowenyoung commented 2 years ago

By the way, this connecting log too many times, is it expected?

theowenyoung commented 2 years ago

it seems connecting, onConnectSuccess, loops.

hrxiang commented 2 years ago

If the server is normal, it will not be called in a loop