Skip to content

Commit

Permalink
fix(ios): when firing events to new proxies, fill in type/source
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Dec 4, 2019
1 parent ae921f8 commit e56abfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/TitaniumKit/TitaniumKit/Sources/API/ObjcProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ - (void)fireEvent:(NSString *)name withDict:(NSDictionary *)dict
// FIXME: looks like we need to handle bubble logic/etc. See other fireEvent impl
for (JSManagedValue *storedCallback in listenersForType) {
JSValue *function = [storedCallback value];
[function callWithArguments:@[ dict ]];
[self _fireEventToListener:name withObject:dict listener:function];
}
}
@finally {
Expand Down

0 comments on commit e56abfc

Please sign in to comment.