Commit graph

11 commits

Author SHA1 Message Date
Giom Foret
038d4d50da Share extension mxstore rework
- Create the MXRoom instance only when the room is selected.
2017-09-29 10:37:54 +02:00
Aram Sargsyan
3d698bfe0e Review changes 2017-09-08 19:02:45 +04:00
Aram Sargsyan
ed15a6599e Initial commit 2017-08-26 12:58:17 +04:00
Giom Foret
422ad1c514 App extension - Improvement: Reduce memory consumption.
Force the ShareExtensionManager to release the primary view controller when the action is completed.

We observed that `dealloc` is called for this view controller when the request is cancelled with error (`cancelRequestWithError`), but it is not called when the request is completed (`completeRequestReturningItems`).
2017-08-25 11:55:37 +02:00
Giom Foret
91b8ae6c9f App Extension - Fix matrix session handling
The matrix session should be handled by the ShareExtensionManager. This manager is able to prepare, suspend and resume the session.
Note: The ShareViewController is reloaded each time the extension is launched
2017-08-21 22:33:06 +02:00
Giom Foret
5e64795c5a RoomsListViewController should inherit from MXKRecentListViewController.
- to release correctly the resources
- to reuse data source handling mechanism
...
2017-08-21 14:07:49 +02:00
Giom Foret
24004b8b1a Bug Fix - App extension: handle correctly the account change.
Only the first enabled account is considered FTM.
2017-08-18 17:30:38 +02:00
Giom Foret
f785fd33d0 Apply the app group name in app extension
(merge https://github.com/vector-im/riot-ios/pull/1440)
2017-08-18 09:40:37 +02:00
Aram Sargsyan
5641204318 Added comments describing ShareExtensionManager public functionality + small method renaming 2017-08-18 02:27:56 +04:00
Aram Sargsyan
d42302cc8b Added search functionality for rooms and people, fixed bug of dismmisal 2017-08-11 20:33:50 +04:00
Aram Sargsyan
f67c99ce57 Reworked the Share Extension to use a subclass of MXKRecentsDataSource to show content, solved the room order issue, as well introduced a new class ShareExtensionManager responsible for Sharing content and communicating with the system to terminate the extension with the appropriate exit code when needed. 2017-08-11 02:38:47 +04:00
Renamed from RiotShareExtension/ShareViewController.m (Browse further)