shipbook_flutter 2.1.0
shipbook_flutter: ^2.1.0 copied to clipboard
Shipbook gives you the power to remotely gather, search and analyze your user logs and exceptions in the cloud, on a per-user & session basis.
2.1.0 #
Added #
- App-state events. The SDK now sends an event when the app becomes active, inactive or goes to the background, with the screen orientation, as the React Native and browser SDKs do. The
eventLoggingDisabledconfig turns them off.
Changed #
log.e/w/i/d/vandLog.error/warning/info/debug/verbosetake any caught error, not only anError, and an optional stack trace:catch (error, stackTrace) { log.e('Payment failed', error, stackTrace); }. Code that passes anErrorkeeps working.
Fixed #
- A logged error now shows the stack of where it was thrown, not of the
log.ecall. Without a stack trace argument, anErroruses its own. - Uncaught errors kept every frame except the one that threw. That frame is now first, so Loglytics groups the crash by the line that failed.
- Screen events kept the upload's time instead of the time the screen opened, so they sorted after the logs that followed them.
2.0.1 #
- Fixed apps on Windows, macOS, Linux and web never connecting to Shipbook. The SDK sent no device ID on those platforms, so the server turned the login down. On web, the SDK stopped before it even tried to log in. The SDK now reads the device ID on every platform. Where there is none, it creates a random ID and keeps it on the device.
- If reading the device or app info fails, the SDK now logs a warning and logs in anyway, instead of waiting forever.
2.0.0 #
- Upgrade to get an SDK that follows the Shipbook server: it stops sending when the server refuses your app or is busy, and calling
Shipbook.startagain costs nothing. - The SDK obeys the server. If the server refuses the app (an unknown app ID, or traffic far past fair use), the SDK pauses: it sends nothing and drops new logs until the pause ends, at most 30 days and across restarts. If the server or a proxy answers busy (429 or 503), it waits (the
Retry-Aftertime, 5 minutes without one, at most an hour) and sends the saved logs afterwards.Shipbook.enableInnerLog(true)printspaused until …orbacking off until …. - Every request carries
x-shipbook-app-idandx-shipbook-sdk: flutter/2.0.0. - Calling
Shipbook.startagain with the same app ID and key returns the first call's result without logging in again. - Removed the optional
urlparameter ofShipbook.start, which was never read. UseShipbook.setConnectionUrlto point the SDK at another server.
1.1.0 #
- Added
Shipbook.getSessionHeaders(). Add its headers to requests toward your own backend, and the Shipbook console links this app session to the sessions those requests create in your Node.js backend. It returns an empty map until login completes, so spreading it is always safe. - Fixed login failing when the cached config was left corrupt, for example by a crash mid-write. The SDK now discards it and falls back to the default config.
1.0.0 #
- Initial stable release
- Remote logging with configurable severity levels
- Automatic uncaught exception and Flutter error capture
- User identification and session tracking
- Screen tracking
- Offline log queuing
- Dynamic remote configuration
0.0.1 #
- Initial development release