Forum Xamarin.Android

Service not starting when running in remote process

Hello Everyone,

I'm trying to create an remote service that periodically runs in the background, without my app being opened.

My Service Class:

[Service(Enabled = true, Name = "com.test.TestService", Permission = "android.permission.BIND_JOB_SERVICE", Process = ":testprocess")] public class TestService : Service { ...

How it's started:
StartService(new Intent(this, typeof(TestService)))

The service works perfectly fine until I add the process tag. Does anybody have a solution for this? Thanks in advance.


Sign In or Register to comment.