[nimbus] adds posting a notification when fetching experiments on iOS

This commit is contained in:
Tarik Eshaq 2021-08-10 11:40:13 -07:00
Родитель ce6a72abd8
Коммит 26dcd5d4e0
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -26,3 +26,7 @@ Use the template below to make assigning a version number during the release cut
- Two other new errors were defined that were used to be reported under a generic error:
- `JSONDeserializeError` for errors in deserialization
- `RequestError` for errors in sending a network request
## Nimbus
### What's changed
- Nimbus on iOS will now post a notification when it's done fetching experiments, to match what it does when applying experiments. ([#4378](https://github.com/mozilla/application-services/pull/4378))

Просмотреть файл

@ -160,6 +160,7 @@ internal extension Nimbus {
func fetchExperimentsOnThisThread() throws {
try nimbusClient.fetchExperiments()
notifyOnExperimentsFetched()
}
func applyPendingExperimentsOnThisThread() throws {