Top

iOS | Personal contacts

Kommentare

8 Kommentare

  • Le-Trong-Nghia HUYNH

    Hello,

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

    ServicesManager.sharedInstance().myUser.isAllowedToUsePersonalDirectory
    0
    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare Permalink
  • Patrik Spisak

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

    0
    Aktionen für Kommentare Permalink

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie können immer noch nicht finden, was Sie brauchen?

  • Kontaktieren Sie uns

    Haben Sie eine Frage zu Rainbow? Hinterlassen Sie uns eine Nachricht, um weitere Informationen zu erhalten.

    Kontakt
  • Fragen Sie die Gemeinschaft

    Brauchen Sie Hilfe? Stellen Sie Ihre Fragen in der Community, um Antworten von anderen Rainbow-Benutzern zu erhalten.

    Nachricht posten