Closed danielgomezrico closed 8 months ago
Hello @danielgomezrico - Thanks for reporting this issue. This was supposed to be resolved by upgrading to a newer version of tink-crypto, which Android Security depends on. I am not sure what would have caused this to reoccur but we will look into it.
When this issue surfaced before it did not impact the functionality of the app. The message does clutter logs though, which can be disruptive. Is this the case? Are you seeing any impact on functionality or is the issue that this is cluttering logs?
thanks for answering, it works, I can access the user pool but I see a big log input every time and I was wondering why so I reopened the issue
Got it. Thanks. The log does look alarming, but should be harmless. I do understand it is not ideal though as it causes confusion and clutters logs.
I was able to reproduce this on a fresh install of an app using the latest versions of amplify flutter.
The version constraint for google tink was updated in https://github.com/aws-amplify/amplify-flutter/pull/3220. I think the syntax is not correct and is therefore being ignored. I will investigate.
Sound good to me! thanks for the fast feedback
I have a PR open to resolve this. It will likely be included in the next release. Thanks for bringing this to our attention.
Hi @danielgomezrico, closing this as it has been resolved in Amplify Flutter 1.7.0.
Description
Issue
A FileNotFoundException and stack trace is logged while initializing Amplify. The full log looks like:
It was reported on https://github.com/aws-amplify/amplify-flutter/issues/2640 as fixed but it is still happening on:
Cause
The log message is coming from Android Security (androidx.security:security-crypto:1.0.0) which is used for storing sensitive data in Amplify when targeting Android.
Categories
Steps to Reproduce
Add the dependency and run the app
Screenshots
No response
Platforms
Flutter Version
3.2.3
Amplify Flutter Version
1.6.1
Deployment Method
Custom Pipeline
Schema
No response