Skip to content

v3.1.7 — Real fix for the background crash (#49)

Choose a tag to compare

@Alexisgordr Alexisgordr released this 27 Oct 21:01
· 2 commits to main since this release
84247bf

Crash fix. Installs over any 3.1.x and keeps its data; no rule changes. Android 12+.

  • Background crash with the location turned off (#49). When the system delivered no cells, the app kept re-registering its telephony callbacks every ~30 s. On some phones the old ones were not released, Android's per-app listener limit was reached and the app crashed. Now:
    • it does not restart the callbacks while the system location is off (or the precise location permission is missing), and says so once in the terminal;
    • a failed registration never crashes the app;
    • restarts run after the current callback, wait longer each time (30 s up to 30 min), and stop after 5 in a row until something changes.

Coming from 3.0.0, a full reinstall is still required (see README). Full details in CHANGELOG.md.