smart_grow_logs_plugin 3.1.1
smart_grow_logs_plugin: ^3.1.1 copied to clipboard
Flutter plugin for Smart Grow Logs SDK. Secure logging with end-to-end encryption. Supports Android and iOS.
3.1.1 - 2026-09-12 #
Requirements #
- Android 8.0 (API 26) or higher, iOS 15.6 or higher, Flutter 3.3 or higher.
- Smart Grow Logs server 5.2.0 or higher.
Breaking Changes #
LogResponse.logIdis alwaysnull: logs are queued on the device and delivered in the background, sosuccessmeans "queued".- The field
SmartGrowLogs.instance.debugis nowdebugEnabled; usedebug(...)to log at DEBUG level.logDebug(...)still works and is deprecated. SmartGrowLogsAPIis no longer exported. UseSmartGrowLogs.instance.
Added #
- Offline queue: logs are stored encrypted on the device and sent in batches with automatic retries. Nothing is lost without connectivity.
flush()to send pending logs immediately.beforeSendto edit or drop any event before it is sent, andminLevelto ignore lower levels.setUser()andsetSession()to attach a default user and session to every log.metadataaccepts aMap(or any object) in addition to aString.LogOptions.copyWith(...)can clear a field by passingnull.- Native crash capture: MetricKit on iOS and
ApplicationExitInfoon Android 11+, including crashes that happen beforemain(). - Storm protection: repeated automatic errors are throttled instead of flooding the server.
extraCaPemfor self-hosted servers with a private CA.
Fixed #
- iOS: logging no longer blocks the main thread.
- iOS: user and session no longer leak between calls.
2.0.1 - 2026-03-18 #
Added #
- Auto-capture metadata now includes
errorTypefor Flutter, platform and zoned errors - Flutter framework auto-capture now includes
contextandlibrarywhen available - Native Flutter stack traces now extract and attach
buildIdwhenbuild_idis present
Improved #
- Better support for symbolication and deobfuscation workflows from captured crash data
- Added test coverage for enriched auto-capture metadata and
buildIdextraction
2.0.0 - 2026-03-12 #
Breaking Changes #
- Major version bump — all platforms unified under v2.0.0
Added #
- Automatic capture of uncaught errors (Flutter framework, async, isolates)
- Android ANR watchdog support
- iOS crash recovery on next launch
fatal()log level for critical failures
Improved #
- Error handling and thread safety across platforms
- Consistent
warnlog level (deprecatedwarning) - Null-safe instance checks and metadata serialization
1.0.4 - 2026-03-12 #
- Automatic capture of uncaught errors (Flutter framework, async, isolates)
- Android ANR watchdog support
- iOS crash recovery on next launch
- Improved error handling and thread safety across platforms
1.0.3 #
- Improve logs to server responses
1.0.2 #
- Fix native calls
1.0.1 #
- Update dependencies to improve network communication
1.0.0 #
- Initial release
- Android and iOS support
- Hybrid encrypted logging in transit
- Multiple log levels (DEBUG, INFO, WARN, ERROR, FATAL)
- Automatic device info detection
- Simple convenience methods:
debug(),info(),warn(),error(),errorWithException(),fatal() - Full
sendLog()API with metadata, stack traces, and user identifiers