marthaegrimaldi / marthaegrimaldi/meal-ordering-app-using-react-native
Cancelled Orders Still Visible in Customer App Until App is Restarted
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When an order is cancelled from the store app, it still appears as active in the customer app, even though it’s no longer valid. The customer app only reflects the cancellation after the app is completely closed and reopened, indicating that the app isn't updating the order status in real time.
To Reproduce
Steps to reproduce the behavior:
Place an order via the customer app
Cancel the order from the store app
Keep the customer app open and check the order status
Notice that the order still appears active
Close and reopen the customer app
Now the cancellation is reflected
Expected behavior
The customer app should immediately update the order status (e.g., to “Cancelled”) when a store cancels the order, without needing to restart the app.
Screenshots
Smartphone (please complete the following information):
Device: Samsung A15
OS: Android 14
App Version: [insert if known]
Additional context
This is a real-time sync issue—possibly due to missing WebSocket events or untriggered API refresh after status change. It leads to confusion and may result in users contacting support unnecessarily.
Activity
har33m
added the
Bug
issue type 4 days ago
har33m
added
bug
Something isn't working
good first issue
Good for newcomers
Enatega Multivendor Customer App
Urgent!
4 days ago
deepakarthikeya
deepakarthikeya commented 4 days ago
deepakarthikeya
4 days ago
Hi! I would like to take this up and work on a fix. Could you please assign the issue to me?
har33m
har33m commented 4 days ago
har33m
4 days ago
Author
you can work on it! @deepakarthikeya. Happy coding :)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by tracing how the customer app receives order-status changes after a store cancellation, including the possible WebSocket event or API refresh path; done means an open customer app immediately shows the order as cancelled without a restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100