We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bcf442 commit 67debe6Copy full SHA for 67debe6
android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java
@@ -693,4 +693,14 @@ public void clearUpdates() {
693
CodePushUtils.log("Clearing updates.");
694
mCodePush.clearUpdates();
695
}
696
+
697
+ @ReactMethod
698
+ public void addListener(String eventName) {
699
+ // Set up any upstream listeners or background tasks as necessary
700
+ }
701
702
703
+ public void removeListeners(Integer count) {
704
+ // Remove upstream listeners, stop unnecessary background tasks
705
706
0 commit comments