Skip to content

Commit dcbefed

Browse files
committed
update docs usage
1 parent f2adbdf commit dcbefed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ react-native link
1414

1515
> your component.js
1616
17-
```
17+
```javascript
1818
...
1919
import JAnalyticsModule from 'janalytics-react-native';
20+
JAnalyticsModule.setup({appKey: "you appKey get from jiguang website"}) // iOS 端需要先调用该方法
2021
```
2122

2223
- You can refer to [example](./example)

0 commit comments

Comments
 (0)