Closed jiayle27 closed 1 year ago
Hi @jiayle27 , thank you for the provided info. May I please ask you to provide me with the Version Code you have set in your build.gradle file of the version of your app when you got 33 instead of 6.2211.7348.
Thanks!
@shadyabarada Sure --- 202273483
@jiayle27 so you were getting 33 for both app version code and version name?
@shadyabarada App Build: 33 (instead of 202273483) App Version: 13 (instead of 6.2211.7348)
@jiayle27 is it possible to share logs or is it not reproducible anymore?
@shadyabarada We have yet to see a repro. We observed this issue only once in the last 28 days from one prod user on 11/30/22; and iirc we haven't seen this happen before. I don't think I can share the log with you since it's a prod user, is there something specific you are looking for?
@jiayle27 I wanted to check how were you able to observe the result of the package manager's version values versus the Error Report one, as per you comment you were able to see that the package manager was returning the correct values right?
@shadyabarada For every App Center observed crash, we best effort attach a PowerLift log to it. The PowerLift log contains information both from Error Report and package manager.
@jiayle27 What's interesting to note here is that the issue is on Android 13, and you're getting 13 for app version, and 33 for app build which is also the api level for Android 13... Will dig into this.
@jiayle27 After further investigation on this matter, this seems to be a very specific issue tied to a specific android device on a specific version. Given that this issue has happened only once with one user, one device, we will close the issue for now. Please do not hesitate to contact us if this issue re occurs.
Description
Hi! Found in our production environment, App Center Crash reported a crash from an app version that we did not release. Upon further inspection of the associated log, we noticed that com.microsoft.appcenter.crashes.model.ErrorReport gives an incorrect errorReport.device.appBuild and incorrect errorReport.device.appVersion; while PackageManager gives the correct one. In this instance, our version is 6.2211.7348, but errorReport.device returns 33.
This issue is a rare occurrence as we only spotted this happen once in the last 3 months and other users on the same build does not seem to have this issue, does the team have any insights on why it could be happening? Thanks.
Repro Steps
Please list the steps used to reproduce your issue.
No repro.
Details
AppCenter.setLogLevel(Log.VERBOSE)
before your call toAppCenter.start(...)
and include the logs here: