安装包图标

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-03

    该版本需要 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-08-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 签名 | 构建日志