How can I create and auto-start a service app, just after installation without launching it?

nidhiSoodnidhiSood USMember ✭✭

I want to create and auto-start a background service app just after it is installed from the play store, without launching it. The purpose to the service app is to initialise a centralised local database that needs to be accessed and modify by two other Xamarin apps. How can I achieve this?

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    You can't start a background service without launching it. And each app should have its own scope, it should not access other app's storage.
    We don't recommend you to do that. It sounds to break the user experience and slow down the device's performance as a process always runs on the background.

Sign In or Register to comment.