圖標

Work Profile VPN Switcher

Automatically manage work profile when VPN connects or disconnects
新版本 1.2.1
* Reworked detection of manual work profile enabling for better device compatibility
* Notifications now follow the app language
* Fixed notification status: "VPN active" is shown even if the work profile is already off
* Message when automatic attempts to enable the work profile are exhausted
* Fixed a possible crash in the VPN app picker
* Log is saved immediately, max size limited to 1024 KB
* Better readability of VPN status in the dark theme
App for automatically managing an Android work profile when a VPN connects.

Monitors VPN connections and automatically disables the work profile while a VPN is active, then restores its state after the VPN disconnects. Useful when the work profile contains apps that should not run through the VPN tunnel, or conversely, when work apps need to be isolated from VPN traffic.

Features:
* Automatic disabling of the work profile when VPN connects
* State restoration after VPN disconnects (optional)
* Tracking manual work profile activation while a VPN is active (optional) — choose whether to disable the profile again, or disable the VPN itself instead, keeping the profile enabled (dummy VPN, requires VPN connection permission)
* Allowlist mode — monitor only selected VPN apps
* Denylist mode — monitor all VPN connections except excluded apps (useful for AdGuard)
* Background polling — fallback VPN-detection mechanism
* Russian and English interface

Requirements:
* Android 11 (API 30) or higher
* A configured work profile (via Shelter or similar app)
* MODIFY_QUIET_MODE permission — granted manually via ADB:
adb shell pm grant io.github.snood21.workprofilevpnswitcher android.permission.MODIFY_QUIET_MODE
* For disabling VPN via the dummy VPN — VPN connection permission, requested through a system dialog when enabling that option

Note: the MODIFY_QUIET_MODE permission must be re-granted after a clean reinstall. It persists through regular updates.

If automatic profile disabling on VPN connect does not work, enable Background polling in Advanced settings. Also allow autostart and set battery mode to No restrictions in system settings.

版本

雖然在下方可選擇下載 APK 檔案,但要留意這樣的安裝方式將不會收到更新通知,是一種較不安全的下載方法。建議您先安裝 F-Droid 用戶端使用。

下載 F-Droid
  • 版本 1.2.1 (5) 建議 於 2026 年 10 月 15 日新增

    此版本需要 Android 11 或更高的版本。

    此套件包由 F-Droid 建置和簽署,並保證與此原始碼 Tarball 保持一致。

    權限
    • 查看網路連線
      允許應用程式查看網路連線相關資訊,像是有哪些網路,以及有沒有連上。
    • 執行前景服務
      允許應用程式使用前景服務。
    • 搭配「specialUse」類型執行前景服務
      允許應用程式搭配「specialUse」類型使用前景服務
    • android.permission.MODIFY_QUIET_MODE
    • 顯示通知
      允許應用程式顯示通知
    • 查詢所有套件
      允許應用程式查看所有已安裝的套件。
    • 啟動時執行
      允許應用程式在系統完成開機程序後立刻自行啟動。這會增加手機的開機時間,而且會因為系統一直執行該應用程式導致手機的整體運作速度變慢。
    • 控制震動
      允許應用程式控制震動。
    • io.github.snood21.workprofilevpnswitcher.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    下載 APK 12 MiB PGP 簽章 | 建置紀錄

  • 新版本 1.2.0
    * New option — disable VPN on manual work profile activation (dummy VPN)
    * Separate setting for tracking work profile activation
    * Fixed a rare system crash on some devices when enabling the work profile
    * More precise notification wording
  • 版本 1.2.0 (4) - 於 2026 年 10 月 3 日新增

    此版本需要 Android 11 或更高的版本。

    此套件包由 F-Droid 建置和簽署,並保證與此原始碼 Tarball 保持一致。

    權限
    • 查看網路連線
      允許應用程式查看網路連線相關資訊,像是有哪些網路,以及有沒有連上。
    • 執行前景服務
      允許應用程式使用前景服務。
    • 搭配「specialUse」類型執行前景服務
      允許應用程式搭配「specialUse」類型使用前景服務
    • android.permission.MODIFY_QUIET_MODE
    • 顯示通知
      允許應用程式顯示通知
    • 查詢所有套件
      允許應用程式查看所有已安裝的套件。
    • 啟動時執行
      允許應用程式在系統完成開機程序後立刻自行啟動。這會增加手機的開機時間,而且會因為系統一直執行該應用程式導致手機的整體運作速度變慢。
    • 控制震動
      允許應用程式控制震動。
    • io.github.snood21.workprofilevpnswitcher.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    下載 APK 12 MiB PGP 簽章 | 建置紀錄

  • 新版本 1.1.1
    * Fixed VPN detection via NetworkCallback — removed the incorrect NET_CAPABILITY_NOT_VPN requirement
    * Disabled automatic backup of application data
    * Fixed enabling the work profile while the screen is locked — the user is notified, and the profile is automatically enabled upon the first unlock
    * Minor fixes and stability improvements
  • 版本 1.1.1 (3) - 於 2026 年 8 月 19 日新增

    此版本需要 Android 11 或更高的版本。

    此套件包由 F-Droid 建置和簽署,並保證與此原始碼 Tarball 保持一致。

    權限
    • 查看網路連線
      允許應用程式查看網路連線相關資訊,像是有哪些網路,以及有沒有連上。
    • 執行前景服務
      允許應用程式使用前景服務。
    • 搭配「specialUse」類型執行前景服務
      允許應用程式搭配「specialUse」類型使用前景服務
    • android.permission.MODIFY_QUIET_MODE
    • 顯示通知
      允許應用程式顯示通知
    • 查詢所有套件
      允許應用程式查看所有已安裝的套件。
    • 啟動時執行
      允許應用程式在系統完成開機程序後立刻自行啟動。這會增加手機的開機時間,而且會因為系統一直執行該應用程式導致手機的整體運作速度變慢。
    • 控制震動
      允許應用程式控制震動。
    • io.github.snood21.workprofilevpnswitcher.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    下載 APK 12 MiB PGP 簽章 | 建置紀錄