commit
d056272ae7
5
index.js
5
index.js
|
@ -3,5 +3,6 @@
|
|||
// Bridge to:
|
||||
// Android: buildConfigField vars set in build.gradle, and exported via ReactConfig
|
||||
// iOS: config vars set in xcconfig and exposed via ReactNativeConfig.m
|
||||
var React = require('react-native');
|
||||
module.exports = React.NativeModules.ReactNativeConfig;
|
||||
import { NativeModules } from 'react-native';
|
||||
|
||||
export default NativeModules.ReactNativeConfig;
|
||||
|
|
Loading…
Reference in New Issue