Evgeny Poberezkin
6865515f43
ios: share extension ( #4466 )
...
* ios: share extension (#4414 )
* ios: add share extension target
* ios: Add UI
* ios: send file from share-sheet
* image utils
* ShareError
* error handling; ui-cleanup
* progress bar; completion for direct chat
* cleanup
* cleanup
* ios: unify filter and sort between forward and share sheets
* ios: match share sheet styling with the main app
* ios: fix text input stroke width
* ios: align compose views
* more of the same...
* ShareAPI
* remove combine
* minor
* Better error descriptions
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: enable file sending workers in share extension (#4474 )
* ios: align compose background, row height and fallback images for share-sheet (#4467 )
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: coordinate database access between share extension, the app and notifications extension (#4472 )
* ios: database management proposal
* Add SEState
* Global event loop
* minor
* reset state
* use apiCreateItem for local chats
* simplify waiting for suspension
* loading bar
* Dismiss share sheet with error
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* send image message (#4481 )
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: improve share extension completion handling (#4486 )
* improve completion handling
* minor
* show only spinner for group send
* rework event loop, errorAlert
* group chat timeout loading bar
* state machine WIP
* event loop actor
* alert
* errors text
* default
* file error
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: add remaining share types; process attachment in background on launch (#4510 )
* add remaining share types; process attachment in background on launch
* cleanup diff
* revert `makeVideoQualityLower`
* reduce diff
* reduce diff
* iOS15 support
* process events when sharing link and text
* cleanup
* remove video file on failure
* cleanup CompletionHandler
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: share extension - additional alerts and media previews (#4521 )
* add remaining share types; process attachment in background on launch
* cleanup diff
* revert `makeVideoQualityLower`
* reduce diff
* reduce diff
* iOS15 support
* process events when sharing link and text
* cleanup
* remove video file on failure
* cleanup CompletionHandler
* media previews
* network timeout alert
* revert framework compiler optimisation flag
* suspend chat after sheet dismiss
* activate chat
* update
* fix search
* sendMessageColor, file preview, chat deselect, simplify error action
* cleanup
* interupt database closing when sheet is reopened quickly
* cleanup redundant alert check
* restore package
* refactor previews, remove link preview
* show link preview when becomes available
* comment
* dont fail on invalid image
* suspend
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: descriptive database errors (#4527 )
* ios: set share extension as inactive when suspending chat
---------
Co-authored-by: Arturs Krumins <auth@levitatingpineapple.com >
2024-07-28 17:54:58 +01:00
Evgeny Poberezkin
4508e0dfc1
Merge branch 'stable'
2024-01-09 11:07:04 +00:00
Evgeny Poberezkin
e294999044
ios: fix callkit calls via NSE ( #3655 )
...
* ios: fix callkit calls via NSE
* comments
* more reliable NSE start
* remove public logs, different RTS parameters for NSE
* only suspend NSE if we have chat controller, to avoid crashes if suspension attempted without controller created
* comments
* fix
* simplify
2024-01-08 10:56:01 +00:00
Stanislav Dmitrenko
767522e701
ios: better way of starting chat after stop ( #3637 )
...
Co-authored-by: Avently <avently@local>
2024-01-02 20:20:05 +00:00
Evgeny Poberezkin
8a41a4c214
ios: do not start chat if it was stopped, deliver "app stopped" notifications ( #3535 )
...
* add stopped notifications, remove full off mode
* core: allow initializing chat data without starting chat
* ios: ask before starting chat if it was stopped
* correct text
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* fix comment
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-12-11 12:59:49 +00:00
Evgeny Poberezkin
79a954336c
ios: communication between NSE and app via files ( #3533 )
...
* ios: communication between NSE and app via files
* clean up
* better concurrency
2023-12-11 12:34:56 +00:00
Evgeny Poberezkin
d3059afc99
ios, core: better notifications processing to avoid contention for database ( #3485 )
...
* core: forward notifications about message processing (for iOS notifications)
* simplexmq
* the option to keep database key, to allow re-opening the database
* export new init with keepKey and reopen DB api
* stop remote ctrl when suspending chat
* ios: close/re-open db on suspend/activate
* allow activating chat without restoring (for NSE)
* update NSE to suspend/activate (does not work)
* simplexmq
* suspend chat and close database when last notification in the process is processed
* stop reading notifications on message markers
* replace async stream with cancellable concurrent queue
* better synchronization of app and NSE
* remove outside of task
* remove unused var
* whitespace
* more debug logging, handle cancelled read after dequeue
* comments
* more comments
2023-12-09 21:59:40 +00:00
Evgeny Poberezkin
3ddf7b2680
ios: close database connections when app is terminating ( #3188 )
...
* ios: close database connections when app is terminating
* update
* remove ()
* close when suspended too
* additional check
* fix
* refactore
* reset "terminating" flag
2023-10-09 18:03:03 +01:00
Evgeny Poberezkin
202ecc369a
157: more logging
2023-07-20 12:07:00 +01:00
Evgeny Poberezkin
1f4bb8a224
ios: fix picker heights
2023-03-27 20:43:39 +01:00
Evgeny Poberezkin
8145387f77
ios: CallKit changed reporting logic ( #2019 )
...
* ios: CallKit changed reporting logic
* refactor, suspend chat after call when app is in background
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
2023-03-16 19:57:43 +00:00
Stanislav Dmitrenko
9ec6911005
ios: CallKit integration ( #1969 )
...
* ios: CallKit integration
* notifying CallKit about outgoing call
* changes
* switching calls with CallKit
* string
* add NSE filtering entitlement
* add NSE build scheme
* remove some call limitations
* calls enhancments
* fixed calls on lockscreen
* don't display useless notification
* fix app state
* ability to answer on call from chat item via CallKit
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-14 08:12:40 +00:00
Evgeny Poberezkin
8097611207
ios: NSE without passphrase in keychain ( #1030 )
2022-09-07 20:06:16 +01:00
Evgeny Poberezkin
766009269e
ios: use SQLCipher ( #1012 )
...
* use sqlcipher build, hardcoded encryption key
* UI for db encryption
* database passphrase UI
* show orange icon when database is not encrypted
* call encrypt
* more ios ux
* basic UX for passphrase complete
* with animation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* passphrase complexity, fixes
* fix moving entry field
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-09-07 12:49:41 +01:00
Evgeny Poberezkin
95f518a582
ios: stopped state for DB management, suspend quicker/instantly on app termination ( #783 )
...
* ios: stopped state for DB management, suspend quicker/instantly on app termination
* update terminateChat
2022-07-06 14:07:27 +01:00
Evgeny Poberezkin
e4c6d210c6
ios: fix updating chats when exiting background ( #772 )
2022-07-02 17:18:45 +01:00
Evgeny Poberezkin
29c6d51e6a
ios: fix background refresh ( #769 )
...
* ios: fix background refresh
* change app inactive check
2022-07-02 08:50:25 +01:00
Evgeny Poberezkin
6d25991417
ios: process notifications, suspend app, notifications settings UI ( #754 )
2022-06-27 10:28:30 +01:00