Commit Graph

32 Commits

Author SHA1 Message Date
Doug c5ac4ee4ac Add missed string in share extension. 2021-08-27 16:19:25 +01:00
Doug 4c59f1bd37 Update media settings strings. Update share extension image size prompt. 2021-08-27 16:15:46 +01:00
Doug d21af0840e Add comments about memory constraints. 2021-08-23 12:38:04 +01:00
Doug 040416d745 Combine confirm image/video size settings into one. 2021-08-23 11:16:32 +01:00
Doug 2ce51e9b9b Add video compression prompt to share extension too. 2021-08-16 20:01:35 +01:00
Doug ab50ed05e9 Add "Confirm image size before sending" setting.
Use this when sending images.
2021-07-28 14:14:34 +01:00
Doug b9ea5d4be9 Update to use sendVideoAsset: on MXRoom. 2021-07-09 10:26:02 +01:00
Doug 5257e82b1b Fix sending videos from the share extension. 2021-07-08 17:16:54 +01:00
Stefan Ceriu 43f6c44c78 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 1223d09b42 AppConfig: Rename files to CommonConfiguration and AppConfiguration 2020-07-29 10:13:43 +02:00
manuroe fafd6f7687 AppConfig: Fix Steve's remarks 2020-07-29 10:05:45 +02:00
manuroe 621a631ac5 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 74a6a7f4bf AppConfig: Make all extensions use it 2020-07-28 16:53:55 +02:00
SBiOSoftWhare f43dbc3dca Update memory usage log in ShareExtensionManager 2019-04-02 15:44:59 +02:00
SBiOSoftWhare 2092bc949d Log image compression size choice in share extension to help debug memory warnings 2019-04-02 15:01:50 +02:00
SBiOSoftWhare 322a6e7a07 Log memory usage when receive a memory warning 2019-04-02 14:42:43 +02:00
SBiOSoftWhare fd32e2ca68 Fix a crash when receive memory warning in ShareExtensionManager 2019-04-02 14:20:05 +02:00
SBiOSoftWhare ecaddf633d [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 ac23ff6704 [Share extension] Track memory warning 2019-03-11 18:04:42 +01:00
SBiOSoftWhare a52c1906af [Share extension] Improve dispatch_group usage when sending only images. 2019-02-08 14:43:21 +01:00
SBiOSoftWhare cee065ac93 [Share extension] Support rich item sharing (e.g. URL + text + image). Fix issue #2224. 2019-02-08 11:04:51 +01:00
SBiOSoftWhare c62ee9b00d Improve image processing in ShareExtensionManager and fix issue #2168 2019-02-06 16:05:36 +01:00
fridtjof 0e8c73344d make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
SBiOSoftWhare 2dfb376aae [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 86468f2ab6 [ShareExtension] Improve performance of sendImages method in ShareExtensionManager to avoid out of memory crash. 2019-01-04 13:55:46 +01:00
SBiOSoftWhare d607c20f5c [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 42f637365e [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 341791a05e Enable background task on MXSDKOptions in share extension 2019-01-04 13:38:31 +01:00
SBiOSoftWhare 54aa57ef19 Make delegate weak on ShareExtensionManager 2019-01-04 13:22:31 +01:00
Giom Foret 609174d093 Replace the deprecated MXMediaManager and MXMediaLoader interfaces use 2018-11-10 14:28:08 +01:00
manuroe e3f204562b Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state 2018-07-16 22:30:55 +02:00
SBiOSoftWhare 24a776d413 Organize files by features in share extension target 2018-07-10 15:10:56 +02:00