Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
narol1024 committed Jun 17, 2024
1 parent a0c6b2f commit f26f524
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ npm install react-native-tencent-asr
- 在 AndroidManifest.xml 添加如下权限:

```xml
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
```

- 拥有tecentcloud asr的sdk包没有发布到maven,因此需要编辑 android/build.gradle, 添加flatDir配置来应用这些包。

```
allprojects {
repositories {
flatDir {
dirs project(':rn-spotify-sdk').file('libs')
}
}
repositories {
flatDir {
dirs project(':rn-spotify-sdk').file('libs')
}
}
}
```

Expand Down

0 comments on commit f26f524

Please sign in to comment.