stream-chat-expo 5.30.0-beta.1 → 5.30.0
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/package.json +2 -2
- package/src/handlers/Audio.ts +0 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-expo",
|
|
3
3
|
"description": "The official Expo SDK for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "5.30.0
|
|
4
|
+
"version": "5.30.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"main": "src/index.js",
|
|
11
11
|
"types": "types/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"stream-chat-react-native-core": "5.30.0
|
|
13
|
+
"stream-chat-react-native-core": "5.30.0"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@react-native-community/netinfo": ">=6.0.0",
|
package/src/handlers/Audio.ts
CHANGED
|
@@ -216,7 +216,6 @@ export const Audio = AudioComponent
|
|
|
216
216
|
? {
|
|
217
217
|
startRecording: async (recordingOptions: RecordingOptions, onRecordingStatusUpdate) => {
|
|
218
218
|
try {
|
|
219
|
-
console.log('Requesting permissions..');
|
|
220
219
|
const permissionsGranted = await AudioComponent.getPermissionsAsync().granted;
|
|
221
220
|
if (!permissionsGranted) {
|
|
222
221
|
await AudioComponent.requestPermissionsAsync();
|
|
@@ -225,7 +224,6 @@ export const Audio = AudioComponent
|
|
|
225
224
|
allowsRecordingIOS: true,
|
|
226
225
|
playsInSilentModeIOS: true,
|
|
227
226
|
});
|
|
228
|
-
console.log('Starting recording..');
|
|
229
227
|
const androidOptions = {
|
|
230
228
|
audioEncoder: AndroidAudioEncoder.AAC,
|
|
231
229
|
extension: '.aac',
|
|
@@ -258,7 +256,6 @@ export const Audio = AudioComponent
|
|
|
258
256
|
},
|
|
259
257
|
stopRecording: async () => {
|
|
260
258
|
try {
|
|
261
|
-
console.log('Stopping recording..');
|
|
262
259
|
await AudioComponent.setAudioModeAsync({
|
|
263
260
|
allowsRecordingIOS: false,
|
|
264
261
|
});
|