Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Note: I know alpha-02 has a fix for a biometric related leak:
However that change did not fix the leak reported here, as BiometricViewModel is still tied to the activity lifecycle no matter what and will hold the clientCallback reference until the activity is destroyed.
Description
DataStore Version used: 1.0.0-alpha-01
Because `produceFile` is the first parameter, we can't use trailing lambda syntax when calling `DataStoreFactory.create()` and related methods. Moving it to the last parameter would fix this, while still allowing for other arguments to be passed using named parameters.