diff --git a/WMF Framework/SurveyAnnouncementsController.swift b/WMF Framework/SurveyAnnouncementsController.swift index 2ccde5f0e7a..ce13ed8f8f7 100644 --- a/WMF Framework/SurveyAnnouncementsController.swift +++ b/WMF Framework/SurveyAnnouncementsController.swift @@ -37,7 +37,7 @@ public final class SurveyAnnouncementsController: NSObject { //assign and persist ab test bucket & percentage //this works for now since we only have one experiment for this release but will likely need to change as we expand - if let articleAsLivingDocAnnouncement = surveyAnnouncements.first(where: { $0.identifier == "IOSSURVEY20IOSV4EN" }), + if let articleAsLivingDocAnnouncement = surveyAnnouncements.first(where: { ($0.identifier?.hasPrefix("IOSAAALDSURVEY")) ?? false }), let percentage = articleAsLivingDocAnnouncement.percentReceivingExperiment { do { diff --git a/WMF Framework/WMFAnnouncementsFetcher.m b/WMF Framework/WMFAnnouncementsFetcher.m index 15e9320c31f..f4f0ed30eb5 100644 --- a/WMF Framework/WMFAnnouncementsFetcher.m +++ b/WMF Framework/WMFAnnouncementsFetcher.m @@ -79,7 +79,7 @@ - (void)fetchAnnouncementsForURL:(NSURL *)siteURL force:(BOOL)force failure:(WMF if (![obj isKindOfClass:[WMFAnnouncement class]]) { return NO; } - if ([obj.platforms containsObject:@"iOSAppV4"]) { + if ([obj.platforms containsObject:@"iOSAppV5"]) { return YES; } else { return NO;