Merge pull request #116 from anultravioletaurora/9-again-implement-playlist-crud

Fix TestFlight, Add CarPlay Now Playing Functionality
This commit is contained in:
Violet Caulfield
2025-02-12 13:58:02 -06:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ import { isUndefined } from "lodash";
import { createContext, ReactNode, SetStateAction, useContext, useEffect, useState } from "react";
import { CarPlay } from "react-native-carplay";
import CarPlayNavigation from "./CarPlay/Navigation";
import CarPlayNowPlaying from "./CarPlay/NowPlaying";
interface JellifyContext {
loggedIn: boolean;
@@ -30,7 +31,8 @@ const JellifyContextInitializer = () => {
if (loggedIn) {
CarPlay.setRootTemplate(CarPlayNavigation, true);
// CarPlay.enableNowPlaying(true); // https://github.com/birkir/react-native-carplay/issues/185
CarPlay.pushTemplate(CarPlayNowPlaying, true);
CarPlay.enableNowPlaying(true); // https://github.com/birkir/react-native-carplay/issues/185
}
}

View File

@@ -101,8 +101,6 @@
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
<string>fetch</string>
<string>processing</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>