lerix_flutter 0.1.0-dev.1 copy "lerix_flutter: ^0.1.0-dev.1" to clipboard
lerix_flutter: ^0.1.0-dev.1 copied to clipboard

The official Lerix Flutter SDK — error and crash reporting plus push notifications (APNs, FCM and Web Push) for Flutter apps on iOS, Android and Web.

0.1.0 #

  • Lerix.setUser(externalId, identityHash: ...) and Lerix.clearUser() link an install to your own user ID, so one send with externalUserIds reaches that person on every device and platform. The ID is kept across re-registration and re-sent automatically.
  • macOS support: push notifications through APNs (same Apple key as iOS), device details and error reporting. Forward the APNs callbacks from AppDelegate (see the README). Windows and Linux push aren't supported yet.
  • On macOS the SDK stores its data in the standard keychain, so a sandboxed app doesn't need a Keychain Sharing entitlement.
  • iOS and macOS: a failed APNs registration now fails getDeviceToken() with REGISTRATION_FAILED instead of leaving it waiting forever.

0.0.2 #

  • Web: the Lerix service worker is now registered on its own /lerix/ scope instead of /. At / it was replaced by Flutter's flutter_service_worker.js in a default flutter build web, so pushes were reported as sent but never shown. A worker left at / by 0.0.1 is removed and its push subscription cancelled; the device resubscribes on the next init() (when permission is already granted) and gets a new device id.
  • Uncaught errors are now sent to Lerix, as critical crashes. The FlutterError.onError, PlatformDispatcher.onError and zone handlers only built the report locally, so automatic capture never reached the dashboard; Flutter's own console output for framework errors is kept.
  • Web: error reports now include their stack. The browser's JavaScript frames were parsed as Dart VM frames and all dropped; they are now sent as the browser wrote them, and Lerix maps them back to Dart files and lines with the source maps uploaded by npx @lerix-dev/lerix-cli upload after flutter build web --source-maps.

0.0.1 #

Initial release of lerix_flutter, the Lerix Flutter SDK.

  • Automatic capture of uncaught Flutter and Dart errors, plus manual Lerix.throwError reporting with type, severity and metadata.
  • Anonymous user registration per project, with Lerix.deleteUser() and Lerix.reRegisterUser() to recover from a stale or mismatched user id.
  • Push notifications on iOS (native APNs), Android (FCM, no google-services.json needed) and Web (VAPID + service worker): permissions, device id / token, foreground and tap callbacks, cold-start tap recovery, topic subscriptions, custom sounds and rich images.
  • "Unsend" support: a silent follow-up push removes an already-displayed notification from the device (iOS removeDeliveredNotifications, Android NotificationManager.cancel). Requires the application(_:didReceiveRemoteNotification:fetchCompletionHandler:) override in AppDelegate.swift — see NOTIFICATIONS_SETUP_SIMPLE.md.
  • Web service worker (web_sw/lerix-sw.js) now uses the same lerix-* channel, cache and message names the Dart side listens on.
0
likes
0
points
655
downloads

Documentation

Documentation

Publisher

verified publisherlerix.dev

Weekly Downloads

The official Lerix Flutter SDK — error and crash reporting plus push notifications (APNs, FCM and Web Push) for Flutter apps on iOS, Android and Web.

Homepage

License

unknown (license)

Dependencies

dio, flutter, flutter_secure_storage, package_info_plus, plugin_platform_interface, stack_trace, web

More

Packages that depend on lerix_flutter

Packages that implement lerix_flutter