react-native-mic-util

    0.0.2 • Public • Published

    react-native-mic-util

    useage

    import {
      NativeModules,
      DeviceEventEmitter
    } from 'react-native';
    
    var bGNativeModuleExample = NativeModules.BGNativeModuleExample;
    
    bGNativeModuleExample.getNativeClass(name => {
      console.log("nativeClass: ", name);
    });
    
    //接收事件 now is only in ios
    DeviceEventEmitter.addListener(bGNativeModuleExample.TestEventName, info => {
      console.log(info);
    });
    
    

    Install

    npm i react-native-mic-util

    DownloadsWeekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • shuxun.yin