Top

searchRainbowContactWithEmailString in Android

Comments

3 comments

  • Hiro TAKAHASHI

    I could make a function on Android that returns IRainbowContact information based on a given login email address, but it requires the value RainbowContact.loginEmail to be remained. Any specific reason to deprecate the value in the newer versions?

     

    0
    Comment actions Permalink
  • Olivier ANGUENOT

    Hi Hiro,

    Yes loginEmail has been marked as deprecated because in a near future we want to remote that property from any users except the logged-in user. This change will affect all SDK and the REST API.

    LoginEmail is a sensitive data that should not be shared.

    I encourage you to rely on the Rainbow user Id which is the public user unique identifier. The Rainbow JID (or jid_im) is the secondary user public identifier that can be used if needed.

    Regards,

    Olivier

    0
    Comment actions Permalink
  • Hiro TAKAHASHI

    Hello Olivier, thank you for the information.

    Is the Rainbow user id (contact ID) known by each Rainbow user?

    The reason I'm using the login email is because it is a mandatory and unique member of IRainbowContact per Rainbow user.

    This application has to set a target Rainbow contact that the app needs to establish a Rainbow conversation with.

    Other members, e.g., mainEmailAddresses, firstEmailAddresses can be null and not necessary to be unique among all Rainbow users.

    I know the contact ID is unique among all Rainbow users, but not sure if it can be used by users.

    Thanks,

    Hiro

    0
    Comment actions Permalink

Please sign in to leave a comment.

Still can't find what you need?

  • Contact Us

    Do you have any question about Rainbow? Leave us a message to get more information.

    Contact
  • Ask the Community

    Do you need help? Ask your questions to the Community and get answers from other Rainbow users.

    Post message