Skip to content

Commit

Permalink
fix RN Listener warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
timok06 committed Oct 17, 2022
1 parent 243d725 commit 4a52d54
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions android/src/main/java/com/ninty/system/setting/SystemSetting.java
Original file line number Diff line number Diff line change
Expand Up @@ -615,4 +615,15 @@ public void onReceive(Context context, Intent intent) {
}
}
}

@ReactMethod
public void addListener(String eventName) {
// Keep: Required for RN built in Event Emitter Calls.
}

@ReactMethod
public void removeListeners(int count) {
// Keep: Required for RN built in Event Emitter Calls.
}

}

0 comments on commit 4a52d54

Please sign in to comment.