Skip to content

Upgrade activity recognition plugin to v6.0.0 - #1305

Merged
iarata merged 1 commit into
masterfrom
activity-recog
Aug 31, 2026
Merged

Upgrade activity recognition plugin to v6.0.0#1305
iarata merged 1 commit into
masterfrom
activity-recog

Conversation

@iarata

@iarata iarata commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

6.0.0

Breaking changes:

  • Requires Flutter 3.44 and Dart 3.10
  • Android package has been renamed to dk.carp.activity_recognition_flutter.
  • Apps that referenced the old package in their manifest or ProGuard rules need to update those references
  • ActivityEvent now takes the timestamp (optional)
  • Minimum iOS deployment target is 15.0 and the Android compileSdk is 36
  • CocoaPods is no longer supported on iOS
  • Added Swift Package Manager (SPM)
  • Moved Android impls to Kotlin
  • Plugin now declares its own permissions, broadcast receiver and foreground
    service in its manifest
  • Removed ActivityRecognizedService
  • Removed ActivityType.INVALID
  • Removed ActivityEvent.fromString
  • Fixed activity timestamps source to the platform's CMMotionActivity.startDate on
    iOS, ActivityRecognitionResult.time on Android
  • Fixed Android events deregister on stream cancel

Migrate Android implementation to Kotlin and typed Pigeon APIs, add
native timestamps, and move iOS integration to Swift Package Manager.
Update platform requirements, manifests, example projects,
documentation, and stream cancellation handling.
@iarata
iarata merged commit 7ce1fd8 into master Aug 31, 2026
1 check passed
@iarata
iarata deleted the activity-recog branch August 31, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant