Skip to content

Use Android system unwinder if API >= 28 #743

Description

@marandaneto

Android API 28 ships the system unwinder if API >= 28
https://android.googlesource.com/platform/system/unwinding/+/refs/heads/master/libunwindstack/AndroidVersions.md#android-9-pie_api-level-28

Today we have a stripped-down version of this library to be back compatible with API >= 16
Because of that, we don't benefit from new features or bundle size gains.

We can't get rid of it right now to gain bundle size, again, because of back compatibility.
What we can do tho is to actually use the Android system unwinder at runtime if API >= 28, so at least, we could benefit from likely better stack trace and its frames.

Related issue to bundle size: #700

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidErrorsissues relates to the error reporting productFeaturenew featureNativeplatform label
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions