|
@@ -40,11 +40,11 @@ static NSString* const navigationEvent = @"RNN.nativeEvent";
|
40
|
40
|
}
|
41
|
41
|
|
42
|
42
|
-(void)sendOnNavigationCommand:(NSString *)commandName params:(NSDictionary*)params {
|
43
|
|
- [self send:navigationEvent body:@{@"commandName":commandName , @"params": params}];
|
|
43
|
+ [self send:navigationEvent body:@{@"name":commandName , @"params": params}];
|
44
|
44
|
}
|
45
|
45
|
|
46
|
46
|
-(void)sendOnNavigationEvent:(NSString *)commandName params:(NSDictionary*)params {
|
47
|
|
- [self send:navigationEvent body:@{@"commandName":commandName , @"params": params}];
|
|
47
|
+ [self send:navigationEvent body:@{@"name":commandName , @"params": params}];
|
48
|
48
|
}
|
49
|
49
|
|
50
|
50
|
- (void)addListener:(NSString *)eventName {
|