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