Skip to content

Block newly installed apps by default" setting fails to block network access immediately after installation #2631

@wrn491

Description

@wrn491

The "Block newly installed apps by default" feature is not functioning as expected. When this setting is enabled, newly installed applications are still granted network access automatically without prompting the user or blocking the connection. This defeats the purpose of the security feature, as users expect new apps to be blocked until explicitly allowed.

Steps to Reproduce:

Open the Rethink DNS app.
Navigate to the Firewall or App Management settings.
Enable the toggle for "Block newly installed apps by default".
Install a new application from the Play Store or an APK file.
Open the newly installed application.
Observe the network status in the Rethink DNS dashboard.
Expected Behavior: The newly installed application should be blocked from accessing the network by default. It should appear in the firewall list with a blocked status, requiring manual user authorization to allow internet access.

Actual Behavior: The newly installed application successfully gains network access immediately upon installation/opening, despite the "Block newly installed apps by default" setting being enabled. The firewall does not intercept the connection, and the app appears to have full internet permissions.

Environment:

App Version: [0.5.5t]
Android Version: [ Android 16 lineagos]
Device Model: [realme 10 pro]

Additional Context / Screenshots: The setting is correctly enabled in the UI, but the policy is not enforced on new apps.

Image

Possible Cause: The app might not be detecting the PACKAGE_ADDED broadcast correctly, or the firewall rules are being applied with a delay/lag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions