-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
[feat]: add method to change now playing metadata #16
Comments
What's this mean? "Now playing" metadata as in the media session api to show controls and stuff in the notification tray? |
@flexgrip , it means that you would be able to update the current item meta data (title, subtitle, artwork) so Android and iOS reflect the change in the notification (and Car Play/Android Auto) |
@eduardoRoth thats cool! This is exactly what I need. There’s a plugin called capacitor-media-session that uses the Media Session Web API to do this. I’m sure you already know, but this is essential if you don’t want android to kill your app in the background and keep playing your media. I believe it also starts a foreground service, but I’m not sure how crucial that is. This was a pain to implement with react native and barely works. So I’m super excited to try building out a prototype using your plugin. Thanks! |
@flexgrip right now my plugin creates a Media Session service on Android, so it doesn't get killed by Android; also it allows Android Auto to detect the media playing and show media controls for the video. |
No description provided.
The text was updated successfully, but these errors were encountered: