This commit is contained in:
bluesea 2024-07-26 19:26:29 +08:00
parent d3a5deeae9
commit 9e836e1c17
4 changed files with 10 additions and 7 deletions

View File

@ -96,11 +96,13 @@
//ad
_adConfig = [ALSdkInitializationConfiguration configurationWithSdkKey: appLovinSDKKey builderBlock:^(ALSdkInitializationConfigurationBuilder *builder) {
builder.mediationProvider = ALMediationProviderMAX;
// NSString *currentIDFV = UIDevice.currentDevice.identifierForVendor.UUIDString;
// if ( currentIDFV.length > 0 )
// {
// builder.testDeviceAdvertisingIdentifiers = @[currentIDFV];
// }
NSString *currentIDFV = UIDevice.currentDevice.identifierForVendor.UUIDString;
if ( currentIDFV.length > 0 )
{
builder.testDeviceAdvertisingIdentifiers = @[currentIDFV];
}
}];
__weak typeof(self)weakSelf = self;

View File

@ -26,6 +26,7 @@
//local url
#define kLocalBaseUrl @"http://127.0.0.1:6000/"
//#define kLocalBaseUrl @"http://192.168.41.25:6000/"
#define kLocalUrlStr(_path) [kLocalBaseUrl stringByAppendingPathComponent:_path]
#import "LuxADVCControl.h"

View File

@ -32,8 +32,8 @@
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"