Skip to content

[Android] Handle errors better #178

@shubhamsinghmutualmobile

Description

I see the following crashes in my app's crashlytics window (on Android only):

  1. Screenshot 2024-11-26 at 7 58 56 AM
  2. Screenshot 2024-11-28 at 12 14 27 PM

But since I have wrapped my startDfu() method call inside a try-catch block, I expected this error to be handled and not crash the app. This would've been true if the startDfu future caught the error in the first place, but it seemingly does not.

Ideally, this error should be passed by the library to its own onError callback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions