Files
jellyfin-audio-player/ios/Fintunes/AppDelegate.m

32 lines
800 B
Mathematica
Raw Normal View History

2020-06-16 17:51:51 +02:00
#import "AppDelegate.h"
#import <React/RCTBundleURLProvider.h>
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
2023-04-30 23:36:32 +02:00
self.moduleName = @"Fintunes";
// You can add your custom initial props in the dictionary below.
// They will be passed down to the ViewController used by React Native.
self.initialProps = @{};
2022-05-04 18:28:00 +02:00
2023-04-30 23:36:32 +02:00
return [super application:application didFinishLaunchingWithOptions:launchOptions];
2020-06-16 17:51:51 +02:00
}
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
2024-01-31 22:10:51 +01:00
{
2024-07-25 13:55:00 +02:00
return [self bundleURL];
2024-01-31 22:10:51 +01:00
}
2024-07-25 13:55:00 +02:00
- (NSURL *)bundleURL
2020-06-16 17:51:51 +02:00
{
#if DEBUG
2022-05-04 18:28:00 +02:00
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
2020-06-16 17:51:51 +02:00
#else
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}
2024-01-31 22:10:51 +01:00
@end