Skip to content

fix android.app.InvalidForegroundServiceTypeException in android 14#606

Merged
meladRaouf merged 1 commit into
mainfrom
fix/foreground-service-permissions
Mar 11, 2024
Merged

fix android.app.InvalidForegroundServiceTypeException in android 14#606
meladRaouf merged 1 commit into
mainfrom
fix/foreground-service-permissions

Conversation

@meladRaouf
Copy link
Copy Markdown
Collaborator

As documented here

Calling startForeground() without declaring the appropriate foreground service type permission, the system throws a SecurityException InvalidForegroundServiceTypeException

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@meladRaouf meladRaouf merged commit 294e1e8 into main Mar 11, 2024
@meladRaouf meladRaouf deleted the fix/foreground-service-permissions branch March 11, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants