ezviz_flutter 1.0.1
ezviz_flutter: ^1.0.1 copied to clipboard
A comprehensive Flutter/Dart library for EZVIZ camera API integration with support for device management, live streaming, PTZ control, and more.
1.0.1 #
🚀 New Features #
- Flexible Authentication: Added support for direct access token authentication alongside existing app key/secret authentication
- Enhanced EzvizClient Constructor: Now accepts either
accessToken+ optionalareaDomainORappKey+appSecret - Improved Error Handling: Better error messages for authentication failures and token validation
- Automatic Token Management: Smart handling of provided vs API-obtained tokens
📚 Documentation #
- Updated README with comprehensive authentication examples
- Added new
authentication_examples.dartdemonstrating both auth methods - Updated API configuration examples for flexible authentication
- Improved code documentation and examples
🔧 Improvements #
- Better validation of authentication parameters at construction time
- Enhanced authentication flow with automatic retry for expired tokens
- More intuitive authentication priority (access token preferred over app credentials)
1.0.0 #
- Initial version.