alephium / alephium-frontend

A monorepo containing all things frontend on Alephium.
Other
13 stars 10 forks source link

Mobile wallet crash: `ForegroundServiceStartNotAllowedException` #914

Open nop33 opened 1 week ago

nop33 commented 1 week ago

We have received the following report on Sentry.

We are using react-native-background-actions, which also mentions that:

In Android 12+ you will not be able to launch background tasks from the background

and the link it links to says:

Apps that target Android 12 or higher can't start foreground services while the app is running in the background, except for a few special cases. If an app tries to start a foreground service while the app runs in the background, and the foreground service doesn't satisfy one of the exceptional cases, the system throws a ForegroundServiceStartNotAllowedException.

nop33 commented 1 week ago

Might be related: