[Bug] iOS 0.14.11 – Local images fail to load after reopening notes, possible data loss

Open
#9,104 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
dart, flutter, ios
Domain
backend, mobile

Research direction

Start by tracing the iOS local image insertion and loading paths, then inspect how image files and references are persisted when a note is reopened. Compare that flow with public HTTPS image loading and look for relevant existing tests. Done means local images remain visible after reopening a note and restarting the app in local/anonymous mode.

Written by the indexing model from the issue text.

Description

Bug Description

After updating AppFlowy on my iPhone 16, all previously inserted local images stopped loading, displaying the following error:

We couldn't load this image.

Text content remains intact, but none of the locally stored images can be displayed.

More importantly, the issue also affects newly inserted local images. When I insert an image from my iPhone, it initially displays correctly. However, after closing and reopening the note, the image fails to load with the same error.

Images inserted through public HTTPS URLs work correctly, suggesting that the issue is specifically related to local image storage, persistence, or file path resolution.

I use AppFlowy entirely in local/anonymous mode, without an account or cloud synchronization.

This is particularly concerning because I use AppFlowy for academic notes, and several important images may now be inaccessible.

How to Reproduce

Open AppFlowy on iOS in local/anonymous mode.

Create or open a document.

Insert an image from the iPhone's local photo library.

Observe that the image initially displays correctly.

Close the document.

Reopen the same document.

Observe that the image no longer loads.

Actual result:
We couldn't load this image.

Expected Behavior

Locally inserted images should remain accessible after reopening documents and restarting the application.

Operating System

IOS 27.0

AppFlowy Version(s)

0.14.11(1)

Screenshots
Image
Additional Context

Device: iPhone 16e

Storage: 128 GB

Operating System: iOS 27.0

AppFlowy Version: 0.14.11 (1)

Workspace: Local / Anonymous

Cloud Synchronization: Disabled / Not configured

Issue started: After updating AppFlowy

Dominant language
Dart
Stars
79.1k
Forks
6.3k
Avg merge
17h 29m
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AppFlowy-IO/AppFlowy

All issues in AppFlowy-IO/AppFlowy

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.