celo-org / celo-monorepo

Official repository for core projects comprising the Celo platform
https://celo.org
Apache License 2.0
699 stars 369 forks source link

"Shake-to-Contact" triggered while app is in background #6208

Closed jeanregisser closed 3 years ago

jeanregisser commented 3 years ago

Expected Behavior

"Shake-to-Contact" feature should not be triggered while the app is in background.

Current Behavior

"Shake-to-Contact" feature can be triggered while the app is in background, leading to issues:

also, lately, when I leave the app open and the screen turns off by itself, then when unlocking my smartphone, valora is in the contact window, and then, using the back button I get an error and the option to restart app.

From https://discord.com/channels/600834479145353243/743997816363286568/786366579251216425

jeanregisser commented 3 years ago

Bumped priority, it seems it's bothering more users. See also https://celo-org.slack.com/archives/C018VLA3YAK/p1607758692485500?thread_ts=1607726480.476600&cid=C018VLA3YAK