jiti-meet/react/features/base/participants
Saúl Ibarra Corretgé 0a9333af02 rn: refactor Avatar to deal with FastImage changes
Updating react-native-fast-image brings a couple of interesting changes:

- onLoad is not called for cached images (reported and ignored upstream)
- load progress not working if component not displayed (on Android)

In order to fix this, a combination of 2 approaches was used:

- onLoadEnd / onError are used to detect if the image is loaded
- off-screen rendering is used on Android to get progress events

While implementing the above, yours truly noticed the complexity was increasing
way too much, so some extra refactoring was also performed:

- componentWillReceiveProps is dropped
- an auxiliary component (AvatarContent) is used for the actual content of the
  Avatar, with the former passing the key prop to the latter

Using the key prop ensures AvatarContent will be recreated if the URI changes,
which is not a bad idea anyway, since the new image needs to be downloaded.
2018-12-18 09:05:50 +01:00
..
components rn: refactor Avatar to deal with FastImage changes 2018-12-18 09:05:50 +01:00
actionTypes.js [WEB] add UI for transcription (#3213) 2018-07-26 09:33:40 -07:00
actions.js [WEB] add UI for transcription (#3213) 2018-07-26 09:33:40 -07:00
constants.js feat: add join/leave sounds on mobile 2018-03-13 16:57:28 -05:00
functions.js fix(filmstrip): show thumbnails in 1-on-1 with a fake participant 2018-11-27 12:31:27 -08:00
index.js ref(avatar): Move Avatar and Participant view to base/participants 2017-03-02 16:57:43 -06:00
middleware.js feat(App): refactor App and split it into BaseApp and App 2018-07-12 11:28:19 -05:00
reducer.js feat(callee-info): Redesign. 2018-07-09 20:22:43 -05:00
sounds.js fix(RN): bundle sound files in release build 2018-04-10 10:59:52 +02:00