FB9715717
Which area are you seeing an issue with?
FileProvider Framework Incorrect/Unexpected Behavior
Subject
NSFileProviderManager.signalEnumerator
does not trigger update of UIDocumentBrowserViewController
.
Description
Please find attached sample project that demonstrate the issue, along with the recorded video.
Class SessionManager calls NSFileProviderManager.default.signalEnumerator(for: .rootContainer) and extension receives it. The current SessionManage.shared.state value is properly updated from the app, and FileProvider extension gets correct value. The problem is that when FileProviderExtension.item(for:) or FileProviderExtension.enumerator(for:) throw error NSFileProviderError(.notAuthenticated), the UIDocumentBrowserViewController visible to the user does not actually update its view. To refresh the view user has to navigate outside and back.