Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

File I/O Error when downloading on sleep mode. #5592

Closed

Description

@carlosmellado

Hello,
trying to enable downloads on background, when I put the iPhone on sleep mode, the app crashes and I receive "disk I/O error". As far as I know, you should disable data protection on SQLite (SQLITE_OPEN_FILEPROTECTION_NONE).

Platform: iOS
SDK Version: ~>3.2.3

Steps to trigger behavior

  1. Enable a UIBackgroundTaskIdentifier
  2. Start downloading a map
  3. Enter on sleep mode and wait a few seconds (less than 10).
  4. The app crashes.

captura de pantalla 2016-07-06 a las 18 24 33

Activity

  1. jfirebaugh commented on Jul 6, 2016

    @jfirebaugh
    Contributor

    Marking this as a duplicate of #4841, but thanks for the hint about SQLITE_OPEN_FILEPROTECTION_NONE, that's very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions