Crash happening in production on line 241

Hi there,

Our team is having struggles with a crash which we cannot reproduce. This seems to be happening only on android 12 and higher. The crash has started occurring since we changed the targetSdkVersion of the project from 30 to 31. The crash is labeled in crashlytics as an early crash (It happens on or within the first second of the app launch) and as repetitive crashes, so users who experience this crash will get it multiple times.

We’re wondering if anyone else is having this issue and/or how we can fix this issue and/or if anyone could think of a way we could reproduce this.

The issue only occurs on Android and we’re using SDK version 46 in a bare workflow.

This is the crash: line 241


Caused by

startForegroundService() not allowed due to mAllowStartForeground false: service com.myApp/


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.