Factory reset by SMS is not confirmed

  • I have searched for duplicates
  • I have read the wiki

Bug Summary

Factory reset through SMS is not confirmed.

Steps to reproduce

  1. Request remote deletion through "fmd delete [PIN]"
  2. Wait

Actual behaviour

No SMS received.

Expected behaviour

An SMS is received as confirmation, that the command has been received, considered valid and a factory reset has been triggered.

Metadata

  • FMD Android version: 0.4.0 (F-Droid)
  • Android version: 14
  • ROM name: GrapheneOS 2024032100
  • Clean install: yes

Other information

Might be a race condition in https://gitlab.com/Nulide/findmydevice/-/blob/master/app/src/main/java/de/nulide/findmydevice/logic/MessageHandler.java?ref_type=heads#L159 Idea: Lock first, then attempt to send SMS, if successful: start wipe immediately, otherwise: start wipe after a grace period of 30 seconds (configurable?) to allow a few more send attempts