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.
2 parents d25d26c + adee87b commit 39abe16Copy full SHA for 39abe16
README.md
@@ -513,6 +513,14 @@ So we have to check if the application is reachable before making a call from th
513
RNCallKeep.addEventListener('checkReachability', () => {
514
RNCallKeep.setReachable();
515
});
516
+
517
+```
518
+### removeEventListener
519
520
+Allows to remove the listener on an event.
521
522
+```js
523
+RNCallKeep.removeEventListener('checkReachability');
524
```
525
526
## 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