Project

General

Profile

Actions

Feature Request #10847

closed

Improvement #10736: Improve Data usage policy and actions

Add policy to block metered connection from selected apps

Added by Sandaru Daminda about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Low
Start date:
11/03/2024
Due date:
15/03/2024
% Done:

100%

Estimated time:

Description

Add a new policy to pre-define apps that need to be blocked from using metered connections.

Actions #1

Updated by Sandaru Daminda about 1 year ago

  • Assignee changed from Waruni Sandareka to Kavin Prathaban
Actions #2

Updated by Sandaru Daminda about 1 year ago

  • Project changed from Backlog to product-uem 6.1.0 GA
Actions #4

Updated by Sandaru Daminda about 1 year ago

  • Due date set to 15/03/2024
Actions #6

Updated by Kavin Prathaban about 1 year ago

  • Parent task set to #10736
Actions #7

Updated by Arshana Atapattu about 1 year ago

  • Status changed from 12 to 9

on staging server(6.0.0)
Agent version: 4.05.00.11

Policy is working, upon applying the policy the metered network apps(that were mentioned in policy) didnt have internet.

Issue with this policy is when the policy unpublished and applied to devices, those restricted apps should have internet access again.
But in this case even after the policy was unpublished and applied to the devices those apps still couldn't access to internet.

policy payload for the policy: {"policyName":"App usage policy","description":"App usage policy","active":true,"compliance":"enforce","ownershipType":null,"policyType":"GENERAL","profile":{"profileName":"App usage policy","deviceType":"android","profileFeaturesList":[{"featureCode":"APP_USAGE","deviceType":"android","content":{"isBlockNetUsageEnabled":false,"isNetworkUsageEnabled":false,"isBlockMeteredConnectionEnabled":true,"appsToBlockMeteredConnection":[{"appName":"YoutTube","packageName":"com.google.android.youtube"},{"appName":"chrome","packageName":"com.android.chrome"}]},"correctiveActions":[]}]},"deviceGroups":[{"id":59,"name":"Test Devices"}],"roles":["ANY"],"users":[]}

Actions #9

Updated by Arshana Atapattu about 1 year ago

  • Status changed from 12 to 9

This policy did not applied on device side.
Could use apps even after setting the network to metered connection

Actions #11

Updated by Kavin Prathaban about 1 year ago

Fixed issues:
  • Policy applying on the unmetered connections
Improvements:
Add support for following user scenerios:
  1. Changing from metered to unmetered connection when policy applied
  2. Changing from unmetered to metered connection when policy applied

PR:
https://repository.entgra.net/proprietary/android-agent/pulls/73

Actions #12

Updated by Arshana Atapattu about 1 year ago

  • Status changed from 12 to 10

Kavin Prathaban wrote in #note-11:

Fixed issues:
  • Policy applying on the unmetered connections
Improvements:
Add support for following user scenerios:
  1. Changing from metered to unmetered connection when policy applied
  2. Changing from unmetered to metered connection when policy applied

These improvements are working.

Note:
On samsung A04 device if the wifi was set as “Detect automatically” the policy still applies.
But on Samsung A02 device wifi was set as “Detect automatically” the policy does not apply on the device.

When it specifically set the connection on a metered connection policy applies on both devices.
When it specifically set the connection on un-metered connection policy does not apply(apps are not disabled) and working correctly.

Actions #13

Updated by Arshana Atapattu about 1 year ago

  • Status changed from 10 to Closed

Closing due to QA accept

Actions

Also available in: Atom PDF