Commit Graph

265 Commits

Author SHA1 Message Date
Saúl Ibarra Corretgé 768cca6162 fix(android) fix crash in Android < 10
Activity.registerActivityLifecycleCallbacks is only available in API level 29.

Ref: https://developer.android.com/reference/android/app/Activity.html#registerActivityLifecycleCallbacks(android.app.Application.ActivityLifecycleCallbacks)
2022-10-11 11:16:00 +02:00
Horatiu Muresan fb2cfaa204 fix(carmode) Force portrait when in carmode 2022-09-22 17:17:19 +03:00
Saúl Ibarra Corretgé 73ab43ac0c feat(android) disable volume logger thread 2022-09-19 15:01:47 +02:00
Stefan Weil 882d343e8b
chore(typos) fix some typos 2022-08-30 16:21:58 +02:00
Calinteodor 5ec6581d2e
feat(welcome/native): settings updates (#11830)
feat(settings/native): feature updates
2022-07-28 10:28:29 +03:00
Saúl Ibarra Corretgé 2def75db50 fix(android) exclude the Giphy SDK from the libre build
Fixes: https://github.com/jitsi/jitsi-meet/issues/11759
2022-07-21 12:51:43 +02:00
Saúl Ibarra Corretgé cbe3d6d505
feat(rn) remove use of externalAPIScope
Use the system broadcasting mechanism instead.

On Android I took the chance and removed the no longer needed
BaseReactView and implemented it on JitsiMeetView instead.
2022-07-05 11:40:03 +02:00
Saúl Ibarra Corretgé 0913cf2c4f fix(android) make ongoing service public
Those using the view API may want to integrate iit in their own
Activity.
2022-07-01 11:58:18 +03:00
tmoldovan8x8 51f7b46628
fix(android) explicitly sets the theme for JitsiMeetActivity 2022-06-30 16:44:52 +02:00
tmoldovan8x8 4d6ca4383f
fix(android) calls startForeground in onCreate
Call startForeground in onCreate to avoid android.app.RemoteServiceException thrown by the system.
2022-06-23 09:41:32 +02:00
Titus Moldovan 44a9363f5b feat(mobile, external_api) exposes setClosedCaptionsEnabled 2022-06-21 16:18:31 +02:00
Titus Moldovan b428ce2dcd fix(pip) make PiP disabled by default
This reverts commit c84c3c61e2c24014b43023316627f7747bbca7a6.
2022-06-21 10:36:21 +03:00
Titus Moldovan d31eb3b248 fix(android) parse initial isAudioMuted when starting JitsiMeetOngoingConferenceService 2022-06-16 11:54:25 +03:00
Saúl Ibarra Corretgé 9f3965800c feat(deps,rn) update React Native to version 0.68.1 2022-04-29 10:54:16 +02:00
Saúl Ibarra Corretgé 23b91c0336 fix(android) fix crash when starting foreground service
If we attempt to start it while in the background we'll get a crash. A
more elegant fix would be to wait until the app transitions to the
foreground to start it, but the crash is hurting us now.
2022-04-08 14:04:21 +02:00
tmoldovan8x8 6a1067733a
feat(android) use JitsiMeetView instead of JitsiMeetFragment 2022-03-31 17:47:40 +03: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é 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
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 83a1ee1182
task(rn, android): update dropbox logic to retrieve refresh token 2021-09-01 15:21:03 +03: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