Plugin & Notify System Fix - #388
Closed
CNlongY-Py wants to merge 7 commits into
Closed
Conversation
- Notifications: unique IDs per message, groupKey + GroupAlertBehavior.all for independent heads-up popups - WebSocket: reduce heartbeat to 30s, force reconnect on pong timeout, debounce connectivity loss (3s) to prevent false background disconnects - Remove duplicate foreground FCM system notification (handled by WebSocket) - Add plugin pane system (draggable/resizable panes, command palette) - Add Android build patch script (compileSdk 36, media_kit mirror, fonts)
Keep plugin pane system and notification fixes; all other files restored to main repository state.
startExternalNowPlayingMonitoring emitted the current snapshot synchronously on the Flutter platform thread, which is an STA apartment. The WinRT async .get() blocking waits in ReadExternalNowPlayingSnapshot() then hit C++/WinRT's check_sta_blocking_wait() debug assertion (!is_sta_thread()), blocking app startup on Windows debug builds. The monitoring worker thread already initializes an MTA apartment and emits the snapshot on its first poll, so the synchronous initial emit is unnecessary.
| 'ok': false, | ||
| 'error': 'No active plugin context', | ||
| }); | ||
| final data = context.router.decode(raw); |
Contributor
There was a problem hiding this comment.
Why's everywhere about the plugin args got replaced by this method
And why's the router
How's that related?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.