Comments (5)
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.
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.
thanks @CarlosEspinozaMaruri. Please let us know once you have more information to help us investigate/reproduce this issue.
from amplify-flutter.
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.
from amplify-flutter.
@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)
- Pinpoint Notifications always use APNs Sandbox channel HOT 11
- Login with email is slow HOT 18
- AmplifyAPI modelProvider not working moving from v1 to v2 HOT 2
- NotAuthorizedServiceException when answering NEW_PASSWORD_REQUIRED challenge HOT 7
- Amplify.Hub.listen never get "ready" HOT 6
- correctClockSkew option HOT 1
- Amplify.API.mutate HOT 9
- Customize title of Authentication with Amplify flutter Authentication UI HOT 3
- Network error when trying to authenticate from a release apk HOT 5
- How to use SyncExpression with GroupPredicate HOT 3
- Gen2 - Quick Start guide does not work - ConfigurationError: The provided configuration is not a valid json HOT 3
- Build failed with an exception
- Error message is unclear when oauth is missing from config HOT 3
- [iOS] building with debug flag makes the app crash HOT 3
- aws_signature_v4 - flutter and aws lex bot integration HOT 3
- Data not updated by API GraphQL HOT 3
- Feature Request: GraphQL query with sorting by date with secondary index HOT 5
- DataStore initial sync slower after recreating auth and schema has owner-based permissions HOT 6
- amplify_auth_cognito:compileDebugJavaWithJavac HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify-flutter.