mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-11 22:55:55 +05:45
* moved InstallationTests to Tests folder * renamed a couple of jobs that still said "integration-tests" to "installation-tests" * temporarily enabled all installation tests jobs to make sure they work correctly after refactor * fixed a couple of file references * fixed path to podfile in cocoapods installation tests * fixed references in xcode direct integration * fixed purchases-root reference * disabled installation tests for non-release builds
44 lines
1.4 KiB
Objective-C
44 lines
1.4 KiB
Objective-C
//
|
|
// AppDelegate.m
|
|
// CocoapodsInstallation
|
|
//
|
|
// Created by Andrés Boedo on 10/27/20.
|
|
//
|
|
|
|
#import "AppDelegate.h"
|
|
#import "RCInstallationRunner.h"
|
|
|
|
@interface AppDelegate ()
|
|
|
|
@end
|
|
|
|
@implementation AppDelegate
|
|
|
|
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
RCInstallationRunner *integration = [[RCInstallationRunner alloc] init];
|
|
[integration start];
|
|
// Override point for customization after application launch.
|
|
return YES;
|
|
}
|
|
|
|
|
|
#pragma mark - UISceneSession lifecycle
|
|
|
|
|
|
- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options {
|
|
// Called when a new scene session is being created.
|
|
// Use this method to select a configuration to create the new scene with.
|
|
return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
|
|
}
|
|
|
|
|
|
- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
|
|
// Called when the user discards a scene session.
|
|
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
|
|
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
|
|
}
|
|
|
|
|
|
@end
|