rollbar / rollbar-flutter

Rollbar for Dart and Flutter
https://docs.rollbar.com/docs/flutter
MIT License
21 stars 27 forks source link

Initialize the native Rollbar/Android SDK as a hook instead of explicitly #110

Closed matux closed 1 year ago

matux commented 1 year ago

Description of the change

This PR encapsulates the initialization of the Rollbar/Android (native) SDK as another Hook, called the NativeHook.

This PR also encapsulate inside the PlatformHook the as dynamic hack we use to check whether the PlatformDispatcher.onError closure exists.

Type of change

Related issues

Checklists

Development

Code review

shortcut-integration[bot] commented 1 year ago

This pull request has been linked to Shortcut Story #129017: Flutter SDK isn't catching async errors.