-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Describe the bug:
We started using EncryptedSharedPreferences and now receive a lot of ANR from Google Play Console. There is not much information, but some of ANRs points to com.google.crypto.tink library.
What was the expected behavior?
No ANRs
How can we reproduce the bug?
Unfortunately, we have no reproduce, only data from Google Play Console.
Do you have any debugging information?
Console points to that lines of code (they are all different, it is not single stacktrace):
com.google.crypto.tink.shaded.protobuf.MessageSchema.newSchemaForRawMessageInfo+3804
com.google.crypto.tink.daead.AesSivProtoSerialization.parseKey
com.google.crypto.tink.internal.MutablePrimitiveRegistry.registerPrimitiveWrapper
com.google.crypto.tink.proto.AesSivKeyFormat.dynamicMethod
javax.crypto.Cipher.init+66
com.google.crypto.tink.shaded.protobuf.ProtobufArrayList.mutableCopyWithCapacity
com.google.crypto.tink.KeyManagerRegistry$2.getUntypedKeyManager
com.google.crypto.tink.shaded.protobuf.MessageSchema.mergeFromHelper+8504
What version of Tink are you using?
1.8.0 inside AndroidX.Security.Crypto-1.1.0-alpha06
Can you tell us more about your development environment?
Xamarin.Android
Android 24+
There is no statistically significant differences in ANR per devices or Android version.