"You're offline" in Files App

Hi everybody,


we're writing a FileProviderExtension. We're on a good track, pretty much everything works, but there are a few rough edges left.

And there are one or two things we don't understand.


One of them is this, once the phone is in Airplane mode, when opening the root level of our extension in Files App, everything seems fine. But then, when trying to open any directory, an error is shown "You're offline".

The thing is, this error is being shown immediately. No Code from us is being executed, we don't throw any errors.


While this is technically correct, we have persisted all information necessary to display the contents of these directories. In fact, even if the phone has internet connectivity, we don't retrieve anything from the net the moment a directory is being entered.


Does anybody have a hint?


Thanks!