|
@@ -1,4 +1,3 @@
|
1
|
|
-// tslint:disable:no-console
|
2
|
1
|
import { NativeModules, NativeEventEmitter } from 'react-native';
|
3
|
2
|
import { EventSubscription } from '../interfaces/EventSubscription';
|
4
|
3
|
|
|
@@ -8,7 +7,6 @@ export class NativeEventsReceiver {
|
8
|
7
|
try {
|
9
|
8
|
this.emitter = new NativeEventEmitter(NativeModules.RNNEventEmitter);
|
10
|
9
|
} catch (e) {
|
11
|
|
- console.log('Using mock NativeEventEmitter module');
|
12
|
10
|
this.emitter = {
|
13
|
11
|
addListener: () => {
|
14
|
12
|
return {
|