Skip to content

Develop - Wired ADB, Connection pill, Connection pop-up, Recent apps and a lot of fixes#196

Merged
sameerasw merged 13 commits intomainfrom
develop
Mar 11, 2026
Merged

Develop - Wired ADB, Connection pill, Connection pop-up, Recent apps and a lot of fixes#196
sameerasw merged 13 commits intomainfrom
develop

Conversation

@sameerasw
Copy link
Owner

This pull request introduces several enhancements and new features to the AirSync macOS app, focusing on improved ADB connection flexibility, recent app tracking, and UI improvements for connection status. The most significant changes include support for wired ADB connections, persistent tracking of recently used Android apps, and a new interactive connection status pill in the UI.

ADB Connection Enhancements:

  • Added support for wired ADB connections, including a new wiredAdbEnabled setting, detection logic, and UI indicators for connection mode (wired or wireless). The app now attempts a wired ADB connection first if enabled, falling back to wireless if necessary. (airsync-mac/Core/AppState.swift F248f47e, airsync-mac/Core/WebSocket/WebSocketServer+Handlers.swift F7a18b38, airsync-mac/Localization/en.json F2d79eb0, AirSync.xcodeproj/project.pbxproj F9271129)
  • The ADB connection mode is now tracked with a new enum and published property, allowing UI elements to reflect the current connection type. (airsync-mac/Core/AppState.swift F248f47e)

Recent Apps Feature:

  • Implemented persistent tracking of the last 9 recently used Android apps per device, including save/load logic and filtering out uninstalled apps. Recent apps are updated each time an app is launched from the grid. (airsync-mac/Core/AppState.swift F248f47e, airsync-mac/Screens/HomeScreen/AppsView/AppGridView.swift F9f26bd1)

UI Improvements:

  • Introduced a new ConnectionStatusPill SwiftUI component that visually shows connection status, ADB mode (wired/wireless), and provides a popover with detailed connection info and quick actions (connect/disconnect ADB/device). (airsync-mac/Screens/HomeScreen/PhoneView/ConnectionStatusPill.swift Fd861077)
  • Updated the connection state view to simplify display logic, showing only the result state when appropriate. (airsync-mac/Screens/HomeScreen/PhoneView/ConnectionStateView.swift Fddc4156)

Other Improvements and Fixes:

  • Ensured that property resets in MacInfoSyncManager are dispatched on the main thread for UI consistency. (airsync-mac/Core/Util/MacInfo/MacInfoSyncManager.swift F9cda6e5)
  • Improved the user experience for license loss alerts by showing the alert asynchronously and only blocking the UI if necessary. (airsync-mac/Core/Util/Gumroad.swift Fde57b80)

Project Metadata Updates:

  • Bumped the project version and marketing version to reflect these new features. (AirSync.xcodeproj/project.pbxproj F9271129)

These changes collectively improve the user experience by making ADB connections more robust and transparent, providing users with quick access to their most-used apps, and giving clear visual feedback about device and connection status.

@sameerasw sameerasw self-assigned this Mar 11, 2026
@sameerasw sameerasw added the enhancement New feature or request label Mar 11, 2026
@sameerasw sameerasw merged commit 99aec84 into main Mar 11, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in AirSync Features and Bugs Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant