github mozilla/application-services v96.1.0

latest releases: v144.0, v143.0, v142.0...
2 years ago

v96.1.0 (2022-11-29)

Full Changelog

FxA Client

What's new

  • Exposed a new function for swift consumers resetPersistedState
    • resetPersistedState can be used to refresh the account manager to reflect the latest persisted state.
    • resetPersistedState should be called in between a different account manager instance persisting the state, and the current account manager persisting state
      • For example, the Notification Service in iOS creates its own instance of the account manager, changes its state (by changing the index of the last retrieved send tab)
      • The main account manager held by the application should call resetPersistedState before calling any other method that might change its state. This way it can retrieve the most up to date index that the Notification Services persisted.

What's changed

  • The processRawIncomingAccountEvent function will now process all commands, not just one. This moves the responsibilty of ensuring each push gets a UI element to the caller.

Don't miss a new application-services release

NewReleases is sending notifications on new releases.