Top

iOS | Personal contacts

Comentarios

8 comentarios

  • Le-Trong-Nghia HUYNH

    Hello,

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

    ServicesManager.sharedInstance().myUser.isAllowedToUsePersonalDirectory
    0
    Acciones de comentarios Permalink
  • Patrik Spisak

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

    0
    Acciones de comentarios Permalink
  • 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
    Acciones de comentarios Permalink
  • 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
    Acciones de comentarios Permalink
  • 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
    Acciones de comentarios Permalink
  • 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
    Acciones de comentarios Permalink
  • 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
    Acciones de comentarios Permalink
  • Patrik Spisak

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

    0
    Acciones de comentarios Permalink

Iniciar sesión para dejar un comentario.

¿Todavía no puedes encontrar lo que necesitas?

  • Contáctenos

    ¿Tiene alguna pregunta sobre Rainbow? Déjenos un mensaje para obtener más información.

    Contacte con
  • Pregunte a la Comunidad

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

    Enviar un mensaje.