We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84209f3 commit b4cfd60Copy full SHA for b4cfd60
plugins/dialog/ios/Sources/DialogPlugin.swift
@@ -157,6 +157,7 @@ class DialogPlugin: Plugin {
157
onFilePickerResult = { (event: FilePickerEvent) -> Void in
158
switch event {
159
case .selected(let urls):
160
+ urls.first?.startAccessingSecurityScopedResource()
161
invoke.resolve(["file": urls.first!])
162
case .cancelled:
163
invoke.resolve(["file": nil])
0 commit comments