android icon indicating copy to clipboard operation
android copied to clipboard

Load avatars via the new standard API

Open AndyScherzinger opened this issue 8 years ago • 4 comments

At this moment we load avatars via a private API/URL. https://github.com/nextcloud/server/pull/4062 introduces a public webdav API to load avatars including some meta information. SO I'd say we should move to this API as soon as it becomes available while we still need to keep the "old way" for a while to support older Server versions of Nextcloud and also support avatars a little longer for oC which doesn't have this API (I Guess).

AndyScherzinger avatar Mar 26 '17 13:03 AndyScherzinger

Additionally to this all avatar loading must be non blocking. I had sometimes large delays when a server instance was not accessible. This should be done in the library, or?

tobiasKaminsky avatar Apr 03 '17 06:04 tobiasKaminsky

The loading should be done via the library yes, while the non blocking part might be done within the app or we must implement it in a way that all this is covered within lib code with weak references etc etc.

AndyScherzinger avatar Apr 03 '17 08:04 AndyScherzinger

We can now also rely for >=NC13 that we always have an avatar: https://github.com/nextcloud/server/pull/6876

tobiasKaminsky avatar Dec 11 '17 07:12 tobiasKaminsky

Nice! 🎉

AndyScherzinger avatar Dec 11 '17 08:12 AndyScherzinger