-
-
Notifications
You must be signed in to change notification settings - Fork 34
Feat/foreground service notifications #802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…re-mansion/react-native-audio-api into feat/fs_android_recording
michalsek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nitpicks, but overall great job, thanks for this! :)
packages/audiodocs/docs/system/playback-notification-manager.mdx
Outdated
Show resolved
Hide resolved
packages/audiodocs/docs/system/recording-notification-manager.mdx
Outdated
Show resolved
Hide resolved
...-native-audio-api/android/src/main/java/com/swmansion/audioapi/system/MediaSessionManager.kt
Outdated
Show resolved
Hide resolved
...id/src/main/java/com/swmansion/audioapi/system/notification/ForegroundNotificationService.kt
Outdated
Show resolved
Hide resolved
...pi/android/src/main/java/com/swmansion/audioapi/system/notification/RecordingNotification.kt
Outdated
Show resolved
Hide resolved
...pi/android/src/main/java/com/swmansion/audioapi/system/notification/RecordingNotification.kt
Show resolved
Hide resolved
...pi/android/src/main/java/com/swmansion/audioapi/system/notification/RecordingNotification.kt
Outdated
Show resolved
Hide resolved
packages/react-native-audio-api/src/web-system/notification/RecordingNotificationManager.ts
Outdated
Show resolved
Hide resolved
maciejmakowski2003
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beside a few nitpicks, really great work!!! fingers crossed that it works as well as android code looks 🙃
apps/common-app/src/examples/PlaybackNotification/PlaybackNotification.tsx
Outdated
Show resolved
Hide resolved
packages/react-native-audio-api/ios/audioapi/ios/system/notification/PlaybackNotification.mm
Show resolved
Hide resolved
packages/react-native-audio-api/src/specs/NativeAudioAPIModule.ts
Outdated
Show resolved
Hide resolved
packages/react-native-audio-api/ios/audioapi/ios/system/notification/NotificationRegistry.mm
Outdated
Show resolved
Hide resolved
packages/react-native-audio-api/ios/audioapi/ios/system/notification/PlaybackNotification.mm
Outdated
Show resolved
Hide resolved
packages/react-native-audio-api/src/specs/NativeAudioAPIModule.ts
Outdated
Show resolved
Hide resolved
packages/react-native-audio-api/src/system/notification/RecordingNotificationManager.ts
Show resolved
Hide resolved
...ct-native-audio-api/android/src/main/java/com/swmansion/audioapi/system/LockScreenManager.kt
Outdated
Show resolved
Hide resolved
packages/react-native-audio-api/ios/audioapi/ios/system/notification/PlaybackNotification.mm
Show resolved
Hide resolved
packages/react-native-audio-api/ios/audioapi/ios/system/notification/PlaybackNotification.mm
Outdated
Show resolved
Hide resolved
packages/react-native-audio-api/ios/audioapi/ios/system/notification/PlaybackNotification.mm
Show resolved
Hide resolved
...-native-audio-api/android/src/main/java/com/swmansion/audioapi/system/MediaSessionManager.kt
Show resolved
Hide resolved
maciejmakowski2003
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done!
mdydek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add to docs mention about small icon on android
💀
Closes RNAA-310
Closes #820
TODO
Maybe TODO
NotificationReceiver for notification dissmised event can be centralized right now there are two receivers(not wanted)AudioManageryou should usePlaybackNotificationManagerIntroduced changes
RecordingNotificationManagerfor management of notification dedicated for recordingPlaybackNotificationManagerfor management of notification dedicated for playbackAudioManagerChecklist