Skip to content

Commit

Permalink
修正example与说明
Browse files Browse the repository at this point in the history
  • Loading branch information
bashen1 committed Sep 20, 2020
1 parent ec4829f commit 5088646
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ public class MainApplication extends MultiDexApplication implements ReactApplica

## 使用方法

| 方法 | 参数 | 说明 |
| :-----------------: | :---: | :---: |
| initSDK | initType | 初始化SDK |
| isSupport | | 是否支持MSA |
| getOAID | | 获取OAID |
| getVAID | | 获取VAID |
| getAAID | | 获取AAID |
| 方法 | 说明 |
| :-----------------: | :---: |
| initSDK | 初始化SDK |
| isSupport | 是否支持MSA |
| getOAID | 获取OAID |
| getVAID | 获取VAID |
| getAAID | 获取AAID |

详见examples目录
4 changes: 1 addition & 3 deletions example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ const App: () => React$Node = () => {
<Button
text={'initSDK_Direct'}
onPress={async () => {
let res= await MSA.initSDK({
initType: 'direct',
});
let res= await MSA.initSDK();
alert(JSON.stringify(res));
}}
/>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{
"name": "react-native-msa",
"version": "2.1.0",
"version": "2.1.1",
"description": "react-native library for msa",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 5088646

Please sign in to comment.