instabug-reactnative
Version:
React Native plugin for integrating the Instabug SDK
11 lines (10 loc) • 553 B
JavaScript
import { NativeEventEmitter } from 'react-native';
import { NativeModules } from './NativePackage';
export const NativeInstabug = NativeModules.Instabug;
export var NativeEvents;
(function (NativeEvents) {
NativeEvents["PRESENDING_HANDLER"] = "IBGpreSendingHandler";
NativeEvents["IBG_ON_FEATURES_UPDATED_CALLBACK"] = "IBGOnFeatureUpdatedCallback";
NativeEvents["ON_FEATURE_FLAGS_CHANGE"] = "IBGOnNewFeatureFlagsUpdateReceivedCallback";
})(NativeEvents || (NativeEvents = {}));
export const emitter = new NativeEventEmitter(NativeInstabug);