This commit is contained in:
Violet Caulfield
2025-01-24 23:12:37 -06:00
parent e15d8e8b92
commit c2c8ae458f
2 changed files with 6 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import { PlaybackService } from './player/service'
import TrackPlayer from 'react-native-track-player';
import Client from './api/client';
Client.instance;
AppRegistry.registerComponent(appName, () => App);
AppRegistry.registerComponent('RNCarPlayScene', () => App)
TrackPlayer.registerPlaybackService(() => PlaybackService);
Client.instance;
TrackPlayer.registerPlaybackService(() => PlaybackService);

View File

@@ -47,6 +47,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, RCTBridgeDelegate {
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
}
override func bundleURL() -> URL? {
return RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index");
}
private func initializeFlipper(with application: UIApplication) {
#if DEBUG
#if FB_SONARKIT_ENABLED