Skip to content
This repository was archived by the owner on Jul 28, 2022. It is now read-only.

Commit 3751c46

Browse files
arnaud-rolandMinishlink
authored andcommitted
Fixing missing iteration in supported events
1 parent 997b076 commit 3751c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNBatch.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ -(void)stopObserving {
9595
- (NSArray<NSString *> *)supportedEvents {
9696
NSMutableArray *events = [NSMutableArray new];
9797

98-
for (int i = BatchEventDispatcherTypeNotificationOpen; i < BatchEventDispatcherTypeMessagingWebViewClick; i++) {
98+
for (int i = BatchEventDispatcherTypeNotificationOpen; i <= BatchEventDispatcherTypeMessagingWebViewClick; i++) {
9999
NSString* eventName = [self mapBatchEventDispatcherTypeToRNEvent:i];
100100
if (eventName != nil) {
101101
[events addObject:eventName];

0 commit comments

Comments
 (0)