I am getting old and struggling to keep up with recent changes.
Please help
Google Play is reporting "Missing foreground service type" to me
Problem
Your app or a library it uses tried to start a foreground service without declaring a service type
Recommendation
Declare the foreground service type in the manifest file and include it in the startForeground() call
My App uses firebase messaging to notify the App to update at various point.
I don't under stand what they are referring to (Background/Foreground ?)
What do I need to add, trawling though this forums suggests either
SetServiceAttribute(Starter, android:foregroundServiceType, shortService)
Private Sub Service_Timeout(Params As Map)
Service.StopForeground(NotificationId)
End Sub
or
AddPermission(android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING)
SetServiceAttribute(Starter, android:foregroundServiceType, "remoteMessaging")
The first wont compile as NotificationId is not declared !!?!
Please help
Google Play is reporting "Missing foreground service type" to me
Problem
Your app or a library it uses tried to start a foreground service without declaring a service type
Recommendation
Declare the foreground service type in the manifest file and include it in the startForeground() call
My App uses firebase messaging to notify the App to update at various point.
I don't under stand what they are referring to (Background/Foreground ?)
What do I need to add, trawling though this forums suggests either
SetServiceAttribute(Starter, android:foregroundServiceType, shortService)
Private Sub Service_Timeout(Params As Map)
Service.StopForeground(NotificationId)
End Sub
or
AddPermission(android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING)
SetServiceAttribute(Starter, android:foregroundServiceType, "remoteMessaging")
The first wont compile as NotificationId is not declared !!?!