Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes after clearing DataStore following a save() operation #5677

Open
2 of 14 tasks
giulitu95 opened this issue Nov 15, 2024 · 5 comments
Open
2 of 14 tasks

App crashes after clearing DataStore following a save() operation #5677

giulitu95 opened this issue Nov 15, 2024 · 5 comments
Labels
Android Issues specific to the Android Platform bug Something is not working; the issue has reproducible steps and has been reproduced datastore Issues related to the DataStore Category

Comments

@giulitu95
Copy link

Description

The application crashes when performing a DataStore.clear() immediately after saving a model using DataStore.save() in an Amplify project. This issue seems to occur consistently and results in an unexpected termination of the app.

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

  1. Save a model
  2. Clear the datastore

If a crash does not occur, cyclically perform such steps.

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.24.4

Amplify Flutter Version

2.5.0

Deployment Method

Amplify CLI (Gen 1)

Schema

No response

@github-actions github-actions bot added pending-triage This issue is in the backlog of issues to triage pending-maintainer-response Pending response from a maintainer of this repository labels Nov 15, 2024
@Equartey
Copy link
Contributor

Equartey commented Nov 15, 2024

Hi @giulitu95, sorry to hear your app is crashing. We will investigate this and get back you with our findings.

Are you experiencing this on a physical device or the emulator?

@Equartey Equartey added the datastore Issues related to the DataStore Category label Nov 15, 2024
@github-actions github-actions bot removed the pending-maintainer-response Pending response from a maintainer of this repository label Nov 15, 2024
@giulitu95
Copy link
Author

Hi @giulitu95, sorry to hear you're app is crashing. We will investigate this and get back you with our findings.

Are you experiencing this on a physical device or the emulator?

Hi @Equartey, I'm experiencing this problem on a physical android device (Samsung Galaxy S22)

@github-actions github-actions bot added the pending-maintainer-response Pending response from a maintainer of this repository label Nov 15, 2024
@Equartey
Copy link
Contributor

@giulitu95 thank you for the context, we will work on reproducing the issue.

@github-actions github-actions bot removed the pending-maintainer-response Pending response from a maintainer of this repository label Nov 15, 2024
@Equartey Equartey added bug Something is not working; the issue has reproducible steps and has been reproduced Android Issues specific to the Android Platform and removed pending-triage This issue is in the backlog of issues to triage labels Nov 15, 2024
@giulitu95
Copy link
Author

Hi! Are there any updates regarding this bug? Is it currently being worked on, and is there a planned release where it will be fixed?

@github-actions github-actions bot added the pending-maintainer-response Pending response from a maintainer of this repository label Dec 12, 2024
@Equartey
Copy link
Contributor

Hi @giulitu95, I was able to reproduce the behavior described here, verifying it is a bug. However, it's still in our backlog of issues to address. We will provide updates here when a fix has been determined and released. Thank you for your patience.

@github-actions github-actions bot removed the pending-maintainer-response Pending response from a maintainer of this repository label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Issues specific to the Android Platform bug Something is not working; the issue has reproducible steps and has been reproduced datastore Issues related to the DataStore Category
Projects
None yet
Development

No branches or pull requests

2 participants