Stanislav Dmitrenko
99a9fb2e1f
ios: self destruct improvements ( #3640 )
...
* ios: self destruct improvements
* test
* adapted to stopped chat
* wait until ctrl initialization finishes
* Revert "test"
This reverts commit 7c199293cc
.
* refactor
* simplify,fix
* refactor2
* refactor3
* comment
* fix
* fix
* comment
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* flip and rename flag
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2024-01-09 21:01:41 +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
Evgeny Poberezkin
f93f68e425
core: agent background mode for iOS NSE ( #3574 )
...
* core: agent background mode for iOS NSE
* change parameter for APIActivateChat
* fix
* update lib
* update lib
* simplexmq
* simplify
2023-12-23 13:06:59 +00:00
spaced4ndy
ce9218b186
ios: rework authentication ( #3556 )
2023-12-18 22:04:49 +04: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
2f7632a70f
5.4.1: ios 185, android 164, desktop 19
2023-12-07 21:01:14 +00:00
Evgeny Poberezkin
01f351e65a
ios: haskell RTS options ( #3433 )
2023-11-22 22:12:42 +00:00
Evgeny Poberezkin
c1d89f2c0f
ios: move hs_init to background thread ( #3411 )
2023-11-21 22:21:01 +00:00
spaced4ndy
1a567c88db
ios: rework incognito mode - choose when making connection ( #2851 )
...
* wip
* layout
* more layout
* fix focus
* show incognito
* change icon layout
* remove presentation detents
* smaller button icon
* bigger icon
* show incognito profile status in connection info, layout, icons
* fix some lint warnings, update labels, add incognito label, conditionally hide toolbar to avoid jumping on iOS 17
* remove ignored color
* s/incognitoEnabled/incognito/
* shorter text
* remove parameter label
* restore note when creating a group
* add incognito icon to pending connections
* refactor
* refactor chat list action sheet
* revert to using new value in onChange
* remove unused variable
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-08-08 17:26:56 +04:00
Evgeny Poberezkin
9a2efd0ef0
ios: fix showing init view ( #2477 )
...
* ios: fix showing init view
* init with delay
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-05-22 14:49:46 +01:00
Evgeny Poberezkin
ec6cee1389
ios: digital password (instead of device auth) ( #2169 )
...
* ios: digital password (instead of device auth)
* set, ask, change password
* kind of working, sometimes
* ZSTack
* fix cancel
* update title
* fix password showing after settings dismissed
* disable button when 16 digits entered
* fixes
* layout on larger screens
* do not disable auth when switching to system if system auth failed, refactor
* fix enabling auth via the initial alert
* support landscape orientation
2023-04-12 11:22:55 +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
2643ea9066
ios: reverted some changes related to lockScreen ( #2011 )
...
* Revert "ios: CallKit enhancements (#2010 )"
This reverts commit 840df89ca6
.
* Revert "ios: CallKit integrated with app lock and screen protect (#2007 )"
This reverts commit 0404b020e6
.
* ios: reverted some changes related to lockScreen
* undo delay
* better support of appLock + call
* refactor
* refactor 2
* refactor 3
* refactor 4
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-03-15 21:09:33 +00:00
Stanislav Dmitrenko
840df89ca6
ios: CallKit enhancements ( #2010 )
...
* ios: CallKit enhancements
* better checks
2023-03-15 15:32:27 +00:00
Stanislav Dmitrenko
0404b020e6
ios: CallKit integrated with app lock and screen protect ( #2007 )
...
* ios: CallKit integrated with app lock and screen protect
* better lock mechanics
* background color
* logs
* refactor, revert auth changes
* additional state variable to allow connecting call
* fix lock screen, public logs
* show callkit option without dev tools
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-03-15 10:21:21 +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
Stanislav Dmitrenko
4cd396a0d2
ios: Multiuser calls ( #1800 )
...
* ios: Multiuser calls
* counter update on badge
* padding before profile info in call view
* underline in name
* change after merge
* do not show Simplex Info button if users already created
* unread counter
* do not increase badge counter when chat has disabled notifications
* update incoming call
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-01-23 13:20:58 +00:00
JRoberts
f6ed099f17
ios: voice messages - improve hold to record button logic, alert if not allowed ( #1424 )
2022-11-25 21:05:14 +04:00
Evgeny Poberezkin
6e9cf2ba91
ios: fix background refresh crash, memoize migrateChatDatabase ( #1103 )
...
* ios: fix background refresh crash, memoize migrateChatDatabase
* store returned value
2022-09-23 12:51:40 +01:00
Evgeny Poberezkin
76bde53206
ios: scroll buttons and unread counts ( #937 )
...
* ios: scroll buttons and unread counts
* floating buttons for unread counts
* remove commented code
* remove prints
2022-08-16 13:13:29 +01:00
Evgeny Poberezkin
e8749debec
ios: fix notification badge count ( #903 )
2022-08-04 22:25:52 +01:00
Evgeny Poberezkin
0fe7e64989
ios: advanced network settings ( #873 )
...
* ios: advanced network settings
* save network config
* update network settins, set in NSE
* update UI, update simplexmq
* show advanced network settings only with dev tools on
2022-08-03 15:36:51 +04:00
Evgeny Poberezkin
8469f921b7
ios: notification actions for calls and contact requests with NSE ( #829 )
...
* ios: notification actions for calls and contact requests with NSE
* update contact request if already in the list
2022-07-22 08:10:37 +01:00
Evgeny Poberezkin
f16d8842b2
iOS: accept images in NSE if enabled, reorder chats when coming from background ( #800 )
...
* ios: automatically accept images in NSE, if enabled in settings
* remove unnecessary TODOs
* reorder chat when coming from background
2022-07-10 14:28:00 +01:00
JRoberts
ab848e8c13
ios: refresh call invitations and report call on start and activation; core: restore calls on activation ( #776 )
2022-07-05 15:15:15 +04:00
Evgeny Poberezkin
687e3be9ac
iOS: update call invitations when exiting background ( #771 )
...
* core: communicate call invitations state between NSE and app via db
* enable tests
* delete calls, encoding
* load calls on start
* remove line
* remove table alias
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-07-04 14:15:25 +04:00
Evgeny Poberezkin
2c121b5731
ios: choose notifications mode during onboarding and after DB migration ( #773 )
2022-07-03 19:53:07 +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
f7f3f82090
ios: fix migration, refreshing chat list; disable periodic notifications ( #767 )
...
* ios: fix migration, disable refreshing chat list and periodic notifications
* fix refreshing chats when exiting background
* remove unused model property
2022-07-01 22:45:58 +01:00
Evgeny Poberezkin
a8a0f2db03
ios: disable notifications if not migrated ( #766 )
...
* ios: disable notifications if not migrated
* refactor, update text
2022-07-01 20:33:20 +01:00
Evgeny Poberezkin
1e63eb3752
ios: update the list of chats when exiting background ( #764 )
2022-07-01 10:38:12 +01:00
Evgeny Poberezkin
815981487b
ios: register notification token/mode on app start ( #761 )
...
* ios: register notification token/mode on app start
* refactor
* register token on start
* update model on main thread
2022-07-01 09:49:30 +01:00
Evgeny Poberezkin
6d25991417
ios: process notifications, suspend app, notifications settings UI ( #754 )
2022-06-27 10:28:30 +01:00
Evgeny Poberezkin
6a2f2a512f
ios: UI to export/import/delete chat database ( #743 )
...
* ios: UI to export/import/delete chat database
* move files
* ui for database migration
* migration screen layout
* ios: export archive and delete chat database
* import archive
* refactor, update texts
* database migration (almost works)
* fix missing import
* delete legacy database
* update migration errors
2022-06-24 13:52:20 +01:00
Evgeny Poberezkin
291096d87f
ios: receive message in NSE ( #742 )
2022-06-19 19:49:39 +01:00
Evgeny Poberezkin
cab5bc2daf
Merge branch 'master' into ios-notifications
2022-06-03 13:40:03 +01:00
Evgeny Poberezkin
084d1d09a5
ios: fix closing chat info ( #725 )
2022-06-03 16:05:34 +04:00
Evgeny Poberezkin
72103949a7
ios: fix purple warning on auth failure ( #724 )
...
* ios: fix purple warning on auth failure
* avoid showing chats
* avoid flicker
* fix exit
* bg task
* rename function
* remove bg task
2022-06-03 12:24:50 +01:00
Evgeny Poberezkin
800efb3a34
ios: fix authentication ( #722 )
...
* ios: fix authentication
* Update apps/ios/Shared/ContentView.swift
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* remove doAuthenticate = false
* remove lock button
* moare fixos
* whitespace
* and more
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-06-03 09:16:07 +01:00
Evgeny Poberezkin
949fb17406
ios: mach messages to coordinate database acceess between app & NSE ( #717 )
2022-06-02 13:16:22 +01:00
Evgeny Poberezkin
fa844c48e9
ios: SimpleXChat framework to be shared by app/NSE ( #714 )
...
* ios: SimpleXChat framework to be shared by app/NSE
* remove bridging headers from pp/NSE
* embed & sign
2022-05-31 07:55:13 +01:00
JRoberts
c3c712aa02
ios: show local authentication notice; ios & android: retry authentication button ( #706 )
...
* advertisement
* refactor
* advertisement state machine
* simplify
* ios: retry
* remove log
* android: retry
* Update apps/ios/Shared/ContentView.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* Update apps/ios/Shared/Views/UserSettings/SettingsView.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-05-28 22:09:46 +04:00
JRoberts
5e476516cb
ios: lock toggle; android: fix lock timer ( #702 )
2022-05-28 14:58:52 +04:00
Evgeny Poberezkin
da13e6614b
mobile: call settings, request camera on iOS on call start ( #701 )
...
* mobile: call settings, request camera on iOS on call start
* refactor preferences
* fix typo
2022-05-27 16:36:33 +01:00
JRoberts
79d9e90ab7
mobile: local authentication ( #696 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-05-27 18:21:35 +04:00
Evgeny Poberezkin
3519032784
ios: notifications service extension - refactor model and API ( #578 )
...
* ios: notifications service extension
* create notifications in NSE (WIP)
* refactor notifications to use in NSE
* prepend team ID to shared defaults name to silence the warning
* remove whitespace
2022-05-03 08:20:19 +01:00
Evgeny Poberezkin
f594774579
ios: push notifications ( #482 )
...
* ios: get device token for push notifications
* ios: receive messages when background notification is received
* add notifications API, update simplexmq
* chat API to register and verify notification token
* update AppDelegate to recognize different notification types, update simplexmq
* core: api to enable periodic background notifications
* update simplexmq
* chat API to delete device notification token
* use base64url encoding in verification code
* update simplexmq for notifications
2022-04-21 20:04:22 +01:00