We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0028869 commit adee87bCopy full SHA for adee87b
README.md
@@ -516,6 +516,14 @@ So we have to check if the application is reachable before making a call from th
516
RNCallKeep.addEventListener('checkReachability', () => {
517
RNCallKeep.setReachable();
518
});
519
+
520
+```
521
+### removeEventListener
522
523
+Allows to remove the listener on an event.
524
525
+```js
526
+RNCallKeep.removeEventListener('checkReachability');
527
```
528
529
## Example
index.d.ts
@@ -43,7 +43,7 @@ export default class RNCallKeep {
43
44
}
45
46
- static removeEventListener(type: Events, handler: (args: any) => void) {
+ static removeEventListener(type: Events) {
47
48
49
0 commit comments