glance_widget_android 0.2.1 copy "glance_widget_android: ^0.2.1" to clipboard
glance_widget_android: ^0.2.1 copied to clipboard

PlatformAndroid

Android implementation of the glance_widget plugin using Jetpack Glance.

Changelog #

0.2.1 #

  • JSON Serialization - Fixed list widget item parsing using proper JSON instead of delimiter-based parsing
  • Error Handling - Added UpdateResult sealed class for structured error reporting
  • Backward Compatibility - Legacy delimiter parsing preserved for existing widget data
  • Glance 1.1.1 Compatibility - Fixed ColorProvider API for Compose Color
  • Compose BOM - Added Compose BOM 2024.12.01 dependency for runtime compatibility
  • CircularProgressIndicator - Changed to percentage display (Glance only supports indeterminate mode)
  • isWidgetPushSupported - Added method stub (returns false, iOS-only feature)
  • compileSdk - Updated to API 36
  • Updated dependency on glance_widget_platform_interface to ^0.3.0

0.1.1 #

  • Updated dependency on glance_widget_platform_interface to ^0.2.0
  • Compatible with iOS implementation release

0.1.0 #

  • Initial release
  • Android implementation using Jetpack Glance
  • Three widget templates: Simple, Progress, List
  • Instant widget updates (< 1 second)
  • Theme support with dark/light modes
  • Widget action callbacks to Flutter
  • JSON serialization for list items
  • Proper coroutine lifecycle management
  • ProGuard/R8 rules included
0
likes
150
points
73
downloads

Publisher

unverified uploader

Weekly Downloads

Android implementation of the glance_widget plugin using Jetpack Glance.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, glance_widget_platform_interface

More

Packages that depend on glance_widget_android

Packages that implement glance_widget_android