stream-chat-react-native 8.12.0-beta.1 → 8.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -2
- package/src/optionalDependencies/Audio.ts +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[](https://www.npmjs.com/package/stream-chat-react-native)
|
|
11
11
|
[](https://github.com/GetStream/stream-chat-react-native/actions)
|
|
12
12
|
[](https://getstream.io/chat/docs/sdk/reactnative)
|
|
13
|
-

|
|
14
14
|
|
|
15
15
|
<img align="right" src="https://getstream.imgix.net/images/ios-chat-tutorial/iphone_chat_art@3x.png?auto=format,enhance" width="50%" />
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native",
|
|
3
3
|
"description": "The official React Native SDK for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "8.12.
|
|
4
|
+
"version": "8.12.1",
|
|
5
5
|
"homepage": "https://www.npmjs.com/package/stream-chat-react-native",
|
|
6
6
|
"author": {
|
|
7
7
|
"company": "Stream.io Inc",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"es6-symbol": "^3.1.3",
|
|
28
28
|
"mime": "^4.0.7",
|
|
29
|
-
"stream-chat-react-native-core": "8.12.
|
|
29
|
+
"stream-chat-react-native-core": "8.12.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@react-native-camera-roll/camera-roll": ">=7.8.0",
|
|
@@ -137,7 +137,6 @@ class _Audio {
|
|
|
137
137
|
startPlayer = async (uri, _, onPlaybackStatusUpdate) => {
|
|
138
138
|
try {
|
|
139
139
|
const playback = await audioRecorderPlayer.startPlayer(uri);
|
|
140
|
-
console.log({ playback });
|
|
141
140
|
audioRecorderPlayer.addPlayBackListener((status) => {
|
|
142
141
|
onPlaybackStatusUpdate(status);
|
|
143
142
|
});
|
|
@@ -191,6 +190,7 @@ class _Audio {
|
|
|
191
190
|
};
|
|
192
191
|
stopRecording = async () => {
|
|
193
192
|
try {
|
|
193
|
+
if(!audioRecorderPlayer._isRecording) return;
|
|
194
194
|
await audioRecorderPlayer.stopRecorder();
|
|
195
195
|
audioRecorderPlayer.removeRecordBackListener();
|
|
196
196
|
} catch (error) {
|