Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion android/src/main/java/com/pilloxa/dfu/RNNordicDfuModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ public String getName() {
return name;
}

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

@Override
public String getName() {
return name;
}

private void sendEvent(String eventName, @Nullable WritableMap params) {
getReactApplicationContext()
Expand Down Expand Up @@ -168,4 +177,4 @@ public void onError(final String deviceAddress, final int error, final int error
}
}
};
}
}