Commit Graph

226 Commits

Author SHA1 Message Date
Saúl Ibarra Corretgé 1c79e6baa3 fix(rn,lobby) use a header for the main lobby screen
It allows us to place the Cancel button there, and declutter the UI of
buttons.
2022-05-02 16:29:40 +02:00
Saúl Ibarra Corretgé 721f4dc3d3 feat(rn,ui) use dark gray for screen headers
Skip the welcome page for now, until we can remove the audio / video
toggle.
2022-05-02 16:01:40 +02:00
Calin Chitu 3e004811e0 feat(lobby/native) LobbyScreen and LobbyChatScreen 2022-04-26 14:55:15 +03:00
Saúl Ibarra Corretgé 3097ac8cc4 fix(ios) fix not showing the CarPlay audio interface 2022-04-08 17:29:53 +02:00
Calinteodor 7c523f3250
language(typescript) actionTypes.js -> actionTypes.ts (#10940)
* language(typescript) first ts component, added ts configurations, actionTypes.js are now ts files
2022-04-08 15:24:58 +03:00
Saúl Ibarra Corretgé 23f40db889 feat(rn,deps) update React Native to 0.67 2022-04-07 10:35:51 +02:00
Saúl Ibarra Corretgé a451923ec9 fix(rn,polyfills) remove no longer needed polyfill 2022-04-07 10:35:51 +02:00
Robert Pintilii 1355876f83
feat(gif, rn) Added GIPHY integration on native (#11236)
Update Android build to support gif
Use GIF format instead of animated webp
Show GIFs in chat messages
Display GIF over tile
Add Giphy button in reactions menu
Added Giphy dialog
Fix isGifMessage to also allow upper case
2022-03-30 16:54:03 +03:00
Saúl Ibarra Corretgé 26b3eb34f0 fix(android,back-button) rework back button handling on Android
We used to have a registry which registered a single handlerwith RN.
THis was registered really early in the app.

When React Navigation was introduced we ddidn't realize it interacts
with the back button. In a stack nagigator it will navigate to the
previous screen. This meant our back button handling was broken.

This commit removes our previous registry and uses the RN back button
handler directly in the 2 components that use it: the conference and
bottom sheets.

Since these handlers are registered after navigation, our handlers are
going to run first so we cna implement the behavior we need, namely to
dismiss an open botom sheet or set the conference in PiP mode.
2022-03-29 14:33:25 +02:00
Calin Chitu ccf7939316 fix(mobile/navigation) - fixed bottom color glitch 2022-03-23 16:37:24 +02:00
Saúl Ibarra Corretgé 21083e6777 fix(mobile,navigation) remove end meeting page
It will just flash for a split second and all it does is dispatch
readyToClose, so do it directly instead.
2022-03-22 12:10:38 +01:00
Calin Chitu a3c60d5943 fix(mobile/navigation/sdk) - simplified check for sdk 2022-03-22 12:10:38 +01:00
Calinteodor 5da40a5fb0
fix(mobile/navigations) added LoadConfigOverlay to RootNavigator (#11067)
Converted LoadConfigOverlay to a JitsiScreen component that right now is part of navigation as ConnectingPage, plus I
separated appNative and other actions into web and native.
2022-03-17 16:13:58 +02:00
Mihaela Dumitru 98256a8d5b
feat(salesforce) - link resources to the current session (#10992) 2022-03-08 11:10:30 +02:00
Calinteodor 577d62ea53
feat(filmstrip/toolbox) mobile ui updates (#11051) 2022-03-01 17:41:45 +02:00
Calin Chitu 9651229a17 fix(calendar-sync) fixed pull to refresh on Calendar List mobile 2022-02-22 17:09:38 +02:00
Saúl Ibarra Corretgé c84e6eecdd feat(rn) drop incoming call handling
This "feature" has been dead (and most likely buggy) for years. The
recommended way is for apps to implement their own incoming call
handling and then call into the JitsiMeetActivity. We did not have those
APIs back then.
2022-02-22 13:54:21 +01:00
Calin Chitu e8e62a0213 feat(welcome) updated mobile ui styles 2022-02-21 16:37:37 +02:00
Calinteodor b1be511d67
Mobile UI polish (#10982)
Updated screens with new ui on mobile
2022-02-17 16:51:00 +02:00
Calin Chitu eb720d5ddc feat(navigation) two actions screen header buttons ui updates 2022-02-11 12:06:56 +02:00
Calin Chitu 06bd279f22 feat(dialog) refinaments 2022-02-08 17:38:14 +02:00
Calin Chitu 8a6b6f2942 feat(dialog) start recording/live stream screens, new AlertDialog 2022-02-08 14:41:34 +02:00
Calin Chitu 40f5f4cd0d feat(welcome) blur room name input onListContainerPress 2022-02-01 16:12:55 +02:00
Saúl Ibarra Corretgé 95d4c8ffb8 fix(rn,navigation) fix navigating back to the welcome page
The CONFERENCE_WILL_LEAVE reducer in base/conference wipes the state so
we cannot rely on the old room value.

We may want to revisit this in the future.
2022-01-25 16:22:24 +01:00
Saúl Ibarra Corretgé 19e510a762 fix(rn,settings-drawer) allow for more width 2022-01-25 14:36:59 +01:00
Calinteodor b9433368ee
feat(rn,app) unified navigators 2022-01-25 13:55:57 +01:00
Saúl Ibarra Corretgé 931ef75b4f feat(rn) use the TSC generated lib-jitsi-meet bundle
This way we'll have proper tracebacks now.
2022-01-25 12:15:35 +01:00
Saúl Ibarra Corretgé d121a63341 feat(rn) update React Native to version 0.66 2022-01-20 11:43:17 +01:00
Saúl Ibarra Corretgé 0e545ef253 fix(rn) remove no longer needed hack 2022-01-20 11:43:17 +01:00
Saúl Ibarra Corretgé 9c5b5e5b75 feat(rn,overflow-menu) remove duplicated buttons from overflow menu
The audio route selector is how in the header.

The mute options are in the participants pane, with the rest of the
moderation controls.
2022-01-13 15:47:32 +01:00
Robert Pintilii eb010061e0
feat(title-bar) Updated title bar (#10752)
Only display Picture-in-Picture button when feature is available
Moved conference timer before title
Created new always-on container for labels
Moved recording labels to always-on
Updated expanded label to support new always-on labels
Added raised hands counter label
Added speaker - earpiece toggle button
Lifted state up
2022-01-13 14:15:53 +02:00
tmoldovan8x8 307e253276
fix(rn, web) await initialisation before dispatching appWillMount 2022-01-07 15:18:24 +02:00
Saúl Ibarra Corretgé b6501412c4 chore(deps) react-native-watch-connectivity @ 1.0.4 2022-01-06 13:10:32 +01:00
Saúl Ibarra Corretgé 40a76940ac fix(rn,external-api) remove dead code 2021-12-02 13:26:15 +01:00
tmoldovan8x8 73fb586d59
fix(external-api) send AUDIO_MUTED_CHANGED event only when value changed 2021-11-26 12:09:21 +02:00
Alex Bumbu 6cd6c0a043 fix(ios) avoid creating CXProvider objects when CallKit is disabled
Co-authored-by: Saúl Ibarra Corretgé <saghul@jitsi.org>
2021-11-26 10:47:03 +01:00
Saúl Ibarra Corretgé d7b581e338 feat)rn,sdk) introduce a "ready to close" event
This event is the event host applications need to listen to for knowing when to
dispose the SDK from now on.

Since the introduction of breakout rooms it's possible that we navigate from one
meeting to another, so there will be several conference join / terminations.

In addition, local track destruction is now moved to SET_ROOM when there is no
room, aka, we are going back to the welcome page or to the black page.
2021-11-24 09:58:48 +01:00
Saúl Ibarra Corretgé 8f08a54fb2 chore(deps) adapt to logger package rename 2021-11-10 14:40:17 +01:00
tmoldovan8x8 243aa20912
bugfix(rn) sends CONFERENCE_TERMINATED to native after dismissing the ReloadOverlay 2021-11-10 13:34:16 +02:00
Pavol Cvengros 2d27195652 chore(deps) update uuid package to 8.3.2
Co-authored-by: Saúl Ibarra Corretgé <saghul@jitsi.org>
2021-11-10 11:35:20 +01:00
Saúl Ibarra Corretgé 162a67fe8b chore(lint) tame the (uppdated) linter 2021-11-09 09:43:55 +01:00
Saúl Ibarra Corretgé 6e55351e68 chore(deps) uppdate xmldom
The previous package has become unmaintained and it has a new home now.
2021-10-21 02:45:33 +02:00
Saúl Ibarra Corretgé 19e7f07b32 fix(ios) fix black screen when using Bluetooth in iOS 15
Fixes: https://github.com/jitsi/jitsi-meet/issues/9996

On iOS 15 Bluetooth devices are reported twice for some reason, one with the
normal type "Bluetooth" but another type without a know (to me) type, and the
uid ends in "-reference".

While we send those unkwno devices to JS, we were not filtering them properly.
This patch skips them altogether.
2021-09-23 14:15:41 +02:00
Saúl Ibarra Corretgé 3bf1a1774f fix(rn,polyfills) fix Performance polyfill
We need to re-override now() to avoid a recursion error. Also I missed the
default export.
2021-09-09 16:41:44 +02:00
Saúl Ibarra Corretgé 49be96799a feat(rn) add polyfill for the performance API
Implements: https://developer.mozilla.org/en-US/docs/Web/API/Performance
Ref: https://github.com/oblador/react-native-performance
2021-09-09 10:07:52 +02:00
Saúl Ibarra Corretgé 8db6e783f1 fix(rn,external_api) skip participant notifications when not in a meeting 2021-09-01 23:35:06 +02:00
Saúl Ibarra Corretgé 5c1e2b4bd2 fix(AudioRoutePickerDialog) add proper margin 2021-08-19 10:47:53 +02:00
Pierre d6b5687828
fix(misc) fix typeof comparison to undefined 2021-08-06 09:51:54 +02:00
Saúl Ibarra Corretgé eb16f93153 fix(rn,polyfills) remove no longer needed hack
With react-native-webrtc 1.89.2 the remote SDP is properly updated before
onaddstream is fired so it's no longer needed.

Also, for readability, IPv6 address synthesis has been moved to a standalone
utils file.
2021-07-26 16:16:27 +02:00
Hristo Terezov 0bdc7d42c5
feat: Participants optimisations (#9515)
* fix(participants): Change from array to Map

* fix(unload): optimise

* feat: Introduces new states for e2ee feature.

Stores everyoneSupportsE2EE and everyoneEnabledE2EE to minimize looping through participants list.

squash: Uses participants map and go over the elements only once.

* feat: Optimizes isEveryoneModerator to do less frequent checks in all participants.

* fix: Drops deep equal from participants pane and uses the map.

* fix(SharedVideo): isVideoPlaying

* fix(participants): Optimise isEveryoneModerator

* fix(e2e): Optimise everyoneEnabledE2EE

* fix: JS errors.

* ref(participants): remove getParticipants

* fix(participants): Prepare for PR.

* fix: Changes participants pane to be component.

The functional component was always rendered:
`prev props: {} !== {} :next props`.

* feat: Optimization to skip participants list on pane closed.

* fix: The participants list shows and the local participant.

* fix: Fix wrong action name for av-moderation.

* fix: Minimizes the number of render calls of av moderation notification.

* fix: Fix iterating over remote participants.

* fix: Fixes lint error.

* fix: Reflects participant updates for av-moderation.

* fix(ParticipantPane): to work with IDs.

* fix(av-moderation): on PARTCIPANT_UPDATE

* fix(ParticipantPane): close delay.

* fix: address code review comments

* fix(API): mute-everyone

* fix: bugs

* fix(Thumbnail): on mobile.

* fix(ParticipantPane): Close context menu on click.

* fix: Handles few error when local participant is undefined.

* feat: Hides AV moderation if not supported.

* fix: Show mute all video.

* fix: Fixes updating participant for av moderation.

Co-authored-by: damencho <damencho@jitsi.org>
2021-07-09 15:36:19 +03:00