Top

iOS | Personal contacts

Commentaires

8 commentaires

  • Le-Trong-Nghia HUYNH

    Hello,

    Do you have the permission to use this feature? What do you get with:

    ServicesManager.sharedInstance().myUser.isAllowedToUsePersonalDirectory
    0
    Actions pour les commentaires Permalien
  • Patrik Spisak

    I got true. But I did not expect receive false, because on official app I was able to create personal contact. 

    0
    Actions pour les commentaires Permalien
  • Le-Trong-Nghia HUYNH

    I don't know if it changes anything but I have "builder" instead of "contactBuilder", can you try?

    Also on your official app, you are able to create the account on the same environment / account? If yes, might be something with the appId but the server error is not helpful.

    0
    Actions pour les commentaires Permalien
  • Patrik Spisak

    Does not have any impact change contactBuilder to builder.

    And yes Im using same account for both apps for this reason to debug if is problem only within my custom app or also on official app. But in this case, in official app I will create personal contact with no errors.

    0
    Actions pour les commentaires Permalien
  • Le-Trong-Nghia HUYNH

    I have checked with backend team and the issue is about the country which is empty. It is required and it must be in ISO-3166-1-alpha3 format.

    In the Rainbow SDK you can use following as default:

    ServicesManager.sharedInstance().myUser.contact?.countryCode

    You can also use following property to display the list of countries (as Country object) :

    ServicesManager.sharedInstance().myUser.countries
    0
    Actions pour les commentaires Permalien
  • Patrik Spisak

    Thanks now its working. One more question, how can I check if contact is personal contact or how can I get all personal contacts? 

    0
    Actions pour les commentaires Permalien
  • Le-Trong-Nghia HUYNH

    Thanks for the feedback.

    - Check if contact is personal :

    contact.isDirectoryContact(.personal)

    - Fetch of all personal contacts is not yet available, it has just been developed in official app 114 (not yet released)

    0
    Actions pour les commentaires Permalien
  • Patrik Spisak

    When will be new API available? I see that Rainbow app was updated where fetching personal contacts is already avaialble.

    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