setting ios NSFileProtectionType

Please provide the following:

  1. SDK Version:40
  2. Platforms(Android/iOS/web/all): iOS

My app is accessing its SQLite database in the background in geofence events. For some unknown reason when running on a real iPhone device the SQL Select statement result is empty when it runs in the background. (same statements work in the foreground).

I suspect it is something to do with the iOS file protection scheme.

Does anyone know how to set the file protection level in Expo managed workflow?
(see Apple Developer Documentation for explanation about the file protection types)

Thanks!

Hey @haggaisch, this isn’t something you’ll be able to configure in the Managed workflow but rather something we may have to investigate. Do you think you could provide a minimal, reproducible example of this that we can test on our end?

Cheers,
Adam