Drop Error captured by sentry.native.android, as default behavior
Problem Statement
Steps to Repro
- make an app with https://github.com/Unity-Technologies/uaal-example/blob/master/docs/android.md. https://docs.unity3d.com/Manual/UnityasaLibrary.html.
- sentry demo app made via... https://github.com/bitsandfoxes/uaal_wip
- error when user leaves the Unity game
override fun onDestroy(owner: LifecycleOwner) {
unityPlayer.quit()
super.onDestroy(owner)
}
Solution Brainstorm
sdk no capture this as an error
@bitsandfoxes @romtsn is this something you guys could add to that UaaL repro you built?
is this something you guys could add to that UaaL repro you built?
Sure! I'll update here.
Do I read that right, the issue is about dropping all captured native events during shutdown?
Do I read that right, the issue is about dropping all captured native events during shutdown?
My understanding was that when the customer closed the Unity app, the native (Android) SDK captured an event that was not actionable. They indicated as if exiting Unity raised a signal that our SDK picked up. But they see that as "business as usual"
is this something you guys could add to that UaaL repro you built?
Sure! I'll update here.
Any luck with repro'ing this so we can decide next steps?
@bitsandfoxes is this something you want to take a look at?
Do I read that right, the issue is about dropping all captured native events during shutdown?
@thinkocapo could you please confirm the behavior intended?
@bitsandfoxes can we reproduce this on the UaaL example we have? If so, what's the complexity of filtering out this event?
Internal customer case: https://www.notion.so/sentry/15e8b10e4b5d80a8bac6ff132144b8f8
@bruno-garcia yes that's correct, they want to drop all captured native events that come from the shutdown code they provided. I updated the customer case with a screenshot of a particular one they ran into recently, as well as the issue link to it.
We're going to pick this back up on the way of supporting UaaL properly as part of https://github.com/getsentry/sentry-unity/issues/1727