Skip to content

Commit

Permalink
Remove emitters stubs on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Sep 3, 2021
1 parent 649c91b commit ed93990
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions ios/RNLocalize.m
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,4 @@ - (void)onLocalizationDidChange {
[self sendEventWithName:@"localizationDidChange" body:[self exportedConstants]];
}

RCT_EXPORT_METHOD(addListener : (NSString *)eventName) {
// Keep: Required for RN built in Event Emitter Calls.
}

RCT_EXPORT_METHOD(removeListeners : (NSInteger)count) {
// Keep: Required for RN built in Event Emitter Calls.
}

@end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-localize",
"version": "2.1.3",
"version": "2.1.4",
"license": "MIT",
"description": "A toolbox for your React Native app localization.",
"author": "Mathieu Acthernoene <zoontek@gmail.com>",
Expand Down

0 comments on commit ed93990

Please sign in to comment.