# Secure Notifications

### Overview <a href="#overview-0" id="overview-0"></a>

The Android system status bar contains notification icons, current device status, and other system details. Hiding or disabling notifications prevents unauthorized access to certain apps and settings, provides better device functionality, and promotes a more immersive user experience. Secure Notifications is a Launcher feature that serves as a customizable replacement for the default Android system notification tray. It protects sensitive company data and ensures that the device is used only for the intended purpose.

{% hint style="info" %}
This feature only works on Android devices running on Android 6.0 Marshmallow (sdk 23) and above. This feature will not work on Android 5.1 lollipop devices because the Screen Overlay Permission is only available for 6.0+ devices.
{% endhint %}

### Getting Started <a href="#user-guide-1" id="user-guide-1"></a>

Secure Notifications allows IT administrators to gain granular control over Android enterprise devices by disabling the Android Status Bar and System Notifications Tray, and replacing them with the BlueFletch Secure Notifications Feature. This feature prevents potential threats from accessing the device settings through the notifications. This section will walk you through two major concepts: how to disable the Android notifications tray in various MDMs, and how to configure the Secure Notifications feature in the Launcher configuration.

#### Disabling Notifications in VMware Workspace One

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fejff7JzH52j0nzLzcD1Q%2FScreenshot%202023-10-16%20at%203.03.23%E2%80%AFPM.png?alt=media&#x26;token=817298bd-5eb5-468b-814e-4f98b2b21a38" alt=""><figcaption></figcaption></figure>

* Log into your VMWS1 Instance;
* Navigate to Resource > Profiles;
* Click on the 'ADD' button and select 'Add Profile' from the dropdown list;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FFCp1ohQn8Rhq0kBWeBg7%2FScreenshot%202023-10-16%20at%203.03.47%E2%80%AFPM.png?alt=media&#x26;token=e4d19417-8867-4a7b-937e-ca26099fc289" alt=""><figcaption></figcaption></figure>

* Select Android as your Platform and you will be automatically navigated to the next screen;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fi59sbRea1ld4w9EvrN5H%2FScreenshot%202023-10-16%20at%203.07.41%E2%80%AFPM.png?alt=media&#x26;token=857a0f3f-e35f-4e5e-ac98-b8dcd2181012" alt=""><figcaption></figcaption></figure>

* Provide a name for the Profile;
* Click 'Add' and the toggles in the 'Restrictions' drop down list will become active;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FiAe9G8fw5S7gcGmJIhZs%2FScreenshot%202023-10-16%20at%2010.23.25%E2%80%AFPM.png?alt=media&#x26;token=ab60ec65-db1e-44b9-b5ae-6a9f3a891c09" alt=""><figcaption></figcaption></figure>

* Set the toggle to the **off** position for 'Allow Keyguard Notifications';
* Set the toggle to the **off** position for 'Allow Keyguard Unredacted Notifications';
* Set the toggle to the **off** position for 'Allow Status Bar';
* Click 'Next' and you will be navigated to the next screen;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FnojQmKfyEWRutNxOEEad%2FScreenshot%202023-10-16%20at%203.10.29%E2%80%AFPM.png?alt=media&#x26;token=1929a915-521f-470b-948f-a37026f72217" alt=""><figcaption></figcaption></figure>

* Confirm your selections and click 'Save & Publish'.
* *Once this Profile has been deployed to the devices, the BlueFletch Secure Notifications configuration can be applied. Instructions for configuring BlueFletch Secure Notifications can be found below in the 'Feature Configuration' section.*

#### Disabling Notifications in SOTI MobiControl

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F74wCbQ2ecOhNSELFGTY1%2FScreenshot%202023-10-17%20at%209.14.21%E2%80%AFAM.png?alt=media&#x26;token=f736b02b-c681-4e5c-92f4-f67429a6fc86" alt=""><figcaption></figcaption></figure>

* Click on the menu icon in the top left corner of the MobiControl console which will expand the list of actions;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FVTRDc2SimvMpr0fyhK5J%2FScreenshot%202023-10-17%20at%209.14.40%E2%80%AFAM.png?alt=media&#x26;token=0e07e37a-4dde-497a-90a6-e541b546ba6a" alt=""><figcaption></figcaption></figure>

* Click on 'Profiles' which will take you to the 'Profiles' page;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F09nNnxV5Pw1ITDSzLZ2E%2FScreenshot%202023-10-17%20at%209.23.39%E2%80%AFAM.png?alt=media&#x26;token=b6a4b9b1-e0f9-471e-a1fa-08ec2b338194" alt=""><figcaption></figcaption></figure>

