Skip to content

Watch connectivity sent message fix#29

Open
ReasonPsycho wants to merge 3 commits intoRexios80:masterfrom
ReasonPsycho:feature/garmin-proguard
Open

Watch connectivity sent message fix#29
ReasonPsycho wants to merge 3 commits intoRexios80:masterfrom
ReasonPsycho:feature/garmin-proguard

Conversation

@ReasonPsycho
Copy link

Fixed sending messages in WatchConnectivityGarmin.

Removed the underscore from _messageStreamController to enable access inside WatchConnectivityGarmin.
Added appropriate message handling inside WatchConnectivityGarmin.

Rexios80 and others added 3 commits April 30, 2025 08:54
Removed the underscore from _messageStreamController to enable access inside WatchConnectivityGarmin.
Added the appropriate message handling inside WatchConnectivityGarmin.
erwint added a commit to erwint/watch_connectivity that referenced this pull request Oct 19, 2025
- Add public helper methods addMessageToStream and addContextToStream to platform interface
- Update Garmin plugin to use these helpers instead of accessing protected members directly
- Use path dependency for platform interface to pick up local changes
- Bump platform interface version to 0.2.0+erwint.1
- Add @OverRide annotation to sendMessage method

This resolves cross-package access issues with @Protected members in Dart.
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.

2 participants