Persistent Foreground App

Persistent Foreground app enables an app package to be always displayed on the foreground in both Secured and Open Zones.

This feature designates a specific app package to be persistently displayed on the foreground, ensuring it remains continuously visible on the screen. This functionality works in both Secured and Open Zones. After a user login, the persistent foreground app will be determined based on configurable criteria, such as user group. This ensures that the app package is readily accessible for specific user groups within secured environments, and provides consistent app access in Open Zones.

Secured Zone

In secured environments, the persistent foreground app is only displayed for users belonging to specific groups as defined by the administrator.

The sample configuration below displays the persistent app in the Secured Zone. User group restrictions are enforced here, ensuring only authorized users see the app.

"persistedForegroundApp": {
        "intent": {
            "action": "android.intent.action.VIEW",
            "package": "com.bluefletch.ems.support",
            "data": "<data>",
            "flags": 1,
            "typeIntent": "a"
        },
        "criteria_OR": [
            {
                "field": "${session.groups}",
                "pattern": ".*Associates.*"
            }
        ]
    },

Open Zone

In open environments, the persistent foreground app is displayed for all users after login, regardless of group affiliation.

The sample configuration below displays the persistent app in the Open Zone. There are no restrictions to whoever can view the persistent app.

""persistedForegroundApp": {
    "intent": {
          "package": "com.bluefletch.ems.support",
          "flags": 335544320,
          "typeIntent": "a"
      },
    "criteria_OR": [
      {
          "field": "${session.groups}",
          "pattern": ".*\\*.*"
      }
    ]
  },

Last updated