Skip to content

Commit 55440b6

Browse files
authored
pb-fiam-app-store (#10284)
1 parent 8866b22 commit 55440b6

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

FirebaseInAppMessaging/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# 10.0.0
22
- [removed] Removed `foo` constant from Swift `InAppMessagingPreviewHelpers` API (#10222).
3+
- [fixed] Changed internal `dataChanged` symbol that triggered App Store warnings (#10276).
34

45
# 9.2.0
56
- [changed] Replaced unarchiveObjectWithFile with unarchivedObjectOfClass to conform to secure coding practices, and implemented NSSecureCoding (#9816).

FirebaseInAppMessaging/Sources/Flows/FIRIAMMessageClientCache.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ - (void)setMessageData:(NSArray<FIRIAMMessageDefinition *> *)messages {
9292
"resetting the message cache",
9393
(unsigned long)self.testMessages.count, (unsigned long)self.regularMessages.count,
9494
(unsigned long)self.firebaseAnalyticEventsToWatch.count);
95-
[self.observer dataChanged];
95+
[self.observer messageDataChanged];
9696
}
9797

9898
// triggered after self.messages are updated so that we can correctly enable/disable listening
@@ -213,7 +213,7 @@ - (void)removeMessageWithId:(NSString *)messageID {
213213

214214
// triggers the observer outside synchronization block
215215
if (msgToRemove) {
216-
[self.observer dataChanged];
216+
[self.observer messageDataChanged];
217217
}
218218
}
219219

FirebaseInAppMessaging/Sources/Private/Flows/FIRIAMMessageClientCache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN
3434
@end
3535

3636
@protocol FIRIAMCacheDataObserver
37-
- (void)dataChanged;
37+
- (void)messageDataChanged;
3838
@end
3939

4040
// This class serves as an in-memory cache of the messages that would be searched for finding next

FirebaseInAppMessaging/Tests/Integration/FunctionalTestApp/App/InAppMessaging-Example-iOS/AutoDisplayMesagesTableVC.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ @interface AutoDisplayMesagesTableVC ()
2323

2424
@implementation AutoDisplayMesagesTableVC
2525

26-
- (void)dataChanged {
26+
- (void)messageDataChanged {
2727
dispatch_async(dispatch_get_main_queue(), ^{
2828
[self.tableView reloadData];
2929
});

0 commit comments

Comments
 (0)