Required Reason APIs: SQLite statfs/fstatfs usage without accessing disk space information

Hello Apple Developer Community,

I am preparing an iOS application for its first App Store release and have encountered a potential compliance issue with Apple's Required Reason API requirements.

Environment:

  • Flutter 3.50.1 / Dart 3.14.0
  • Minimum deployment target: iOS 16
  • SQLite 3.54.1
  • Dart sqlite3 and Drift
  • Embedded dynamic sqlite3.framework

During a pre-release privacy and security audit, we identified calls to statfs and fstatfs within the SQLite library.

Our analysis indicates that these calls are used exclusively to determine filesystem type and read-only filesystem status, rather than to obtain available disk space or total storage capacity.

No information obtained through these calls is used for fingerprinting, analytics, advertising, tracking, or transmission to external services.

However, statfs and fstatfs are listed under NSPrivacyAccessedAPICategoryDiskSpace.

We reviewed the currently approved reasons (85F4.1, E174.1, 7D9E.1, and B728.1), but none appears to accurately describe this use case.

There is also a related concern regarding the requirement for an embedded dynamic framework to provide its own PrivacyInfo.xcprivacy manifest.

Questions:

  1. Is a Disk Space declaration required when statfs and fstatfs are used exclusively to determine filesystem characteristics without accessing storage capacity information?

  2. Is there an existing approved reason that accurately covers this particular SQLite use case?

  3. How should developers correctly handle Privacy Manifest requirements for an embedded sqlite3.framework when no approved reason accurately describes its behavior?

  4. Would switching to the system-provided SQLite library on iOS be an appropriate alternative for compliance?

Related upstream discussions:

  • https://github.com/simolus3/sqlite3.dart/issues/410
  • https://github.com/dart-lang/native/issues/878

Feedback Assistant:

I submitted an enhancement request (FB25827835) on December 2, 2026.

Apple responded on December 3, 2026, stating that the enhancement request would be forwarded to the appropriate team and recommending Apple Developer Technical Support or Apple Developer Forums for technical guidance.

The application has not yet been submitted for App Store review.

I would prefer to avoid declaring an inaccurate approved reason, modifying SQLite unnecessarily, or relying on the absence of automated warnings as proof of compliance.

Has anyone encountered a similar issue or successfully resolved it?

Any guidance from Apple engineers or developers with relevant experience would be greatly appreciated.

Thank you.

Answered by DTS Engineer in 920491022

Thanks for asking. Another developer asked the same questions about SQLite's statfs and fstatfs calls, and I answered them in Required Reason API guidance for SQLite filesystem identification and locking on iOS.

For a new approved reason, Describing use of required reason API links to a request form, which is separate from Feedback Assistant.

Thanks for asking. Another developer asked the same questions about SQLite's statfs and fstatfs calls, and I answered them in Required Reason API guidance for SQLite filesystem identification and locking on iOS.

For a new approved reason, Describing use of required reason API links to a request form, which is separate from Feedback Assistant.