Gaia/Find My Device

From MozillaWiki
< Gaia(Redirected from Gaia/FindMyDevice)
Jump to: navigation, search

Other documentation

Other wiki pages:

Design Specs

TODO: add these to https://mozilla.app.box.com/applications

Interaction

TODO: I'm sure there is a more complete spec attached to some bug, bug haven't found it yet.

Visual

Development

Find My Device has a significant server-side component (https://github.com/mozilla-services/FindMyDevice), and its Gaia functionality is split between a headless app that is woken via push notifications; one file inside the System app that listens for notifications and launches the FMD app; and a panel inside the Settings app, where users can enable or disable FMD.

Code on github:

Features

Currently, a lost device can be remotely tracked via GPS, locked with a custom lockscreen PIN and optional message, set to ring the ringtone at max volume, or all data can be wiped.

Users can use FMD by logging into the Find My Device website (https://find.firefox.com) with their Firefox Account. A Firefox Account is required to enable FMD on device.

Implementation

TODO: description of how the code works and what we'd like to refactor.

  • Topics to cover:
    • FMD as consumer of FxA RP API
    • client-server protocol
    • communication among settings, system, fmd apps
    • how each of the commands (track, ring, lock, wipe) works
    • things to refactor:

Standardization Efforts

QA / Filing Bugs

Bugs should be filed in bugzilla.mozilla.org under the "Gaia" product and "Find My Device" component. It is very useful to enable Gaia Debug Traces (inside Settings > Developer) before reproducing a bug, as lots of extra debug info will be appended to the adb logs.

Server bugs are filed on github: https://github.com/mozilla-services/FindMyDevice/issues.

Testing

  • Front-End Tests
  • Back-End Tests
    • TODO

Dependencies

TODO

Security Review

see https://wiki.mozilla.org/CloudServices/FindMyDevice#Security_and_Privacy