Commit graph

26 commits

Author SHA1 Message Date
Doug
e7c747f59d Update to use sendVideoAsset: on MXRoom. 2021-07-09 10:26:02 +01:00
Doug
7c1aa76768 Fix sending videos from the share extension. 2021-07-08 17:16:54 +01:00
Stefan Ceriu
f7a8163947
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
fd29e97baa AppConfig: Rename files to CommonConfiguration and AppConfiguration 2020-07-29 10:13:43 +02:00
manuroe
6b976e09af AppConfig: Fix Steve's remarks 2020-07-29 10:05:45 +02:00
manuroe
b13188f9e6 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
a8ad374075 AppConfig: Make all extensions use it 2020-07-28 16:53:55 +02:00
SBiOSoftWhare
3eff4381a5 Update memory usage log in ShareExtensionManager 2019-04-02 15:44:59 +02:00
SBiOSoftWhare
6f78f03328 Log image compression size choice in share extension to help debug memory warnings 2019-04-02 15:01:50 +02:00
SBiOSoftWhare
b46ccac44a Log memory usage when receive a memory warning 2019-04-02 14:42:43 +02:00
SBiOSoftWhare
257aa809ce Fix a crash when receive memory warning in ShareExtensionManager 2019-04-02 14:20:05 +02:00
SBiOSoftWhare
a62eef068f [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
e838a092ab [Share extension] Track memory warning 2019-03-11 18:04:42 +01:00
SBiOSoftWhare
9ccc0018df [Share extension] Improve dispatch_group usage when sending only images. 2019-02-08 14:43:21 +01:00
SBiOSoftWhare
c2f78815f6 [Share extension] Support rich item sharing (e.g. URL + text + image). Fix issue #2224. 2019-02-08 11:04:51 +01:00
SBiOSoftWhare
b379cb7f12 Improve image processing in ShareExtensionManager and fix issue #2168 2019-02-06 16:05:36 +01:00
fridtjof
c7fbca7698
make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
SBiOSoftWhare
0809478852 [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
bc6b38d805 [ShareExtension] Improve performance of sendImages method in ShareExtensionManager to avoid out of memory crash. 2019-01-04 13:55:46 +01:00
SBiOSoftWhare
a354ea9218 [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
9b35811fd7 [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
a9f5163809 Enable background task on MXSDKOptions in share extension 2019-01-04 13:38:31 +01:00
SBiOSoftWhare
ed76a2be75 Make delegate weak on ShareExtensionManager 2019-01-04 13:22:31 +01:00
Giom Foret
d40d40068e Replace the deprecated MXMediaManager and MXMediaLoader interfaces use 2018-11-10 14:28:08 +01:00
manuroe
b64b5767fb Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state 2018-07-16 22:30:55 +02:00
SBiOSoftWhare
5c86dc2be6 Organize files by features in share extension target 2018-07-10 15:10:56 +02:00