Commit Graph

396 Commits

Author SHA1 Message Date
Gleidson Daniel Silva b0c9e16507
feat: add ios privacy info (#5680) 2024-05-21 09:30:45 -04:00
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
Djorkaeff Alexandre 77d32f4747
feat: WatchOS app (#5476) 2024-04-26 17:33:11 -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
Gleidson Daniel Silva 4ca641228c
regression: disable notifiee handler on ios devices (#5619)
* chore: test ios push

* revert notifications

* fix: disable notifiee handler on ios devices

* chore: fix notifee version

* chore: update notifee lib
2024-03-19 16:46:30 -03:00
Diego Mello b5cef460f5
chore: Bump version to 4.48.0 (#5615) 2024-03-12 11:14:47 -03:00
Reinaldo Neto 4c8caf0bfd
feat: mobile troubleshoot notifications (#5330)
* feat: troubleshoot notification (#5198)

* navigation done

* create the icon inside roomslistview, navigation to push troubleshot and layout push troubleshoot

* custom header

* fix the rooms list view header icon

* layout done

* update the pt-br i18n

* tweak on colors

* feat: create notification in room view (#5250)

* button and simple navigation done, missing master detail

* navigation

* add withTheme and colors to rightuttons

* fix e2e test

* feat: add troubleshooting to notifications pages (#5276)

* feat: add troubleshooting to notifications pages

* fix e2e test

* feat: device notification settings (#5277)

* iOS go to device notification setting to change the configuration

* go to notification settings with android

* add notifee

* add the reducer and action

* saga request done

* add the setInAlert action

* tweak at name and add focus to dispatch the request

* use the foreground inside pushTroubleShoot to request the notification and fix the icon color

* add the request at roomslistview didmount

* remove the notification modulo from android

* add patch

* minor tweak

* feat: test push notification (#5329)

* feat: test push notification

* restApi and definition

* push.info and change properly the troubleshootingNotification

* use the finally at try/catch

* minor tweak

* alert and push.info just for 6.6

* fix the react-native.config

* minor tweaks

* minor tweak

* push.test as rest api

* change the name from inAlertNotification to highlightTroubleshooting

* feat: push quota

* refactor the percentage state

* removed the push quota feature

* minor tweaks

* update the link to push notification

* the notification icon in the room header will appear if notifications are disabled or highlight troubleshoot is true

* remove push quota texts

* updated some of the push quota texts

* chore: rename highlightTroubleshooting

* chore: better prop naming

* wip

* chore: fix function name

* chore: fix colors

* fix: copy

* chore: 💅

* chore: use fork

* chore: naming

* chore: fix init

* chore: naming

* chore: naming

* Comment CE code

* Use put on troubleshooting saga

* Add db column

* fix: check notification payload

* action: organized translations

* fix: push init

---------

Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: GleidsonDaniel <GleidsonDaniel@users.noreply.github.com>
2024-03-04 08:27:24 -03:00
Diego Mello 27c716c267
chore: Use Xcode 15.2.0 on CI (#5532) 2024-02-06 17:44:55 -03:00
Diego Mello 7bf7111cfa
feat: New message composer (#5205) 2024-01-25 11:11:07 -03:00
Diego Mello 8dcc939287
chore: Bump version to 4.47.0 (#5513) 2024-01-25 10:45:00 -03:00
Reinaldo Neto 0639d22e30
fix: remove blur from attachments (#5475)
* fix: remove the blur view

* update story

* remove raect-native-blur

* update test

* change blurcomponent to overlaycomponent

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-01-22 18:53:01 -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 2b2c941624
chore: update fastlane to 2.219.0 (#5494) 2024-01-18 13:26:46 -03:00
Diego Mello 4b46aefd95
chore: Bump version to 4.46.0 (#5484) 2024-01-15 18:14:41 -03:00
Reinaldo Neto 30253aa4cf
fix: redirect the user to the phone app (#5441)
* fix: redirect the user to the phone app

* minor tweak
2024-01-04 17:09:46 -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 653201022f
feat (iOS): mobile ringer (#5327)
* add ringtone

* create videoConf category and apply the path on react native notification

* handle action click

* update patch package

* small fix

* temp alert

* wip

* fix action

* fix lint

* wip

* remove clipboard
2023-11-28 17:13:45 -03:00
Diego Mello 911957ba66
chore: Remove unused Jitsi deep link (#5361) 2023-11-23 10:11:11 -03:00
Diego Mello 4a98961da1
chore: Bump version to 4.44.0 (#5358) 2023-11-22 11:53:30 -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 3ec4375662
chore: Update libwebp to 1.3.2 (#5239)
* Update libwebp to 1.3.2

* Reset npm cache

* npm modules
2023-10-03 09:58:12 -03:00
Diego Mello 7278b36763
fix: Remove react-native-keycommands (#5220) 2023-09-21 16:05:36 -03:00
Diego Mello 3f476871bd
chore: Bump version to 4.41.0 (#5193) 2023-08-29 11:48:44 -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 c9f4ca1197
feat: add media auto-download (#5076)
* 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

* fix blur is hiding the file description

* avoid download unsupported video

* return void when it is loading the audio
2023-08-07 11:02:30 -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
Gleidson Daniel Silva a6eb514761
fix: Calls with jwt not working on ios and fix media permission on iOS (#5075)
* fix roomId

* fix ios permission

* update lib and patch

* try

* update webview

* update method

* fix ios

* move to a function
2023-06-06 18:53:48 -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
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 2849288e4a
fix: Add missing room types to RoomType.swift (#5024) 2023-04-11 13:55:40 -03:00
Diego Mello f916375fd7
chore: Update react-native-ui-lib to 7.2.0 (#4977)
* Update to 7.2

* Point to new branch

* Remove ts files
2023-03-17 09:27:00 -03:00