Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

Don't throw if iOS can't pick multiple files#1501

Merged
mattleibow merged 3 commits intomainfrom
dev/fix-1492
Nov 6, 2020
Merged

Don't throw if iOS can't pick multiple files#1501
mattleibow merged 3 commits intomainfrom
dev/fix-1492

Conversation

@mattleibow
Copy link
Copy Markdown
Member

Description of Change

On pre-iOS 11, the UIDocumentPickerViewController.AllowsMultipleSelection did not exist.

Our previous solution was to throw, but this is inconsistent with all the other platforms. If an app on android can't pick multiple files, then it still works as the multiple flag is almost optional.

Bugs Fixed

API Changes

None.

Behavioral Changes

On older iOS versions, the app no longer throws an exception.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Updated documentation (see walkthrough)

@mattleibow mattleibow added this to the 1.6.0 milestone Nov 6, 2020
@jamesmontemagno
Copy link
Copy Markdown
Collaborator

I should also probably document this :)

@mattleibow mattleibow merged commit 8aa9ad6 into main Nov 6, 2020
@mattleibow mattleibow deleted the dev/fix-1492 branch November 6, 2020 10:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] App crashes on iOS 10 when the internal implementation attempts to set AllowsMultipleSelection

2 participants