Commit Graph

232 Commits

Author SHA1 Message Date
Giom Foret 16019b9a52 Improvement - Application group identifier
Use the property `applicationGroupIdentifier` of the MXSDKOptions sharedInstance.
2017-08-24 15:18:23 +02:00
Giom Foret 8423fbccb7 App extension - Restore Aram's logs 2017-08-24 13:02:38 +02:00
Giom Foret 26254f19dc App Extension - Limit memory consumption
- In case of image sharing, we suggest the original resolution only if the image orientation is up, or if the image size is moderate.
- Bug Fix: no image is sent when no compression is required.
2017-08-24 12:59:46 +02:00
Aram Sargsyan 4054eed6b3 Fixed a bug related to multiple image sharing 2017-08-24 14:55:35 +04:00
Giom Foret 5743529c68 App Extension - Bug Fix
Fix App crash on Exception "This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.  This will cause an exception in a future release."
2017-08-24 10:47:27 +02:00
Aram Sargsyan 760ea0d5ab Merge branch 'app-extension-improvements' of https://github.com/aramsargsyan/riot-ios into app-extension-improvements 2017-08-22 19:56:30 +04:00
Aram Sargsyan fe9c49fc49 Added real support for sending multiple images (up to 5). Fixed bug when images weren't being resized. Introduced a category for NSItemProvider to easily track if the item was loaded or not. 2017-08-22 19:52:32 +04:00
Giom Foret 844637f508 App extension: Bug Fix - send the keys file does not work correctly
The attached file is not detected as keys files when the user selects it in the room history.
The associated mimetype was wrong
2017-08-22 00:31:43 +02:00
Giom Foret 36d080400c 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 490c022ed5 App extension: enlarge the close button 2017-08-21 18:09:07 +02:00
Aram Sargsyan ae89a1e68b Merge branch 'app-extension-improvements' of https://github.com/aramsargsyan/riot-ios into app-extension-improvements 2017-08-21 18:45:56 +04:00
Aram Sargsyan 50b5be3ead Sending the file with it's actual fiename, changes temporary search bar stykle to match the real one's style, showing only joined rooms for sharing 2017-08-21 18:45:16 +04:00
Aram Sargsyan 12acf5a862 Merge pull request #5 from vector-im/app_extension_ima_orientation
Bug Fix -  Make sure the uploaded image orientation is up
2017-08-21 18:21:03 +04:00
Giom Foret 1a3c587bab Bug Fix - Make sure the uploaded image orientation is up 2017-08-21 15:28:58 +02:00
Aram Sargsyan 94057e1167 Merge pull request #4 from vector-im/app_extension_reuse_mxkrecentsvc
RoomsListViewController should inherit from MXKRecentListViewController.
2017-08-21 17:15:20 +04:00
Giom Foret b5ebc1d570 RoomsListViewController should inherit from MXKRecentListViewController.
- to release correctly the resources
- to reuse data source handling mechanism
...
2017-08-21 14:07:49 +02:00
Aram Sargsyan 207345d6fe Introduced new ShareExtensionDelegate method didStartSendingToRoom to notify the viewController when the request is initiated to only then show the loading hud, block interaction with the view, etc 2017-08-21 01:39:08 +04:00
Giom Foret 82d80cedad 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 92ec8fdef5 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 498f32656a Merge branch 'app-extension-improvements' of https://github.com/aramsargsyan/riot-ios into app-extension-improvements 2017-08-18 02:28:15 +04:00
Aram Sargsyan fe0bc0abfe Added comments describing ShareExtensionManager public functionality + small method renaming 2017-08-18 02:27:56 +04:00
Giom Foret 8f272256b6 Remove unwanted binary file 2017-08-17 18:06:46 +02:00
giomfo ce138e5576 Merge branch 'app-extension' into app-extension-improvements 2017-08-17 17:43:13 +02:00
Aram Sargsyan 6541c12b19 Fixed retain cycles, changed color constant 2017-08-17 19:28:08 +04:00
Aram Sargsyan db6d7e4dd2 Merge branch 'develop' of https://github.com/vector-im/riot-ios into app-extension-improvements 2017-08-17 00:08:56 +04:00
Aram Sargsyan 2e9ef19f53 Loading HUD usage in the extension, Image resoulution alertController introduced 2017-08-17 00:01:54 +04:00
Giom Foret 49c3a7995b Apply the actual application group: "group.im.vector" 2017-08-16 18:24:07 +02:00
Aram Sargsyan df56d1276f Share Extension manager improvements 2017-08-14 15:25:02 +04:00
Aram Sargsyan 89a18dab12 Added search functionality for rooms and people, fixed bug of dismmisal 2017-08-11 20:33:50 +04:00
Aram Sargsyan 1d5837ac0c 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
Aram Sargsyan de39646624 Converting non jpeg or png image types to jpeg before sending 2017-08-03 15:09:36 +04:00
Aram Sargsyan d4bc37ccb2 Review changes 2017-07-31 19:26:06 +04:00