You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: fixed ReactModuleInfo ctor
* docs: added info about new foreground service permissions and capabilities
* ci: yarn lint
* chore: added comments to react info module ctor arguments
---------
Co-authored-by: maciejmakowski2003 <[email protected]>
Copy file name to clipboardExpand all lines: packages/audiodocs/docs/other/audio-api-plugin.mdx
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,9 @@ Allows to specify certain android app permissions to apply.
114
114
115
115
-`android.permission.FOREGROUND_SERVICE` - Allows an app to run a Foreground Service
116
116
117
-
-`android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK` - Allows an app to run a Foreground Service specifically for playing audio or video.
117
+
-`android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK` - Allows an app to run a Foreground Service specifically for continues audio or video playback.
118
+
119
+
-`android.permission.FOREGROUND_SERVICE_MICROPHONE` - Allows an app to run a Foreground Service specifically for continues microphone capture from the background.
118
120
119
121
-`android.permission.MODIFY_AUDIO_SETTINGS` - Allows an app to modify global audio settings.
120
122
@@ -136,3 +138,8 @@ Allows user to specify appropriate Foreground Service type.
136
138
##### Types description
137
139
138
140
-`mediaPlayback` - Continue audio or video playback from the background.
141
+
142
+
-`microphone` - Continue microphone capture from the background, such as voice recorders or communication apps.
143
+
144
+
Runtime prerequisites:
145
+
- Request and be granted the RECORD_AUDIO runtime permission.
0 commit comments