Skip to content

Device not registered even though 0 devices are registered on the web #1132

@RazvanTamazlicariu

Description

@RazvanTamazlicariu

Steps to reproduce:
I a not sure how I got in this state, but found it can happen quite often.

Description:

  1. Calling getDevices return an empty list.
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions