Giter Site home page Giter Site logo

Comments (5)

Jordan-Nelson avatar Jordan-Nelson commented on June 10, 2024

Hello @CarlosEspinozaMaruri - It does seem like the file could be getting corrupted. Without reproduction steps I am unsure what is causing that. The data is stored in a file on the file system in the local app data directory (ex: C:\Documents and /// Settings\username\Local Settings\Application Data). Is is possible that this file is being modified by some other process? The file is encrypted so you won't be able to read it, but you could see when it was last modified.

I think we could catch this exception and clear out the file. This would allow the app to configure, but it would be as if the user is using the app for the first time after install (credentials would be lost so they would need to re-authenticate).

from amplify-flutter.

CarlosEspinozaMaruri avatar CarlosEspinozaMaruri commented on June 10, 2024

Without reproduction steps I am unsure what is causing that

I can't give you more steps to reproduce the error than what's mentioned in the bug report, and perhaps add that it works correctly in the first installation, but then stops working after approximately 2 days. Another thing I didn't mention is that reinstalling the application only solves the problem for another 2 to 3 days, and then it happens again.

Is is possible that this file is being modified by some other process?

I am not sure.
I'll try to ask the client to notify me when it happens again to check if the file was modified, and once I have that information, I'll get back to you.

from amplify-flutter.

NikaHsn avatar NikaHsn commented on June 10, 2024

thanks @CarlosEspinozaMaruri. Please let us know once you have more information to help us investigate/reproduce this issue.

from amplify-flutter.

CarlosEspinozaMaruri avatar CarlosEspinozaMaruri commented on June 10, 2024

Hello @Jordan-Nelson @NikaHsn, the error occurred again today and I found in the application files that the file "archivo" was modified. I don't know how it could have happened, but I am sure it was not done by the user.

image image

from amplify-flutter.

Jordan-Nelson avatar Jordan-Nelson commented on June 10, 2024

@CarlosEspinozaMaruri can you provide me with the contents of the file with the data redacted? The contents of the file should be a JSON object. The keys may have app identifying info (such as a user pool ID). You can redact this as well. The values will contain encrypted blobs of data. The encrypted blobs will be arrays of integers. Please remove that entirely (you can replace with an empty array or [1, 2, 3] as a placeholder).

I want to look at the structure of the file. Based on the error it seems that the contents of the file is not valid JSON. I am hoping the structure of the file may give me an idea as to what is modifying it.

from amplify-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.