Not able to return from document picker
- [X ] I have searched open and closed issues for duplicates
Bug description
If I open the document picker in a conversation view, iOS 11 brings me to the new 'Files' app. From here, there is no possibilty to cancel or return to the conversation view, other than double tap home - swipe up.
Steps to reproduce
- in message/conversation view
- tapping the paperclip -> Document to attach a file
- tap 'Browse' to open the new iOS 11 'Files' app
Actual result: Not being able to return to the conversation view. Expected result: Being able to tap a 'Back' button to return to the message view.
Screenshots
Device info
Device: iPhone 6S iOS version: 11.0.3 Signal version: 2.17.1.1
Link to debug log
Did some further testing. When adding a 'Document' to a Whatsapp conversation, I am taken to the same 'Files'app. Instead, a 'Cancel' button (just text) is presented in the upper right corner of the screen which brings me back to the Whatsapp conversation.
When Signal brings me to the 'Files' app, I can tap the same area (which is blank), and it brings me back to the Signal conversation. So the button is apparently there, but not visible (or just white text on white background).
Fixed in 2.18.0 with 0cd56d4bcce27dede3a3fc2141a7aed3709f65f5
//for ios 11 //
-(void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentsAtURLs:(NSArray<NSURL *> *)urls{
NSLog(@"IOS 11");
/*your methods here*/
}