-
Notifications
You must be signed in to change notification settings - Fork 109
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
Now playing #43
Comments
Any ideas on this? |
Looks like we need to implement the CPNowPlayingTemplateObserver for button events. Also the types of available buttons, which are
The template also requires an “audio” entitlement. Also you would need a package to manage the MPNowPlaying with an external library like https://github.com/tanguyantoine/react-native-music-control |
Hi Birkir, Ok, that needs to be implemented in the library you mean? Thanks for this good work! |
Can you let me know? |
Needs to be implemented in the library |
Ok, thanks. That would be very great, as we have a lot of requests for it :) |
@maendamedia I could not. I took a break from this. But I just noticed this PR that seems to enable it: #48 |
I would love to use this library but require a now playing screen as it's for a radio playing app. |
Any timeline for this now playing feature? |
Is there any update on this? Weirdly, this release actually mentions it now includes a Now Playing Template: But at the bottom of the README, there's a section titled "Not working / In progress", and it includes Now Playing Template, and there's no example given. |
https://github.com/birkir/react-native-carplay/blob/0.3.0/ios/RNCarPlay.m#L143-L150 Still missing three configuration parameters |
Any updates or time estimation on that? |
@birkir Is there any chance to get Now Playing this year? |
Hi! Has anyone been able to get NowPlaying template to work? I can't find any instructions anywhere to show the template, as it's not supposed to be pushed or presented like any other. |
Please reopen if there is still an issue with Now Playing 🙂 |
I got it to work by adding a button for it in The entitlements seem to be mutually exclusive... See the entitlement-matrix: Now playing is only allowed for audio apps. When combining with other entitlements, these seem to block the audio entitlement/NowPlaying-screen. You need to set the entitlements according to the matrix depending on which screens you want to test. |
Hi all, For CarPlay, the current master of react-native-carplay by @birkir features a NowPlaying-template which integrates smoothly with RNTP, since RNTP syncs with the native iOS audio player and the NowPlaying view is accessible throughout the whole Apple ecosystem (iOS/iPadOS, watchOS, and of course CarPlay), so displaying the currently running track is as simple as playing it in RNTP and then pushing the NowPlaying template onto the CarPlay view stack. For Android Auto there's active development in this RNTP-PR by @lovegaoshi which also features a NowPlaying-view for Android Auto. |
Did you also manage to display the artwork image from RNTP in CarPlay? |
As mentioned above, this is handled by the apple ecosystem itself: If a track with artwork is running in RNTP, then the artwork is visible throughout the whole ecosystem:
The Simulator app on macOS (External Displays > CarPlay) sometimes is unreliable with the NowPlaying screen, but I haven't had any problems with a real CarPlay device. |
@jakob-fankhauser note also that the CarPlay-window of the Simulator app (External Displays > CarPlay) represents a very small CarPlay screen where the artwork is used only as a blurred background in the NowPlaying screen. On larger CarPlay screens the artwork is positioned to the right of the timeline/progress bar and metadata. |
@DanielKuhn To clear this up without an actual entitlement I cannot test implementing NowPlaying template on my app using RNTP ? |
@elieT27 In development you can simply set the entitlement yourself. |
Hi, do you have any example project running with , react-native-track-payer, react-native-car-player. I am gettings error when i push noewPlayingTemplate |
Did you able to use NowPlayingTemplate with RNTP? |
@DanielKuhn I need some guidelines regarding NowPlayingTemplate with RNTP. |
Please see above ⬆️ |
Hi,
is there any progress on the now playing template?
i like to integrate it with react native track player to show now playing and cover art, but not sure how to do this.
thanks
The text was updated successfully, but these errors were encountered: