solarengine-analysis-react-native-cn
v1.6.8
Published
SolarEngine sdk plugin for reactnative
Readme
solarengine-analysis-react-native
SolarEngine sdk plugin for ReactNative
SolarEngine ReactNative Plugin (https://help.solar-engine.com/en/docs/Quick-Integration-yk3V)
More about SolarEngine: (https://www.solar-engine.com/en)
Installation
//Regions outside Mainland China
//npm install solarengine-analysis-react-native
//For Mainland China
//npm install solarengine-analysis-react-native-cn
Usage
import SolarEngine from 'solarengine-analysis-react-native';
let appKey = "";
if (Platform.OS === 'ios') {
appKey = "your_iOS_appkey";//replace with your own appkey
} else if (Platform.OS === 'android') {
appKey = "your_Android_appkey";//replace with your own appkey
}
SolarEngine.preInit(appKey);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
