Closed brightsider closed 3 years ago
Is the Now Playing template working for you?
Yes
To use it enable this template by
CarPlay.enableNowPlaying(true);
Then you can use it like in this example:
const nowPlaying = new NowPlayingTemplate({
albumArtistButton: false,
upNextButton: false,
});
CarPlay.pushTemplate(nowPlaying, true)
@brightsider you probably could update the README.md as well
Awesome, LGTM.
@brightsider Cool! Excited to see this in the library. Is this implemented in the example project?
@ForrestDWS sorry, I have no time for this
@brightsider no worries. I really appreciate you making this PR. I'd really like to play with this. I've been trying to call CarPlay.enableNowPlaying(true);
but my builds error out telling me that it isn't a valid function. Without it, I'm told that I cannot push CPNowPlayingTemplate in on its own. Can I take a look at what you are enabling for your .entitlements file?
Ive got a screenshot of that error here in this thread https://github.com/birkir/react-native-carplay/issues/43
Improve Base Template, ListTemplate, TabBarTemplate Add Now Playing