MobileNativeFoundation / MobileNativeFoundation/Store

[BUG] Writing into Store doesnt emit data into collected flow

Open
#541 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug mutable-store
Dominant language
Kotlin
Stars
3.4k
Forks
217
Avg merge
18m
Merged PRs (30d)
4

Description

Describe the bug
Writing into Store doesnt emit data into collected flow (reading from Store)

To Reproduce
Steps to reproduce the behavior:

  1. Start collecting flow (read from Store with key X)
  2. Write into Store new data with key X
  3. Collected flow doesnt receive the new data
  4. Start collecting flow again (read from store with key X) gives you the new data

Expected behavior
Writing into Store should emit data into collected flow.

Sample app
Store5.zip

Contributor guide

Open the 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.

Research direction

Start by running the linked Store5.zip sample app and reproduce the sequence of collecting a flow, writing new data for the same key, and observing the collected flow. Trace the Store read and write paths to find where the update stops; done means an active collection receives the newly written data without restarting collection.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.