Top

Adding contact to Roster using email

Répondu

Commentaires

2 commentaires

  • Olivier ANGUENOT

    Hi Prakash,

    Using IOS, you need to call the following method to do the same as for Android:

    func invite(contact: Contact) {
        ServicesManager.sharedInstance()?.contactsManagerService.inviteContact(contact)
    }
     
    A request will be sent to the Rainbow user. 
     
    In addition to listen to the event `kContactsManagerServiceDidUpdateContact` to be informed when the `sentInvitation` property has changed, you can listen to events `kContactsManagerServiceDidInviteContact` and `kContactsManagerServiceDidFailedToInviteContact`. This can be important because sending an invitation can failed if you send it several times quickly. Only one invitation can be sent to a Rainbow user by hour if the invitation has not been declined by your recipient or canceled by you.
     
    Regards,
    Olivier
    1
    Actions pour les commentaires Permalien
  • Prakash

    Thank you Oliver.

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.

Vous n'avez pas trouvé ce que vous cherchez?

  • Contactez-nous

    Vous avez des questions? Laissez-nous un message pour obtenir plus d'informations.

    Contactez-nous
  • Demandez à la Communauté

    Vous avez besoin d'aide? Posez vos questions à la Communauté et obtenez des réponses d'autres utilisateurs Rainbow.

    Poster un message