SolarEngine sdk plugin for reactnative
npm install solarengine-analysis-react-nativeSolarEngine 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)
``sh
//Regions outside Mainland China
//npm install solarengine-analysis-react-native
//For Mainland China
//npm install solarengine-analysis-react-native-cn
`
`js
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);
``
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
---
Made with create-react-native-library