Can be reproduced with a shared iPad setup (https://support.apple.com/de-de/guide/deployment/dep9a34c2ba2/web) and the example app provided by Apple (https://developer.apple.com/documentation/fileprovider/synchronizing-files-using-file-provider-extensions).
The issue is that when using the File Provider extension implemented with 'NSFileProviderReplicatedExtension', the content of the share does not display in the iPadOS Files app. The 'NSFileProviderEnumerating.enumerator' function is invoked, but none of the functions of the returned 'NSFileProviderEnumerator' are executed: neither 'currentSyncAnchor', 'enumerateChanges', nor 'enumerateItems'. Instead, the 'NSFileProviderEnumerator' is immediately invalidated. This issue can be reproduced with iPadOS 18.3 and a shared iPad setup.
Maybe i missing some additional steps/ settings in my extension to work properly on Shared iPads.
Created also a post on the feedbackassistent: FB16587660 (NSFileProviderReplicatedExtension does not work in Shared iPad setup)
Steps to reproduce:
- iPad with a Shared iPad profile
- Enroll the iPad and log in as a Guest user
- Turn on developer mode
- Install the example app from Apple (as mentioned above)
- Add some test files to the FruitBasket storage
- Add this FruitBasket domain to the FruitBasket-iOS app
- You may need to provide "Privacy - Local Network Usage Description" in the Info.plist of the FruitBasket-iOS example app to be able to find local FruitBasket storage.
- Check in the Files app to see that the FruitBasket share is empty
-> The expected behavior is that the FruitBasket share should contain the test files added previously. (This works fine without a shared iPad setup).