Closed kvpt closed 2 years ago
Hi @kvpt , thank you for bringing this issue to our attention!
Can you please share verbose logs? Also, could you list the changes in your app in the last update and check if anything could potentially trigger this issue?
Hi,
For this version the log level is on default level I will enable the verbose log in the next version to debug that.
For the changes, The Microsoft.AppCenter nuget packages has been passed from 4.4.0 to 4.5.0 and the Xamarin Android target Framework as been passed from version 11 to 12 (api 30 to 31).
Another information that I discovered is that all the crashs are triggered at the launch because all crashs occurred after 0 or 1 second.
I tried to reproduce it locally but failed to trigger the issue, but I have a theory.
It's an enterprise app deployed on a fleet of phones, certain phones are enrolled in a central management tool that also can deploy the application. Is it possible that if the application is deployed by another app than AppCenter this bypass the init of the SharedPreferences and when app start it crash ?
Hi @kvpt , thank you for the details! I'll mark it as a bug. Please let us know when you get verbose logs. I've found a similar issue https://github.com/microsoft/appcenter-sdk-android/issues/929, might be related.
The fix has been released! I'm closing the issue, but feel free to reopen if you face it again.
Description
We have a lot of crashs in the last update of our application, and this seems to come from AppCenter SDK.
Repro Steps
Nothing special, the app randomly crash on resume
Details
AppCenter.setLogLevel(Log.VERBOSE)
before your call toAppCenter.start(...)
and include the logs here: