jiti-meet/react
Saúl Ibarra Corretgé 122ebe48c7 [RN] Cache avatars and provide a default in case load fails
Avatars are cached to the filesystem and loaded from there when requested again.
The cache is cleaned after a conference ends and on application startup
(defensive move).

In addition, implement a fully local avatar system, which is used as a fallback
when loading a remote avatar fails. It can also be forced using a prop.

The fully local avatars use a user icon as a mask and apply a background color
qhich is picked by hashing the URI passed to the avatar. If no URI is passed a
random color is chosen.

A grace period of 1 second is also implemented so a default local avatar will be
rendered if an Avatar component is mounted but has no URI. If a URI is specified
later on, it will be loaded and displayed. In case loading the remote avatar
fails, the locally generated one will be used.
2017-08-03 13:45:41 -05:00
..
features [RN] Cache avatars and provide a default in case load fails 2017-08-03 13:45:41 -05:00
.eslintrc.js Fix typo 2017-07-26 10:40:05 -05:00
index.native.js [RN] Fix root component's prop types 2017-07-31 15:30:31 +02:00
index.web.js [RN] Naming 2017-06-09 14:51:31 -05:00