@siteed/expo-audio-stream 1.1.15 → 1.1.16
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/ios/AudioStreamManager.swift +1 -2
- package/package.json +1 -1
- package/publish.sh +5 -5
|
@@ -212,8 +212,7 @@ class AudioStreamManager: NSObject {
|
|
|
212
212
|
newSettings.sampleRate = session.sampleRate
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
try session.setCategory(.playAndRecord)
|
|
216
|
-
try session.setMode(.default)
|
|
215
|
+
try session.setCategory(.playAndRecord, mode: .default, options: [.allowBluetooth])
|
|
217
216
|
try session.setPreferredSampleRate(settings.sampleRate)
|
|
218
217
|
try session.setPreferredIOBufferDuration(1024 / settings.sampleRate)
|
|
219
218
|
try session.setActive(true)
|
package/package.json
CHANGED
package/publish.sh
CHANGED
|
@@ -17,11 +17,6 @@ yarn docgen
|
|
|
17
17
|
echo "Preparing and publishing package..."
|
|
18
18
|
yarn clean && yarn prepare && yarn npm publish
|
|
19
19
|
|
|
20
|
-
# Commit changes
|
|
21
|
-
echo "Committing changes..."
|
|
22
|
-
git add .
|
|
23
|
-
git commit -m "feat: bump version to $version"
|
|
24
|
-
|
|
25
20
|
# Publish playground app
|
|
26
21
|
echo "Publishing playground app..."
|
|
27
22
|
cd ../../apps/playground
|
|
@@ -32,4 +27,9 @@ yarn deploy
|
|
|
32
27
|
# cd ../minimal
|
|
33
28
|
# yarn deploy
|
|
34
29
|
|
|
30
|
+
# Commit changes
|
|
31
|
+
echo "Committing changes..."
|
|
32
|
+
git add .
|
|
33
|
+
git commit -m "feat: bump version to $version"
|
|
34
|
+
|
|
35
35
|
echo "Publication process completed successfully!"
|