Commit Graph

284 Commits

Author SHA1 Message Date
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
Saúl Ibarra Corretgé e61ccc956f feat(android) make application more akin to a greenfield RN app
Few (but some) RN modules rely on the main Application implementing
ReactApplication.

For Detox to actually work on Android we need the app to be a greenfield
app. Specifically, the main Application must implement ReactApplication.

In order to satisfy this requirement we are introducing a helper
ReactNativeHost implementation which encapsulates our RN integration,
which is what the ReactApplication needs to expose.

While we don't really need this ourselves (except if we end up adopting
Detox) we have known people who fork our app and add dependencies that have
this requirement to it, so this change will help them too.
2022-02-22 13:46:28 +01:00
Saúl Ibarra Corretgé 6aa0e3902a fix(android) initialize the fatal exception handler early 2022-02-22 13:46:28 +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é 61ae909ed5 chore(deps,rn) update navigation librarries to their latest versions
React Navigation v6.
2022-01-10 19:21:51 +01:00
Saúl Ibarra Corretgé 90321ca016 feat(rn) update React Native to version 0.63
I'm updating to RN 0.63 instead of the latest (0.66 at the time of this writing)
so we can update the navigation related libraries to their latest versions, and
then proceed with the larger leap towards the latest RN.
2022-01-10 19:21:51 +01:00
Saúl Ibarra Corretgé b8469545f3 fix(rn,android) adjust changed package names 2022-01-06 14:39:34 +01:00
Calinteodor bf3cc65f4c
feat(security) created SecurityOptions React Navigation screen (#10509)
* feat(security) Security Options screen
2021-12-10 18:23:27 +02:00
tmoldovan8x8 0a65ec1dfa
fix(android) set facebook groupId for all react-native dependencies 2021-11-25 14:55:24 +02:00
titus.moldovan 64e504f349 fix(android) fixes error in BroadcastEvent 2021-11-24 11:29:56 +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é c843744df1 fix(rn,sdk) drop deprecated option enableWelcomePage
It got replaced by a feature flag.
2021-11-23 13:49:14 +01:00
Saúl Ibarra Corretgé f6f7406d24 fix(rn,sdk) remove deprecated color scheme prop
It has been non-functional for a while.
2021-11-23 13:49:14 +01: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
Calinteodor 9df59b4a6f
feat(conference) added React Navigation
Introduce navigation for all in-conference screens.
2021-10-20 21:29:21 +02:00
tmoldovan8x8 3b33ba3f5d
feat(android) adds initializer for SoLoader.init 2021-10-07 11:56:19 +03:00
tmoldovan8x8 6124e72f21
feat(android) extract notification channel name 2021-10-01 10:17:23 +03:00
tmoldovan8x8 fc6c389902
feat(android) target sdk 31 2021-09-30 14:24:01 +03:00
titus.moldovan e38a9c3525 fix(android) removes unnecessary parcel processing 2021-09-28 12:39:49 +02:00
Saúl Ibarra Corretgé 06d8956bdb android: fix initializing soloader from Activity context
It has to be an application context.
2021-09-17 13:43:45 +02:00
tmoldovan8x8 8eaf99586e
fix(rn) disable pip while authorising dropbox 2021-09-14 12:37:08 +03:00
tmoldovan8x8 c7ad5b5b26
feat(android) expose channels ids 2021-09-14 12:35:25 +03: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
tmoldovan8x8 452b1b7e2e
fix(android): renames amplitudereactnative project to use react-native- pattern 2021-09-06 12:29:58 +03:00
tmoldovan8x8 83a1ee1182
task(rn, android): update dropbox logic to retrieve refresh token 2021-09-01 15:21:03 +03:00
Saúl Ibarra Corretgé c03fb61c5f fix(rn,reactions) fix copying sounds to app bundles 2021-08-26 17:32:34 +02:00
Saúl Ibarra Corretgé 7d6365c5e0 fix(android) avoid exception in onHostPause
YOLO.
2021-08-26 16:34:53 +02:00
Saúl Ibarra Corretgé 08177af182
fix(rn,amplitude) update Amplitude SDK on RN
Amplitude has gone back to having a separate package for RN, so switch to it.
2021-08-20 15:24:34 +02:00
tmoldovan8x8 ae33755913
feat(rn,sdk) add setConfigOverride to JitsiMeetConferenceOptions
Allows for overriding any (overridable, of course) config option.
2021-08-13 12:03:41 +02:00
Avram Tudor e421a119e1
feat(share-video) Allow sharing direct video links (mp4 etc) on mobile (#9511)
* feat(share-video) Allow sharing direct video links (mp4 etc) on mobile

* fix linting

* code review
2021-08-02 15:55:52 +03:00
Calinteodor d6c821d524
feat(participants-pane) updates
- Fixed react native community slider to work on both android and ios
- Removed InviteButton from native menus
- Fixed buttons spacing in native OverflowMenu
- Participant context menu details are shown only for remote participants
2021-07-27 16:08:33 +02:00
Mircea Sotan 8f81a75a61
fix(android): Fix install error on application compiled against Android S - Targeting S+ (version 10000 and above) requires that an explicit value for android:exported be defined when intent filters are present 2021-07-15 14:48:46 +03:00
lala 35c7f156db fix(i18n): LocaleDetector should consider the language tag 2021-06-24 12:41:17 +03:00
Alex Bumbu cf37d34923 fix(ios) fix leaving the meeting when screen-sharing 2021-04-28 13:33:11 +02:00
tmoldovan8x8 a1d3870634
feat(external_api): add videoMuted event and action (#8862) 2021-03-23 15:30:17 +02:00
Jake Breen f3c1b8ac08
fix(android) apply flags when launching activity from non-activity context
Check whether context is that of an Activity before launching the Jitsi Conference Activity. If context is not an activity context, apply flag FLAG_ACTIVITY_NEW_TASK to the Jitsi Activity Intent to ensure activity can launch without error.

This scenario would manifest when a user attempts to launch the Jitsi Actvity from a Widget... for example.

https://developer.android.com/about/versions/pie/android-9.0-changes-all#fant-required
2021-03-22 12:59:43 +01:00
Saúl Ibarra Corretgé 8da154b185 fix(android) remove leftover package 2021-03-19 12:58:47 +01:00
Saúl Ibarra Corretgé 2f5ab2757f feat(rn,ui) get rid of the gradients 2021-03-19 11:32:00 +01:00
tmoldovan8x8 8defaa9aec
feat(android): adds timer to OngoingNotification 2021-03-16 12:13:37 +02:00
tmoldovan8x8 f71e8a9982
feat(mobile) adds actions and events for the chat 2021-02-17 16:26:40 +02:00
tmoldovan8x8 d2568b874b
feat(mobile) adds ability to retrieve participantsInfo array 2021-02-04 14:26:35 +02:00
Andrzej Moskal 87f688dc8f fix(android) add ability to localize notification actions strings 2021-02-03 10:58:05 +01:00
Titus-Andrei Moldovan 45f4643469 feat(mobile) adds ToggleScreenShare event and action. 2021-01-29 12:45:53 +02:00
tmoldovan8x8 61037b982b
feat(mobile) adds ability to send and receive text messages (#8425) 2021-01-20 14:06:45 +02:00
tmoldovan8x8 5ef60c3a7d
[WIP] adds BroadcastService (#8336)
feat(external_api) exposes more events from JS to native and adds the ability to send actions from native to JS.
2021-01-13 15:48:29 +02:00
Saúl Ibarra Corretgé 1ec8f70d55 fix(libre-build) skip spurious Firebase and GCM dependencies
Fixes: https://github.com/jitsi/jitsi-meet/issues/8353
2021-01-12 14:55:47 +01:00
Saúl Ibarra Corretgé a01e3e9d8a fix(android) avoid crashes if view is null
This may happen due to API misuse, but also in complex applications where
activity lifetimes are not straightforward.
2020-12-22 13:53:39 +01:00
Saúl Ibarra Corretgé 687a6c31ee feat(analytics) unify Amplitude handlers across web and mobile
The amplitude-js library gained React Native support so there is no need to keep
separate implementations.
2020-12-22 10:36:10 +01:00
Saúl Ibarra Corretgé baa39896f1 fix(android) set stream type hardware buttons should control
Ref:
https://developer.android.com/reference/android/app/Activity#setVolumeControlStream(int)
2020-11-26 16:30:01 +01:00
Saúl Ibarra Corretgé 3725f698e4 fix(android) reset audio route after audio focus was lost
Looks like audio devices must be re-set after focus was lost and regained.
Otherwise some devices (tested on a Samsung Galaxy S9) are in a weird state
where the second microphone is not used when speakerphone is on.
2020-11-26 15:33:36 +01:00