alephium / alephium-frontend

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

Mobile wallet crash: `ForegroundServiceStartNotAllowedException` #914

Open nop33 opened 1 month ago

nop33 commented 1 month 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 month ago

Might be related: