#react-native-BGNativeModuleExample
下面两篇博客的示例代码:
ReactNative之原生模块开发并发布——android篇
##安装
rnpm install react-native-nativemodule-example
##使用
import BGNativeModuleExample from 'react-native-nativemodule-example';
BGNativeModuleExample.testPrint("Jack", {
height: '1.78m',
weight: '7kg'
});
##Example
npm install