Commit Graph

353 Commits

Author SHA1 Message Date
Gleidson Daniel Silva 02b3afda3c
feat: remove rn-fetch-blob (#5669)
* feat: remove rn-fetch-blob

* fix types

* jest
2024-05-20 15:21:31 -04:00
Diego Mello 224c054b04
chore: Bump version to 4.49.0 (#5673) 2024-04-30 13:53:10 -03:00
Diego Mello 1a5ce690c3
chore: Bump version to 4.48.0 (#5631)
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2024-03-21 15:53:12 -03:00
Diego Mello 63c61e439b
chore: Set version to 4.47.2 (#5628) 2024-03-21 12:49:21 -03:00
Diego Mello 6339a0782b
chore: Bump version to 4.48.0 (#5626) 2024-03-20 17:20:46 -03:00
Diego Mello af3e78f24f
chore: Set version to 4.47.1 (#5622) 2024-03-20 11:05:14 -03:00
Diego Mello b5cef460f5
chore: Bump version to 4.48.0 (#5615) 2024-03-12 11:14:47 -03:00
Diego Mello 65660f530a
chore(Android): Update CircleCI images (#5587) 2024-02-23 08:52:32 -03:00
Diego Mello 8dcc939287
chore: Bump version to 4.47.0 (#5513) 2024-01-25 10:45:00 -03:00
Gleidson Daniel Silva 4b9e4d123c
chore: update react-native-screens from 3.13.1 to 3.29.0 (#5506)
* chore: update react-native-screens from 3.13.1 to 3.29.0

* set material library version to 1.6.0
2024-01-22 17:37:43 -03:00
Diego Mello 4b46aefd95
chore: Bump version to 4.46.0 (#5484) 2024-01-15 18:14:41 -03:00
Reinaldo Neto 2dc52b26b6
fix: download gif files (#5445)
* fix: download gif files

* add test for gif extension

* fix the gif animations at android devices

* remove the space

Co-authored-by: atulsingh98 <atulsingh.17is@saividya.ac.in>
2024-01-03 17:48:58 -03:00
Diego Mello a7d81dd2f5
chore: Bump version to 4.45.0 (#5440) 2023-12-27 09:20:18 -03:00
Diego Mello 7819dfbc1c Bump version to 4.44.2 2023-12-26 18:06:29 -03:00
Diego Mello 734eb278a3
chore: Set version to 4.44.1 (#5432) 2023-12-26 13:29:32 -03:00
Diego Mello c7fc819f66
chore: Bump version to 4.45.0 (#5411) 2023-12-18 16:22:49 -03:00
Gleidson Daniel Silva e295cbbcc6
fix: add type checking on notificationType (#5376)
* add typecheking on notificationType

* add typecheking using instanceOf
2023-12-01 13:41:01 -03:00
Gleidson Daniel Silva 31ed940426
feat (Android): mobile ringer (#5286) 2023-11-24 09:46:58 -03:00
Diego Mello 698973fbe2
fix(Android): Deep links not working on Android 12 (#5357) 2023-11-22 17:44:03 -03:00
Diego Mello 4a98961da1
chore: Bump version to 4.44.0 (#5358) 2023-11-22 11:53:30 -03:00
Gleidson Daniel Silva 6a1205afcc
fix: call media permissions in android 13+ (#5326)
* add android permissions

* create askAndroidMediaPermissions helper

* ask android permission

* fix i18n import

* remove useless const

* wip

* revert login changes
2023-11-20 13:07:33 -03:00
Reinaldo Neto 0a75a6615c
feat: new audio player (#5160)
* feat: media auto-download view

* media auto download view completed and saving the settings in mmkv

* audio download preference

* audio auto download when the user who sent the audio is the same logged on mobile

* creation of isAutoDownloadEnabled, evaluate hist hook, Image Full Size preload done

* minor tweak audio show play button after download

* refactor audioFile to handleMediaDownload and fixed the audio download

* desestructured params to download too

* image download and autoDownload, algo fix the formatAttachmentUrl to show the image from local

* add the possibility to cancel image download and clear local images

* refactor blur component

* video download and auto download, also keeped the behavior to download unsuportted videos to the gallery

* add the possibility to start downloading a video, then exit the room, back again to room and cancel the video previously downloading

* remove the custom hook for autoDownload

* remove blurcomponent, fix the blur style in image.tsx, minor tweak video function name

* send messageId to video

* introducing the reducer to keep the downloads in progress

* create a media download selector

* remove all the redux stuff and do the same as file upload

* video download behavior

* done for image and audio

* fix the try catch download media

* clean up

* image container uiKit

* fix lint

* change rn-fetch-blob to expo-filesystem

* add pt-br

* pass the correct message id when there is an attachment on reply

* refactor some changes requested

* fix audio and move the netInfo from autoDownloadPreference to redux

* variable isAutoDownloadEnable name and handleMediaDownload getExtension

* message/Image refactored, change the component to show the image from FastImage to Image

* refactor handleMediaDownload and deleteMedia

* minor tweak

* refactor audio

* refactor video

* fix the type on the messagesView(the view of files)

* minor tweak

* fix the name of searchMediaFIleAsync's result

* minor tweak, add the default behavior, add the OFF as label

* minor tweaks

* verify if the media auto download exists on settings view

* fix media auto download view layout and minor tweak wifi

* avoid auto download from reply

* minor tweak at comment

* tweak list.section

* change the name to netInfoState and Local_document_directory

* remove mediaType and refactor audio and image

* separate blurview

* thumbnail video and video behavior

* add Audio to i18n and minor tweak

* set the blur as always dark and add the possibility to overlay

* don't need to controle the filepath in the view

* fix the loading in image and video at begin

* save the file with a similar filename as expected

* removed the necessity of messageId or id

* minor tweak

* switch useLayoutEffect to useEffect

* avoid onpress do some edge case because of cached at video

* minor tweak

* tweak at audio comment extension

* minor tweak type userpreferences

* remove test id from mediaAutoDownloadView

* change action's name to SET_NET_INFO_STATE

* caching and deleting video's thumbnails

* remove generate thumbnail

* minor tweak in image

* update camera-roll and save the file from local url

* remove local_cache_directory and deleteThumbnail

* update blur to fix error on android

* first commit

* fix togglePlayPause

* separate audio to a folder inside components and minor tweak attachment

* created the slider with text

* play/pause button, currentTime equal the sound, can change the slider and reflect to the sound

* play/pause, track is working and onEnd

* update the icons with play-shaped-filled, pause-shape-filled, loading

* start the tweaks on layout

* can play multiple audios, pausing the previous to execute the new one

* loading animated

* added the audio rate

* layout fixed

* removed the sound manipulation from Slider to manipulate only in the index

* fix time margin horizontal

* fix play 2 audios and play/pause properly

* change the way we treat the audio

* remove audio copy

* minor tweak

* fix rate state

* remove the PAUSE_AUDIO

* fix unloadAll, add hit slop to slider, show the duration on the first render

* refactor colors to be the same as figmas name

* change the class' name and add the method pauseCurrentAudio

* pause audio when unmount a RoomView and unloadAll when focusing at RoomsListView

* pause audio when entering a thread

* fix where call the pauseCurrentAudio

* moved the player from messageAudio to audioPlayer

* refactor audio component

* remove loading

* update snapshot

* fix colors name

* pauseAudio when roomview is blur

* moved audio from message/component/audio to message/Audio

* add navigation focus to AudioPlayer component and fix the jest

* add the { androidImplementation: 'MediaPlayer' }

* fix action sheet swipe 02-room

* fix action sheet swipe 05-threads

* tweak touchable

* remove react.memo from playbutton

* hitSlop

* speed playback from array

* textinputprops

* tweak at names

* minor tweak at onEnd

* minor tweak at names

* update styles

* thumb seek size

* change marginBottom

* add the clamp, adjust the thumb position, remove the necessity of OnEndGestureHandler

* change the utils to constants

* change to audioState

* fix the seek for android

* TDownloadState

* speed array

* pause audio from messagesView when open the files

* update test

* minor tweak

* change the time after ony one click, fixes the thumb to move sync with the click

* Fix seek

* minor tweak Sound to Audio.Sound

* name of Icon

* enable PlaybackSpeed only when playing the audio

* playbackSpeed to mmkv

* mock implementation

* create native button

* minor tweak

* minor tweaks

* playbackSpeed after loadAudio

* avoid show the error when try to setRate without audio

* add messageID to differ audios inside a quote/forward from original one

* unloadRoomAudios instead of unloadAllAudios inside the roomsListView

* minor tweak

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-11-20 11:13:15 -03:00
Diego Mello b205b54e3b
chore: Bump version to 4.43.0 (#5341) 2023-11-14 10:35:20 -03:00
Diego Mello 629b8727d2
fix: Catch cloud request errors (#5312) 2023-11-13 13:23:46 -03:00
Diego Mello 2589707929
chore: Bump version to 4.42.0 (#5258) 2023-10-05 10:40:59 -03:00
Diego Mello 3f476871bd
chore: Bump version to 4.41.0 (#5193) 2023-08-29 11:48:44 -03:00
Gleidson Daniel Silva 1de24befe5
feat: Add support to Android themed icons (#4932)
* add monochrome icon

* fix android icons

* revert ic_launcher_foreground.xml

* Update ic_launcher_round.xml

* Update ic_launcher_round.xml
2023-08-21 14:18:38 -03:00
Diego Mello 529891fcc0
regression: Rollback to React Native 0.69.8 (#5162) 2023-08-18 14:48:33 -03:00
Gleidson Daniel Silva cbbea73374
feat: add new video conf block - Issue (#5150)
* improve build-icon-set script

* update mappedIcons with new icons, and orderBy name

* add new icons fonts

* add phone-issue icon

* create VideoConferenceIssue block

* verify error and return issue block
2023-08-09 16:15:10 -03:00
Gleidson Daniel Silva 7affa268fa
fix: reply from a push is sent to the correct destination (#5152)
* add tmid to msg json body

* add tmid to ios reply

* remove unused param
2023-08-09 15:18:50 -03:00
Reinaldo Neto 278ed91f9a
feat: forward message (#5110)
* feat: share message

* index, selectPersonOrChannel, types

* share a message using the chat.postMessage and refactor the interfaces

* minor tweak

* removed rid in from select person or channel

* change title

* add pt-br translation

* compareServerVersion GTE 6.2.0

* test for sharemessage

* view to masterDetail

* fix podfile

* change from forward message to share message

* change from share to forward

* refactor the forward message view, tweak on some styles and add the cleanUpMessage

* minor tweak

* refactor to add MessagePreview and use the same message/index

* fix e2e test

* add the capability to filter the subscsription if the room is read only or not

* minor tweak

* fix disable the send button and add message has been shared

* add try catch and toast or alert

* fix interface
2023-08-04 11:09:36 -03:00
Gleidson Daniel Silva 48acd0669e
fix: enable android 13 notifications (#5118)
* set target 33

* update cameraroll

* wip

* ask android push permission

* test
2023-07-12 15:28:25 -03:00
Gleidson Daniel Silva 223550d88c
feat: Add caller and ringer to video conf calls (#5046)
* add expo camera and use camera on call init action sheet

* fix permissions

* set colors when calling

* update @react-native-community/hooks lib

* move to useWindowDimensions

* create action to handle video-conf calls

* create videoConf reducer

* add typed-redux-saga lib

* fix return

* change videoConf saga to TS

* fix TS target

* update action and types

* create actionSheetRef

* add notifyUser api

* export video conf types

* add action prop

* use new reducer prop

* add videoConferenceCancel and add allowRinging to videoConferenceStart

* temp-patch

* add locales

* add handler to videoconf message

* fix rest types

* add message types

* path to remove component from dom

* remove notification when is videoconf

* create sound hook

* create dots loader

* update call translation

* the end is near

* move to confirmed

* better code reading

* fix call type

* fix tests

* update podfile

* wip

* fix call order

* move colors

* move to jsx

* fix colors

* add pt-br

* remove patch and point

* fix colors

* fix expo camera

* move to style

* remove unused styles

* update types and style

* wip

* rename IncomingCallComponent

* add custom notification

* wip

* fix naming

* fix styles

* fix import

* fix styles

* change colors

* fixa ringing

* fix import

* organize

* fix sizes

* use realName

* fix spacing

* fix icon size

* fix header gap

* changeColor

* fix safeArea

* set calling only on direct calls

* change ringer to be a component

* cancel call on swipe

* remove join on direct calls

* add props

* update package
2023-07-03 21:03:39 -03:00
Diego Mello e9ee68ee53
Bump version to 4.40.0 (#5112) 2023-06-20 16:19:14 -03:00
Diego Mello 0079229a34
chore: Upgrade React Native to 0.71.7 (#4984) 2023-05-18 18:09:33 -03:00
Diego Mello b684610887
chore: Bump version to 4.39.0 (#5071) 2023-05-12 13:51:19 -03:00
Diego Mello f23161417a
chore: Bump version to 4.38.0 (#5066) 2023-05-10 20:29:55 -03:00
Diego Mello 53ee79799a
fix(Android): Wrong icon on push reply fail (#5055) 2023-05-10 14:28:14 -03:00
Gleidson Daniel Silva fcc6f09875
feat: Remove Jitsi native module from iOS and use webview instead (#5061) 2023-05-08 10:45:46 -03:00
Gleidson Daniel Silva 19360e6ee5
Revert "fix: scroll the pages New Message, Search for Rooms, Messages and Threads (#4952)" (#5038)
* Revert "fix: scroll the pages New Message, Search for Rooms, Messages and Threads (#4952)"

This reverts commit cf14ebea78.

* bump version to 4.37.1
2023-04-18 09:46:53 -03:00
Diego Mello 059782eae4
Bump version to 4.38.0 (#5027) 2023-04-12 17:38:02 -03:00
Diego Mello 412f62eb2a
Chore: Update Detox to 20.1.2 (#4866) 2023-03-07 09:28:51 -03:00
Diego Mello 27efa89dac
Bump version to 4.37.0 (#4938) 2023-03-02 13:22:40 -03:00
Gleidson Daniel Silva 58f28fb488
[FIX] Remove some permissions and keep only basic Bluetooth permission on Android (#4912) 2023-02-15 14:19:44 -03:00
Diego Mello 8c47187f70
[NEW] Presence Cap (#4900) 2023-02-14 10:47:56 -03:00
Diego Mello 59c76d3956
Bump version to 4.36.0 (#4884) 2023-02-02 16:51:16 -03:00
Diego Mello 4de7c83e80
Bump version to 4.35.1 (#4871) 2023-01-30 15:10:09 -03:00
Diego Mello 26c8931563
Bump version to 4.36.0 (#4854) 2023-01-24 13:25:13 -03:00
Gleidson Daniel Silva fbb05fa0d3
Regression: Add bluetooth permissions for Jitsi (#4796)
* add blt permissions

* Update AndroidManifest.xml

* add blt permissions

* remove wrong permission
2023-01-16 10:17:52 -03:00
Diego Mello 73557038a2
[FIX] Flipper on Android (#4771) 2022-12-21 17:35:45 -03:00