File provider extension not working on iOS 13

I have an iOS app with a file provider extension. The extension has three top-level virutal folders representing different groups of files our users have access to on the cloud. The extension works great on iOS 12, but does not work correctly on iOS 13.


When loaded in the Files app, we are queried for the root container contents and enumerate the items correctly. The three top-level folders show and are later updated with the number of items they contain asynchronously just fine. The problem is that on iOS 13, when the uer taps on one of the top-level folders to drill down to their contents, the Files app just pushes another copy of the root container on the stack. This coninues every time the user taps on one of our top-level folders. They can never drill down into our folders.


As I said, the extension works fine on iOS 12. Has anybody else seen this behavior? I have verified that the NSFileProviderItems we are returning when enummerating contents have the type identifer set to kUTTypeFolder...and the capabilities of the items contains both .allowsContentEnumerating and .allowsReading.


Note that we are still building with Xcode 10.3. We haven't been able to upgrade to Xcode 11 yet.


Thanks in advance for any advice.