Skip to content

NotificationRestriction.BLOCKED and Foreground Services which require a notification #317

@radusalagean-jumpapp

Description

@radusalagean-jumpapp

Intune Android App SDK Policy Enforcement Issue

Questions to Ask Before Submission

  1. Have you completed the exit criteria for each phase in the [Intune App SDK for Android Integration Guide]? yes
  2. Have you checked the [Microsoft Intune App SDK for Android] repository for similar issues? yes
  3. Are you using the latest version of the [SDK]? yes

Summary

I am integrating the Intune Android SDK in a Multi-identity app.
One of the core features of the app is the ability to record microphone audio while the app is in the background.

According to the official Android Developer docs, background recording needs to happen in a Foreground Service, which cannot be launched without a notification.

Image

source

Image

source

I am currently at the App Participation Features phase of the integration, and I reached a point where, in order to correctly integrate the BLOCKED notification restriction policy, I would not be able to launch a foreground service while recording.

from the docs:
NotificationRestriction.BLOCKED - The app must not show any notifications for the account associated with this policy.

What are your recommendations in this case? Are foreground service notifications exempt from this notification restriction policy? The notification just shows a status of the recorder like Recording in progress... or Recording paused - no sensitive org data is shown in these foreground notifications.

Thank you for your time! 🙏

Metadata

Metadata

Assignees

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