@placetime/corptime-conference 0.0.9 → 0.0.11

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.
@@ -108,7 +108,9 @@ RCT_EXPORT_MODULE();
108
108
  // Manually routing audio to the earpiece doesn't quite work unless one disables BT (weird, I know).
109
109
  earpieceConfig = [[RTCAudioSessionConfiguration alloc] init];
110
110
  earpieceConfig.category = AVAudioSessionCategoryPlayAndRecord;
111
- earpieceConfig.categoryOptions = 0;
111
+ // Разрешает использование Bluetooth-устройств (Hands-Free Profile).
112
+ // Без этой опции блютуз-гарнитура может не появиться в списке доступных устройств.
113
+ earpieceConfig.categoryOptions = AVAudioSessionCategoryOptionAllowBluetooth;
112
114
  earpieceConfig.mode = AVAudioSessionModeVoiceChat;
113
115
 
114
116
  forceSpeaker = NO;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@placetime/corptime-conference",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "React Native SDK from Corptime-Conference",
5
5
  "main": "index.tsx",
6
6
  "license": "Apache-2.0",
@@ -1,6 +1,7 @@
1
1
  import React, { PureComponent, ReactNode } from 'react';
2
- import { SafeAreaView, ScrollView, View, ViewStyle } from 'react-native';
2
+ import { SafeAreaView, View, ViewStyle } from 'react-native';
3
3
  import { connect } from 'react-redux';
4
+ import { ScrollView } from 'react-native-gesture-handler';
4
5
 
5
6
  import { IStore } from '../../../../app/types';
6
7
  import SlidingView from '../../../react/components/native/SlidingView';