Aram Sargsyan
f4e996dfd3
Finished rework, getting rooms with all the necessary information from MXStore
2017-08-31 17:51:49 +04:00
Aram Sargsyan
ffc0a3ce3b
Improved cell rendering
2017-08-26 15:54:25 +04:00
Aram Sargsyan
684cab3f48
Initial commit
2017-08-26 12:58:17 +04:00
Aram Sargsyan
68256ed577
Merge branch 'develop' of https://github.com/vector-im/riot-ios into app-extension-improvements
2017-08-25 18:12:15 +04:00
Giom Foret
6638dd614a
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
Aram Sargsyan
1193591a66
Merge branch 'develop' of https://github.com/vector-im/riot-ios into app-extension-improvements
2017-08-25 02:42:35 +04:00
Aram Sargsyan
ed83e284d5
Distinguishing providers
2017-08-25 02:26:53 +04:00
Giom Foret
dcd375e830
Improvement - Application group identifier
...
Use the property `applicationGroupIdentifier` of the MXSDKOptions sharedInstance.
2017-08-24 15:18:23 +02:00
Giom Foret
20c19f9ca3
App extension - Restore Aram's logs
2017-08-24 13:02:38 +02:00
Giom Foret
b2ee009adf
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
001424809e
Fixed a bug related to multiple image sharing
2017-08-24 14:55:35 +04:00
Giom Foret
fabf8903c0
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
26c8c0ac23
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
1cda1f82f6
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
3a3f01cb50
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
e210d0e038
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
Aram Sargsyan
79fd1a8589
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
b5eef98d51
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
a1b434bf8a
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
9c0fc33476
Bug Fix - Make sure the uploaded image orientation is up
2017-08-21 15:28:58 +02:00
Aram Sargsyan
b3e2f918e9
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
Aram Sargsyan
cfc6c72089
Added comments describing ShareExtensionManager public functionality + small method renaming
2017-08-18 02:27:56 +04:00
Aram Sargsyan
965069e58a
Fixed retain cycles, changed color constant
2017-08-17 19:28:08 +04:00
Aram Sargsyan
30ff28dc7e
Loading HUD usage in the extension, Image resoulution alertController introduced
2017-08-17 00:01:54 +04:00
Aram Sargsyan
4ce2bf60ed
Share Extension manager improvements
2017-08-14 15:25:02 +04:00
Aram Sargsyan
1f65551519
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