Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equivalent function for didReceiveMemoryWarningInLastSession? #1406

Closed
TLiu2121999 opened this issue Mar 20, 2019 · 3 comments
Closed

Equivalent function for didReceiveMemoryWarningInLastSession? #1406

TLiu2121999 opened this issue Mar 20, 2019 · 3 comments

Comments

@TLiu2121999
Copy link

TLiu2121999 commented Mar 20, 2019

Describe the solution you'd like

We need didReceiveMemoryWarningInLastSession to calculate the app crash metrics.

More Information

I talked with troubleshooting team, they said the replacement in AppCenter is - (BOOL)isAppKill.
However, that's not entirely equivalent to didReceiveMemoryWarningInLastSession, because - (BOOL)isAppKill indicates not only memory warnings, it checks if a crash report contains the SIGKILL symbol which generally indicates that the app was killed by the OS, and there are multiple reasons like:

  • high memory usage (likely after receiving the low memory warning)
  • app kills by the user
  • app kills because the app does not have certain permissions and the dev forgot to check
  • other reasons...

Problem that we have

Problem is we need to get the crashes that was only caused by memory usage/warnings.
If they are mixed with "App kills by the user", then we can't use it any more.
This will be a very big gap for us since we have a large DAU and the tracking each crash reason is very important to us. Without this metric we can't fulling migrate to AppCenter.

Solution we need

We need to keep the functionality of didReceiveMemoryWarningInLastSession;
Please provide an equivalent function for it in AppCenter so we can different the crash reasons.

@TLiu2121999 TLiu2121999 changed the title Equivalent function for didReceiveMemoryWarningInLastSession Equivalent function for didReceiveMemoryWarningInLastSession? Mar 20, 2019
@guperrot guperrot closed this as completed Apr 4, 2019
@guperrot guperrot reopened this Apr 4, 2019
@dipree
Copy link
Member

dipree commented Apr 5, 2019

@TLiu2121999 thanks for bringing this up. HockeyApp documentation for reference.

I'd recommend we're opening another ticket in our public repo and cross link with this issue @winnieli1208

@TLiu2121999
Copy link
Author

Thanks @derpixeldan ; Just did: microsoft/appcenter#309 cc: @winnieli1208

@jaeklim
Copy link
Contributor

jaeklim commented Sep 24, 2019

We've added this functionality in App Center SDK version 2.3.0.

@jaeklim jaeklim closed this as completed Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants