Currently there is no way on the Native side to stop/prevent/drop transactions reactively if the app has been put on sleep mode.
Why I need this is that putting the app to sleep while capturing transactions greatly impacts the Span durations and thus also my durations of the app.
It would be great if I can exclude those/ not capture them in the first place as these spans are useless. Something similar to Android/iOS beforeSendTransaction would be a way to implement this.
Currently there is no way on the Native side to stop/prevent/drop transactions reactively if the app has been put on sleep mode.
Why I need this is that putting the app to sleep while capturing transactions greatly impacts the Span durations and thus also my durations of the app.
It would be great if I can exclude those/ not capture them in the first place as these spans are useless. Something similar to Android/iOS
beforeSendTransactionwould be a way to implement this.