Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Briar Mailbox Briar Mailbox
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • briarbriar
  • Briar MailboxBriar Mailbox
  • Merge requests
  • !83

Don't start on boot when app has been manually stopped before

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sebastian requested to merge 87-do-not-autostart-when-stopped into main Apr 27, 2022
  • Overview 29
  • Commits 1
  • Pipelines 12
  • Changes 4

Closes #87 (closed)

@earthlingIB Testing instructions:

Scenario 1 (restarting device starts mailbox on boot if mailbox was set up and started before reboot)

  • Set up mailbox on a fresh device and pair it with briar.
  • Restart device. Confirm that mailbox does start automatically after boot. Be patient, it can take 1-2 minutes for the mailbox to actually start.
  • "App starts" in all cases here means that the notification with the mailbox logo does appear in the notification area, not that the app's activity gets launched.

Scenario 2 (restarting device does not start mailbox on boot if mailbox was set up but was stopped before reboot)

  • Set up mailbox on a fresh device and pair it with briar or reuse paired setup from scenario 1 and start the mailbox app.
  • Stop the mailbox app using the "Stop" button from the status screen.
  • Restart device. Confirm that mailbox does not start automatically after boot. As it can take quite a while this needs to be observed for a couple of minutes. Good to take into consideration the amount of time it took for the mailbox app to start automatically in scenario 1.

Scenario 3 (restarting device starts mailbox on boot if mailbox setup has been started but not finished yet, i.e. setup has reached qr-code stage, but pairing not yet complete for example because just not scanned by briar yet)

  • Reset data for mailbox app or uninstall and reinstall.
  • Start mailbox app, proceed until qr code is visible.
  • Restart device. Confirm that mailbox app does start up automatically after boot

Scenario 4 (restarting device does not start mailbox on boot if setup has been started but cancelled during qr-code stage)

  • Reset data for mailbox app or uninstall and reinstall.
  • Start mailbox app, proceed until qr code is visible.
  • Cancel setup using the cancel button
  • Restart device. Confirm that mailbox app does not start up automatically after boot
Edited May 25, 2022 by Sebastian
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 87-do-not-autostart-when-stopped