Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run CrashReportingPostService in main process #74

Closed
jukiginanjar opened this issue Dec 18, 2020 · 2 comments
Closed

Run CrashReportingPostService in main process #74

jukiginanjar opened this issue Dec 18, 2020 · 2 comments
Assignees
Labels

Comments

@jukiginanjar
Copy link

jukiginanjar commented Dec 18, 2020

Hi team,

<service android:name="com.raygun.raygun4android.services.CrashReportingPostService"
            android:exported="false"
            android:permission="android.permission.BIND_JOB_SERVICE"
            android:process=":crashreportingpostservice"/>

Is it safe if I remove android:process=":crashreportingpostservice so CrashReportingPostService will run only in main process? My intention is, I want to make sure my Application only run in one process, Pls advise.

Thanks.

@TheRealAgentK
Copy link
Contributor

@jukiginanjar

While you could probably do that, I'd generally advise against that approach.

The most important reason is that you'd want your crash reporting service to be in its own process and to be as independent as possible from any other process of your app. If your app process dies crashes for whatever reason, that gives the crash reporting service a better chance to do its thing and send the crash information to the RG backend.

@jukiginanjar
Copy link
Author

Got it, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants