From c2c8ae458f026385c832abf15db2a939dadc47a3 Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Fri, 24 Jan 2025 23:12:37 -0600 Subject: [PATCH] maybe? --- index.js | 4 ++-- ios/Jellify/AppDelegate.swift | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 4c96b389..ec0bcabb 100644 --- a/index.js +++ b/index.js @@ -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; \ No newline at end of file +TrackPlayer.registerPlaybackService(() => PlaybackService); \ No newline at end of file diff --git a/ios/Jellify/AppDelegate.swift b/ios/Jellify/AppDelegate.swift index e5ed5151..a7975081 100644 --- a/ios/Jellify/AppDelegate.swift +++ b/ios/Jellify/AppDelegate.swift @@ -47,6 +47,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, RCTBridgeDelegate { func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { } + override func bundleURL() -> URL? { + return RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index"); + } + private func initializeFlipper(with application: UIApplication) { #if DEBUG #if FB_SONARKIT_ENABLED