@siteed/expo-audio-studio 2.6.1 → 2.6.2

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/CHANGELOG.md CHANGED
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
  ## [Unreleased]
9
9
 
10
10
 
11
+ ## [2.6.2] - 2025-05-01
12
+ ### Changed
13
+ - fix(audio-studio): ensure foreground-only audio recording works with FOREGROUND_SERVICE #202 (#221) ([abc450c](https://github.com/deeeed/expo-audio-stream/commit/abc450cb73968cc260e430758df9b72e00f75ef7))
14
+ - chore(expo-audio-studio): release @siteed/expo-audio-studio@2.6.1 ([9191a2c](https://github.com/deeeed/expo-audio-stream/commit/9191a2cec8e21cd03a0d5be59d823583d449d9c9))
11
15
  ## [2.6.1] - 2025-05-01
12
16
  ### Changed
13
17
  - fix(expo-audio-studio): Resolve iOS HW Format Mismatch Crash and Enhance Logging (#220) ([4909f76](https://github.com/deeeed/expo-audio-stream/commit/4909f7646fcf682fcdaed84988b8d8e58b7b626c))
@@ -206,7 +210,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
206
210
  - Feature: Audio features extraction during recording.
207
211
  - Feature: Consistent WAV PCM recording format across all platforms.
208
212
 
209
- [unreleased]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-studio@2.6.1...HEAD
213
+ [unreleased]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-studio@2.6.2...HEAD
214
+ [2.6.2]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-studio@2.6.1...@siteed/expo-audio-studio@2.6.2
210
215
  [2.6.1]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-studio@2.6.0...@siteed/expo-audio-studio@2.6.1
211
216
  [2.6.0]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-studio@2.5.0...@siteed/expo-audio-studio@2.6.0
212
217
  [2.5.0]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-studio@2.4.1...@siteed/expo-audio-studio@2.5.0
@@ -62,8 +62,8 @@ class ExpoAudioStreamModule : Module(), EventSender {
62
62
  // Check if POST_NOTIFICATIONS is in the requested permissions
63
63
  enableNotificationHandling = packageInfo.requestedPermissions?.contains(Manifest.permission.POST_NOTIFICATIONS) ?: false
64
64
 
65
- // Check if background audio is enabled by looking for FOREGROUND_SERVICE permission
66
- enableBackgroundAudio = packageInfo.requestedPermissions?.contains(Manifest.permission.FOREGROUND_SERVICE) ?: false
65
+ // Check if background audio is enabled by looking for FOREGROUND_SERVICE_MICROPHONE permission
66
+ enableBackgroundAudio = packageInfo.requestedPermissions?.contains(Manifest.permission.FOREGROUND_SERVICE_MICROPHONE) ?: false
67
67
 
68
68
  LogUtils.d(CLASS_NAME, "Phone state handling ${if (enablePhoneStateHandling) "enabled" else "disabled"} based on manifest permissions")
69
69
  LogUtils.d(CLASS_NAME, "Notification handling ${if (enableNotificationHandling) "enabled" else "disabled"} based on manifest permissions")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siteed/expo-audio-studio",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "Comprehensive audio processing library for React Native and Expo with recording, analysis, visualization, and streaming capabilities across iOS, Android, and web",
5
5
  "license": "MIT",
6
6
  "main": "build/index.js",