Skip to content

Commit

Permalink
fix/sdk_compatible_versions (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
alhiwatan authored Oct 15, 2024
1 parent 6a6d868 commit 8e3ea32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class AppLovinMAX
{
private static final String SDK_TAG = "AppLovinSdk";
public static final String TAG = "AppLovinMAX";
private static final String PLUGIN_VERSION = "8.0.1";
private static final String PLUGIN_VERSION = "4.0.0";

private static final String USER_GEOGRAPHY_GDPR = "G";
private static final String USER_GEOGRAPHY_OTHER = "O";
Expand All @@ -73,8 +73,7 @@ public class AppLovinMAX

static
{
ALCompatibleNativeSdkVersions.put( "8.0.1", "13.0.0" );
ALCompatibleNativeSdkVersions.put( "8.0.0", "13.0.0" );
ALCompatibleNativeSdkVersions.put( "4.0.0", "13.0.0" );
}

public static AppLovinMAX instance;
Expand Down
5 changes: 2 additions & 3 deletions applovin_max/ios/Classes/AppLovinMAX.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ @interface AppLovinMAX()<MAAdDelegate, MAAdViewAdDelegate, MARewardedAdDelegate,
@implementation AppLovinMAX
static NSString *const SDK_TAG = @"AppLovinSdk";
static NSString *const TAG = @"AppLovinMAX";
static NSString *const PLUGIN_VERSION = @"8.0.1";
static NSString *const PLUGIN_VERSION = @"4.0.0";

static NSString *const USER_GEOGRAPHY_GDPR = @"G";
static NSString *const USER_GEOGRAPHY_OTHER = @"O";
Expand All @@ -74,8 +74,7 @@ @implementation AppLovinMAX
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar
{
ALCompatibleNativeSDKVersions = @{
@"8.0.1" : @"13.0.0",
@"8.0.0" : @"13.0.0"
@"4.0.0" : @"13.0.0"
};

ALSharedChannel = [FlutterMethodChannel methodChannelWithName: @"applovin_max" binaryMessenger: [registrar messenger]];
Expand Down

0 comments on commit 8e3ea32

Please sign in to comment.