awty_engine 0.1.6 copy "awty_engine: ^0.1.6" to clipboard
awty_engine: ^0.1.6 copied to clipboard

A reliable, decoupled step tracking engine for Flutter applications. Provides pure step counting and goal notification services. Includes test-drive app for easy testing.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.6 - 2025-08-11 #

Fixed #

  • Null Safety: Fixed null handling in getServiceStatus method
  • Type Inference: Resolved Pair<String, String?> type mismatch in mapOf calls
  • Kotlin Compilation: Fixed remaining compilation errors preventing builds

Technical #

  • Added null coalescing for reachedTime field: (reachedTime ?: "")
  • Ensured all mapOf entries have consistent non-null types
  • Maintained explicit type parameters for Map<String, Any> returns

0.1.5 - 2025-08-11 #

Fixed #

  • Kotlin Compilation: Fixed type mismatch errors in AwtyPlatformChannel
  • Build Errors: Resolved compilation failures that prevented package building
  • Type Safety: Fixed Map<String, Any> return type issues in service methods

Technical #

  • Fixed explicit type parameters in mapOf<String, Any> calls
  • Removed unnecessary setPlatformChannel call that caused compilation errors
  • Ensured all companion object methods have correct return types

0.1.4 - 2025-08-11 #

Fixed #

  • Plugin Architecture: Completely rewrote AWTY to follow Flutter's official plugin template
  • Method Call Handling: Plugin now directly implements MethodCallHandler instead of delegation
  • Plugin Registration: Fixed critical issue preventing Flutter from discovering and registering the plugin
  • MissingPluginException: Resolved persistent plugin registration failures in calling applications

Technical #

  • Rewrote AwtyPlugin.kt to implement both FlutterPlugin and MethodCallHandler directly
  • Simplified AwtyPlatformChannel.kt to be a utility class rather than a method handler
  • Removed complex delegation pattern that was breaking Flutter's plugin discovery
  • Plugin now follows the exact structure of Flutter's official plugin template

Breaking Changes #

  • Plugin API: Internal plugin architecture changed significantly
  • Method Handling: All method calls now go directly through the plugin class
  • Platform Channel: Simplified to static utility methods

0.1.3 - 2025-08-11 #

Fixed #

  • Plugin Architecture: Fixed AWTY to conform to Flutter's official plugin requirements
  • Plugin Discovery: Added plugin_platform_interface dependency for proper plugin recognition
  • Method Call Handling: Updated AwtyPlugin to implement MethodCallHandler directly
  • Plugin Registration: Fixed plugin registration pattern to match Flutter's official template

Technical #

  • Added plugin_platform_interface: ^2.0.2 dependency
  • Updated AwtyPlugin to implement both FlutterPlugin and MethodCallHandler
  • Changed method call handling to delegate through the plugin class
  • Plugin now follows Flutter's official plugin architecture pattern

0.1.2 - 2025-08-11 #

Fixed #

  • Package Structure: Fixed critical plugin registration issues that prevented Flutter from finding the native AWTY implementation
  • Plugin Configuration: Added proper plugin: section in pubspec.yaml for correct Flutter plugin recognition
  • Build Process: Resolved issues where native Android code wasn't being included in dependent app builds
  • MissingPluginException: Fixed the root cause of MissingPluginException errors in calling applications

Technical #

  • Restored proper Flutter plugin structure with platforms: configuration
  • Verified native Android implementation is correctly included in builds
  • Confirmed package works with simple test applications
  • Cleaned up contaminated package structure and removed duplicate code

0.1.0+1 - 2025-01-15 #

Added #

  • Initial release of AWTY Engine
  • Basic step tracking functionality
  • Goal-based notifications
  • Android foreground service support
  • Method channel communication

Technical #

  • Kotlin-based Android implementation
  • Flutter plugin architecture
  • Shared preferences for state persistence
  • Notification management
4
likes
0
points
163
downloads

Publisher

unverified uploader

Weekly Downloads

A reliable, decoupled step tracking engine for Flutter applications. Provides pure step counting and goal notification services. Includes test-drive app for easy testing.

Homepage
Repository (GitHub)
View/report issues

Topics

#step-tracking #fitness #health #background-service #flutter-plugin

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on awty_engine

Packages that implement awty_engine