* Click on ' + NEW PROFILE' which present a 'CREATE PROFILE' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FX9peoXxxkUZAibx7tFoy%2FScreenshot%202023-10-17%20at%209.24.04%E2%80%AFAM.png?alt=media&#x26;token=cd2d2a30-df41-48b1-8c99-5fa3f0ea81eb" alt=""><figcaption></figcaption></figure>

* Hover over the Android icon which will expose a drop down;
* Select the appropriate profile type for your device landscape. For the purposes of this documentation, we will select 'Work Managed';
* Once the profile type is selected, you will be shown a 'CREATE PROFILE' modal with three tabs, | GENERAL | CONFIGURATIONS | PACKAGES | (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FaH3K3rdTBvZbWu9uIU4y%2FScreenshot%202023-10-17%20at%209.25.06%E2%80%AFAM.png?alt=media&#x26;token=d1cd1418-5d89-40c5-be41-fd02e15f1500" alt=""><figcaption></figcaption></figure>

* In the 'GENERAL' tab, provide a Profile Name and a Description;
* Click in the 'CONFIGURATIONS', which will present a 'Add a Configuration' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FemLLus4JFnBzeRZZ3JAI%2FScreenshot%202023-10-17%20at%209.25.47%E2%80%AFAM.png?alt=media&#x26;token=d8e3721a-3db5-4375-b81b-91b4f0bcbfac" alt=""><figcaption></figcaption></figure>

* In the 'Add a Configuration' modal, click on 'Feature Control' which will present the 'FEATURE CONTROL' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FH394q0ureWEo4vfZY4J2%2FScreenshot%202023-10-17%20at%209.24.23%E2%80%AFAM.png?alt=media&#x26;token=68629dc5-2f01-4bed-9296-e8f994c8a973" alt=""><figcaption></figcaption></figure>

In the 'DEVICE FUNCTIONALITY' tab, toggle the 'Allow Status Bar' to the **off** position (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FXZQA7ZGwb0DSUdGtxkO2%2FScreenshot%202023-10-17%20at%2010.08.38%E2%80%AFAM.png?alt=media&#x26;token=f3b6ab81-8760-4410-ad24-769897ca979b" alt=""><figcaption></figcaption></figure>

* Navigate to the 'SECURITY' tab, toggle the 'Allow Keyguard Notifications' and the 'Allow Sensitive Notifications' to the **off** position (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fm5ggqW1OHJaHQCCs0WvN%2FScreenshot%202023-10-17%20at%209.27.17%E2%80%AFAM.png?alt=media&#x26;token=9f0e087c-343e-4579-8ee7-85d220491f42" alt=""><figcaption></figcaption></figure>

* Click 'SAVE', which will take you back to the 'CREATE PROFILE' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FXSh7yG7dYvQbJu9nL1E5%2FScreenshot%202023-10-18%20at%2012.49.26%E2%80%AFPM.png?alt=media&#x26;token=57a2e667-a70e-498b-afbd-616115ca70e3" alt=""><figcaption></figcaption></figure>

* Click 'SAVE', and your Profile will be saved and available to assign to devices.
* *Once this Profile has been deployed to the devices, the BlueFletch Secure Notifications configuration can be applied. Instructions for configuring BlueFletch Secure Notifications can be found below in the 'Feature Configuration' section.*

#### Disabling Notifications in Microsoft InTune

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FtKkdlYwvewRAkowcS9ev%2FScreenshot%202023-10-16%20at%202.58.50%E2%80%AFPM.png?alt=media&#x26;token=9b970232-5ab4-4bd4-86fc-c5b727928d1f" alt=""><figcaption></figcaption></figure>

* From the InTune Console, select 'Devices';
* Then click on 'Android';
* Once you click on 'Android', you'll see the option to '+ Create profile';
* Click on '+ Create profile' and it will extend the 'Create a profile' window on the right side of the screen (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FhycXhdfx3m5bMhAuYaO4%2FScreenshot%202023-10-16%20at%202.58.52%E2%80%AFPM.png?alt=media&#x26;token=e171b139-34e9-410b-a916-648c3e9540c5" alt=""><figcaption></figcaption></figure>

* Select 'Android Enterprise' for the Platform dropdown;
* Select 'Device Restrictions' from the Profile type dropdown;
* Click 'Create' once completed, and you'll be taken to the 'Device restrictions' screen (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FUim8kSbwpbD0p1LJKhtP%2FScreenshot%202023-10-16%20at%202.58.56%E2%80%AFPM.png?alt=media&#x26;token=85305c5c-d301-46c3-a611-03db7dce3e56" alt=""><figcaption></figcaption></figure>

* Provide a Name for the Configuration profile and a Description;
* Hit 'Next' when complete and you'll be taken to Configuration Settings screen (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FOWUvey745TYByzIUGcEt%2FScreenshot%202023-10-16%20at%202.59.23%E2%80%AFPM.png?alt=media&#x26;token=3ae848f1-0085-4e3f-877e-01772721dafa" alt=""><figcaption></figcaption></figure>

* Click on 'General', which will expand the dropdown options (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FYki9JCT2RloTJcyH89qx%2FScreenshot%202023-10-17%20at%202.52.24%E2%80%AFPM.png?alt=media&#x26;token=5f371807-54d3-4d00-a9f6-713748ccafa2" alt=""><figcaption></figcaption></figure>

* Scroll down to the 'Fully managed and dedicated devices' section;
* Toggle the 'Status bar' to "Block";
* Hit 'Next' which will navigate you to 'Assignments' page (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F2aAuQ9pM0eDCWFDbXPTT%2FScreenshot%202023-10-16%20at%203.00.28%E2%80%AFPM.png?alt=media&#x26;token=b7d41385-5702-447b-8205-d05b8f83083a" alt=""><figcaption></figcaption></figure>

* Assign the Configuration profile to the desired Groups and hit 'Next';

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F6ZrmDGgoEe45ChNxK85g%2FScreenshot%202023-10-16%20at%203.00.39%E2%80%AFPM.png?alt=media&#x26;token=a01ad8b1-2ef0-443c-a3c6-9ec4e534a540" alt=""><figcaption></figcaption></figure>

* Review the Configuration profile and hit 'Create'.
* *Once the Configuration profile has been deployed to the devices, the BlueFletch Secure Notifications configuration can be applied. Instructions for configuring BlueFletch Secure Notifications can be found below in the 'Feature Configuration' section.*

### Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Secure Notifications feature for a particular device profile or device group, please follow the steps below:

#### Enabling the Status Bar <a href="#enabling-the-status-bar-3" id="enabling-the-status-bar-3"></a>

If secureNotifications is set to true, the user won't be able to access the default Android system notifications from the device. If this configuration is not present, this feature is disabled.

```json
{
    ...
    "secureNotifications" : {
        "enabled": true,
     }
}  
```

#### Enabling the Heads-Up Pop-Up Feature <a href="#enabling-the-heads-up-pop-up-feature-4" id="enabling-the-heads-up-pop-up-feature-4"></a>

If enabledHeadsUp is set to true, the heads-up pop-up feature will be enabled. If this configuration is not present, this feature is disabled.

```json
        "enableHeadsUp": true,
```

#### Setting Up the Range <a href="#setting-up-the-range-5" id="setting-up-the-range-5"></a>

To set up the range where the Heads-Up Pop-Up Feature will be shown, define the number of seconds in the configuration. If headsUpTime is disabled, the default is 3 seconds.

```json
        "headsUpTime": 2000,
```

#### Configuring Allowed Packages <a href="#configuring-whitelist-packages-6" id="configuring-whitelist-packages-6"></a>

You can customize the packages that are allowed to send notifications. Only notifications from these packages will be displayed. If the list is empty or the key is missing, all notifications will be displayed unless blocked. An example configuration is shown below:

```json
        "whitelist": ["com.example.phone", "com.example.music"],
```

#### Configuring Blocked Packages <a href="#configuring-blacklist-packages-7" id="configuring-blacklist-packages-7"></a>

You can customize the packages that must be blocked from sending notifications. Notifications from these packages will not be displayed. If the list is empty or the key is missing, no notifications are blocked. An example configuration is shown below:

```json
        "blacklist": ["com.example.browser"],
```

If a package is both in the whitelist and blacklist configuration, the blacklist has higher priority, so the notifications from the package will not be shown.

#### Configuring Notification Bubble Settings <a href="#configuring-notification-bubble-settings-8" id="configuring-notification-bubble-settings-8"></a>

You can customize the color and width settings of the notification bubble. If bubbleColor has no specific value, the default color is white. If bubbleOffset is not specified, the notification bubble will be set in the middle of the screen. The example below shows the default configuration of the color and width settings:

```json
{
        "bubbleColor" : "#FFFFFF",
        "bubbleOffset" : 50
    }
}
```

{% hint style="info" %}
Secure Notifications was introduced in Launcher 3.1.x.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/security-and-safety/secure-notifications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
