Answers for "Unable to create service de.appplant.cordova.plugin.background.ForegroundService: java.lang.SecurityException: Permission Denial: startForeground from pid=10397, uid=10226 requires android.permission.FOREGROUND_SERVICE"

1

request permission foreground service

<manifest ...>
     ...
     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
     ...
     <application ...>
     ...
</manifest>
Posted by: Guest on August-22-2020

Code answers related to "Unable to create service de.appplant.cordova.plugin.background.ForegroundService: java.lang.SecurityException: Permission Denial: startForeground from pid=10397, uid=10226 requires android.permission.FOREGROUND_SERVICE"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language