Skip to content

Commit 5bfa068

Browse files
committed
Fixed issue where only 1 media attachment notification would show at a time.
1 parent 1125c56 commit 5bfa068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iOS_SDK/OneSignal/OneSignalHelper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ + (id)prepareUNNotificationRequest:(NSDictionary *)data :(NSDictionary *)userInf
595595

596596
id trigger = [NSClassFromString(@"UNTimeIntervalNotificationTrigger") triggerWithTimeInterval:0.25 repeats:NO];
597597

598-
return [NSClassFromString(@"UNNotificationRequest") requestWithIdentifier:@"__dynamic__"content:content trigger:trigger];
598+
return [NSClassFromString(@"UNNotificationRequest") requestWithIdentifier:[self randomStringWithLength:16] content:content trigger:trigger];
599599
}
600600

601601
+ (void)addnotificationRequest:(NSDictionary *)data :(NSDictionary *)userInfo {

0 commit comments

Comments
 (0)