Commit Graph

32 Commits

Author SHA1 Message Date
Stefan Ceriu 7b75dec011 vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
Doug b252971cb6 Add missed string in share extension. 2021-08-27 16:19:25 +01:00
Doug 240a5e8f5f Update media settings strings. Update share extension image size prompt. 2021-08-27 16:15:46 +01:00
Doug 94c4f1654b Add comments about memory constraints. 2021-08-23 12:38:04 +01:00
Doug c7f426f977 Combine confirm image/video size settings into one. 2021-08-23 11:16:32 +01:00
Doug d3e0596c35 Add video compression prompt to share extension too. 2021-08-16 20:01:35 +01:00
Doug abd1bd2a41 Add "Confirm image size before sending" setting.
Use this when sending images.
2021-07-28 14:14:34 +01:00
Doug 5d30e01854 Update to use sendVideoAsset: on MXRoom. 2021-07-09 10:26:02 +01:00
Doug 7f98750b54 Fix sending videos from the share extension. 2021-07-08 17:16:54 +01:00
Stefan Ceriu a8b0e8700e Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
manuroe addaff152a AppConfig: Rename files to CommonConfiguration and AppConfiguration 2020-07-29 10:13:43 +02:00
manuroe cc201fd010 AppConfig: Fix Steve's remarks 2020-07-29 10:05:45 +02:00
manuroe e25f62a46e Config: Cut AppConfig into Config and AppConfig
so that the app can have its own configuration
2020-07-28 17:20:14 +02:00
manuroe 5d21a8a60c AppConfig: Make all extensions use it 2020-07-28 16:53:55 +02:00
SBiOSoftWhare d02fad35f1 Update memory usage log in ShareExtensionManager 2019-04-02 15:44:59 +02:00
SBiOSoftWhare eecdb173b4 Log image compression size choice in share extension to help debug memory warnings 2019-04-02 15:01:50 +02:00
SBiOSoftWhare b617d2dacc Log memory usage when receive a memory warning 2019-04-02 14:42:43 +02:00
SBiOSoftWhare 620a09e6e6 Fix a crash when receive memory warning in ShareExtensionManager 2019-04-02 14:20:05 +02:00
SBiOSoftWhare f9fda3d543 [Share Extension] Do not offer the possibility to resize an image to large size if one dimension is too high in order to prevent the risk of memory limit exception. 2019-03-21 12:50:02 +01:00
SBiOSoftWhare ecb326f82f [Share extension] Track memory warning 2019-03-11 18:04:42 +01:00
SBiOSoftWhare 149e399b84 [Share extension] Improve dispatch_group usage when sending only images. 2019-02-08 14:43:21 +01:00
SBiOSoftWhare e68e18c1b5 [Share extension] Support rich item sharing (e.g. URL + text + image). Fix issue #2224. 2019-02-08 11:04:51 +01:00
SBiOSoftWhare 5f4a7e8baa Improve image processing in ShareExtensionManager and fix issue #2168 2019-02-06 16:05:36 +01:00
fridtjof 2839a24058 make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
SBiOSoftWhare 3cb3410778 [ShareExtension] Add a workaround to free memory when share extension completes or cancel before fixing all memory leaks. 2019-01-04 13:57:35 +01:00
SBiOSoftWhare bf37e48a1b [ShareExtension] Improve performance of sendImages method in ShareExtensionManager to avoid out of memory crash. 2019-01-04 13:55:46 +01:00
SBiOSoftWhare 58f3e673f9 [ShareExtension] Image sharing: Update compression prompt behavior. Do not propose actual size when one of all selected images is not oriented up to avoid a crash due to a out of memory. 2019-01-04 13:52:26 +01:00
SBiOSoftWhare fdaf5ce28d [ShareExtension] Handle image items manually and remove NSData coercion, as UIlmage to NSData coercion do not work. That was causing screenshot sharing to fail (Fix #2022). 2019-01-04 13:45:41 +01:00
SBiOSoftWhare ff15000569 Enable background task on MXSDKOptions in share extension 2019-01-04 13:38:31 +01:00
Giom Foret 0d68e42fb4 Replace the deprecated MXMediaManager and MXMediaLoader interfaces use 2018-11-10 14:28:08 +01:00
manuroe 58d7106633 Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state 2018-07-16 22:30:55 +02:00
SBiOSoftWhare bfeab9f886 Organize files by features in share extension target 2018-07-10 15:10:56 +02:00