SmartStopAPK/ios/SmartStop/AppDelegate.mm

31 lines
795 B
Plaintext
Raw Normal View History

2023-11-08 20:37:01 -03:00
#import "AppDelegate.h"
2023-12-22 22:40:24 -03:00
#import <Firebase.h>
2023-11-08 20:37:01 -03:00
#import <React/RCTBundleURLProvider.h>
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
2023-12-22 22:40:24 -03:00
[FIRApp configure];
2023-11-08 20:37:01 -03:00
self.moduleName = @"SmartStop";
// 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 = @{};
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
#if DEBUG
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
#else
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}
@end