@siteed/expo-audio-stream 1.2.1 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siteed/expo-audio-stream",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "stream audio crossplatform",
5
5
  "license": "MIT",
6
6
  "main": "build/index.js",
@@ -11,7 +11,6 @@ const withRecordingPermission = (config) => {
11
11
  config.modResults['NSMicrophoneUsageDescription'] ||
12
12
  MICROPHONE_USAGE;
13
13
  // Add notification permissions
14
- // This is the correct key for iOS notifications
15
14
  config.modResults['NSUserNotificationsUsageDescription'] =
16
15
  NOTIFICATION_USAGE;
17
16
  // Add notification style
@@ -25,15 +24,6 @@ const withRecordingPermission = (config) => {
25
24
  existingBackgroundModes.push('remote-notification');
26
25
  }
27
26
  config.modResults.UIBackgroundModes = existingBackgroundModes;
28
- // Required capabilities for notifications
29
- if (!config.modResults.UIRequiredDeviceCapabilities) {
30
- config.modResults.UIRequiredDeviceCapabilities = [];
31
- }
32
- const capabilities = config.modResults
33
- .UIRequiredDeviceCapabilities;
34
- if (!capabilities.includes('notification')) {
35
- capabilities.push('notification');
36
- }
37
27
  return config;
38
28
  });
39
29
  // Android Configuration
@@ -18,7 +18,6 @@ const withRecordingPermission: ConfigPlugin = (config: ExpoConfig) => {
18
18
  MICROPHONE_USAGE
19
19
 
20
20
  // Add notification permissions
21
- // This is the correct key for iOS notifications
22
21
  config.modResults['NSUserNotificationsUsageDescription'] =
23
22
  NOTIFICATION_USAGE
24
23
 
@@ -36,16 +35,6 @@ const withRecordingPermission: ConfigPlugin = (config: ExpoConfig) => {
36
35
  }
37
36
  config.modResults.UIBackgroundModes = existingBackgroundModes
38
37
 
39
- // Required capabilities for notifications
40
- if (!config.modResults.UIRequiredDeviceCapabilities) {
41
- config.modResults.UIRequiredDeviceCapabilities = []
42
- }
43
- const capabilities = config.modResults
44
- .UIRequiredDeviceCapabilities as string[]
45
- if (!capabilities.includes('notification')) {
46
- capabilities.push('notification')
47
- }
48
-
49
38
  return config
50
39
  })
51
40