Skip to content

Retrieving avatar for the native iOS app #1999

@kormic

Description

@kormic

Hey! I m trying to get the avatars for the native iOS app. I see that the web app gets the username's url from the server and it sets the image by using that url. I m trying to implement this in the native app but it doesn't seem to work. I am a little bit confused so if someone could clear this up for me...

When I hit the url "https://demo[dot]rocket.chat/avatar/username" what actually happens? Does the server create a file and returns it? What format? SVG, PNG, JPG???

I guess this will be needed for the android app as well? Maybe if there would be a meteor method where we could retrieve each user's avatar? Is this doable?

Sorry for my noobness and thanks in advance.... 😃

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions