1
0
Fork 0

Merge branch 'master' of github.com:finogeeks/mop-react-native-demo

master
developer 2020-04-22 21:38:09 +08:00
commit 26f7004801
2 changed files with 3 additions and 1 deletions

2
.gitattributes vendored
View File

@ -1 +1,3 @@
*.pbxproj -text *.pbxproj -text
*.* linguist-language=javascript

View File

@ -82,7 +82,7 @@ react-native init mopdemo
"react-native-mopsdk": "^1.0.1" "react-native-mopsdk": "^1.0.1"
``` ```
2. main.dart 文件中增加以下小程序引擎初始化方法 Mop.instance.initialize 这里需要用到 sdkkey secret可以直接在https://mp.finogeeks.com免费注册获取。注册使用方法可以参考[接入指引](https://mp.finogeeks.com/mop/document/introduce/access/mechanism.html) 2. main.dart 文件中增加以下小程序引擎初始化方法 Mop.instance.initialize 这里需要用到 sdkkey secret可以直接在[https://mp.finogeeks.com](https://mp.finogeeks.com) 免费注册获取。注册使用方法可以参考 [接入指引](https://mp.finogeeks.com/mop/document/introduce/access/mechanism.html)
```javascript ```javascript
import MopSDK from 'react-native-mopsdk'; import MopSDK from 'react-native-mopsdk';