Skip to content

Commit

Permalink
wip AppleAppLovinPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
irov committed Dec 25, 2023
1 parent 834245c commit b75f37a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#import "Environment/iOS/UIPluginApplicationDelegateInterface.h"

@interface AppleAppLovinApplicationDelegate : NSObject<UIPluginApplicationDelegateInterface>

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#import "AppleAppLovinApplicationDelegate.h"

#include "Environment/iOS/iOSDetail.h"

@implementation AppleAppLovinApplicationDelegate

#pragma mark - UIPluginApplicationDelegateInterface

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

return YES;
}

@end
11 changes: 8 additions & 3 deletions src/Plugins/AppleAppLovinPlugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@ src

AppleAppLovinAnalyticsService.h
AppleAppLovinAnalyticsService.mm

AppleAppLovinApplicationDelegate.h
AppleAppLovinApplicationDelegate.mm
)

if(MENGINE_PLUGIN_APPLE_FIREBASE_ANALYTICS)
ADD_FILTER(
firebase
AppleAppLovinFirebaseAnalytics.h
AppleAppLovinFirebaseAnalytics.mm
firebase
AppleAppLovinFirebaseAnalytics.h
AppleAppLovinFirebaseAnalytics.mm
)
endif()

Expand Down Expand Up @@ -68,6 +71,8 @@ ADD_MENGINE_APPLE_PLUGIN(MENGINE_PLUGIN_APPLE_APPLOVIN)
ADD_MENGINE_COCOAPOD("GoogleUtilities" "NO-GIT" "NO-TAG")
ADD_MENGINE_COCOAPOD("AppLovinSDK" "NO-GIT" "12.1.0")

ADD_MENGINE_IOS_APPLICATION_DELEGATE("AppleAppLovinApplicationDelegate")

macro(ADD_APPLOVIN_MEDIATION MEDIATION POD VERSION)
ADD_PLUGIN_OPTION(MENGINE_PLUGIN_APPLE_APPLOVIN MEDIATION_${MEDIATION} OFF "MENGINE_PLUGIN_APPLE_APPLOVIN_MEDIATION_${MEDIATION}")
if(MENGINE_PLUGIN_APPLE_APPLOVIN_MEDIATION_${MEDIATION})
Expand Down

0 comments on commit b75f37a

Please sign in to comment.