Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Close #9829: Move IO work in FxaPushSupportFeature to a coroutine #12687

Merged
merged 1 commit into from
Aug 31, 2022

Commits on Aug 31, 2022

  1. Close mozilla-mobile#9829: Move IO work in FxaPushSupportFeature to a…

    … coroutine
    
    The `FxaPushSupportFeature` needs to generate, read and write a push
    scope (identifier) to disk. This work was meant to be done lazily and
    not during app startup. However, if a Sync account is setup then the IO
    work is done immediately during the initial account manager
    initialization at startup.
    
    In this patch, we delegate this IO work to a new `PushScopeProperty`
    that retrieves the value from disk using a provided `CoroutineScope`.
    jonalmeida committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    4db1960 View commit details
    Browse the repository at this point in the history