Top

SDK Get No Contact and Cannot Make Call

Comentarios

5 comentarios

  • Olivier ANGUENOT

    Hi Chan,

    A call to method rainbowsdk.contacts.getAll() returns the list of contacts that are in the network of the connected user.

    You can use additional methods to search for contacts such as searchContactByName().

    More information can be found in that guide: https://hub.openrainbow.com/#/documentation/doc/sdk/web/guides/Chatting_with_Rainbow_users

    Regards,

    Olivier

     

    0
    Acciones de comentarios Permalink
  • Ngo-Kei CHAN

    It seems that I cannot get anything from searchByName() too.

    Is it the matter I am actually not connected to Rainbow Cloud as it said I am not able to make WebRTC call too, after initialize.

    0
    Acciones de comentarios Permalink
  • Olivier ANGUENOT

    Hi Chan,

    Did you call the signin() method for connecting to the Sandbox platform (or the appropriate one for Production) ?

    0
    Acciones de comentarios Permalink
  • Alejandro SR

    Hio,

    It happen to me initially the same. Probably your user don´t have contacts.

    I use rainbowSDK.contacts.searchById because I know the Ids from my application.

    I also wait until the user connected to start asking for contact information. So I wait until this event has been raised: rainbowSDK.connection.RAINBOW_CONNECTIONCONNECTED

    Hope it helps.

    Bye,

    Alejandro

    0
    Acciones de comentarios Permalink
  • Ngo-Kei CHAN

    After call signin() (to Sandbox), it always return empty Promise from signin() and the object has nothing to browse.....

    Is it something network issue as I can see some 404 warn in debugger.

    0
    Acciones de comentarios Permalink

Iniciar sesión para dejar un comentario.

  • Pregunte a la Comunidad

    ¿Necesitas ayuda? Haz tus preguntas en la Comunidad para obtener respuestas de otros usuarios de Rainbow.

    Enviar un mensaje.