Steps to reproduce:
I a not sure how I got in this state, but found it can happen quite often.
Description:
- Calling
getDevices return an empty list.
- calling
addDevice will check in stream_video.dart for the token stored in shared preferences:
final storedToken = _sharedPreferences.getString(tokenKey);
if (storedToken == token) return;
this bit, will have a token stored, therefore returning before registering a device.
Now i am in a state where there 0 devices registered, and can;t register one because of a local token.
Any advice is welcome. Thank you