Skip to content

Commit 4a52d54

Browse files
committed
fix RN Listener warnings
c19354837#148
1 parent 243d725 commit 4a52d54

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

android/src/main/java/com/ninty/system/setting/SystemSetting.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,4 +615,15 @@ public void onReceive(Context context, Intent intent) {
615615
}
616616
}
617617
}
618+
619+
@ReactMethod
620+
public void addListener(String eventName) {
621+
// Keep: Required for RN built in Event Emitter Calls.
622+
}
623+
624+
@ReactMethod
625+
public void removeListeners(int count) {
626+
// Keep: Required for RN built in Event Emitter Calls.
627+
}
628+
618629
}

0 commit comments

Comments
 (0)