Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdQuality SDK #26

Merged
merged 5 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extension-ironsource/ext.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[iron_source]

version.default = 1.0.0
version.default = 1.1.0
adcolony_android.type = string

admob_android.private = 1
Expand Down
1 change: 1 addition & 0 deletions extension-ironsource/manifests/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ repositories {
}
dependencies {
implementation 'com.ironsource.sdk:mediationsdk:7.7.0'
implementation 'com.ironsource:adqualitysdk:7.20.0'

// Remove for AMAZON:
// --- NOT AMAZON START ---
Expand Down
1 change: 1 addition & 0 deletions extension-ironsource/manifests/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
platform :ios, '13.0'
pod 'IronSourceSDK','7.7.0.0'
pod 'IronSourceAdQualitySDK','7.20.0'

{{#iron_source.applovin_ios}}
pod 'IronSourceAppLovinAdapter','4.3.42.1'
Expand Down
2 changes: 2 additions & 0 deletions extension-ironsource/src/ironsource_ios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "IronSource/IronSource.h"
#import "IronSourceAdQuality.h"

#if __has_include(<AppTrackingTransparency/ATTrackingManager.h>)
#import <AppTrackingTransparency/ATTrackingManager.h>
Expand Down Expand Up @@ -238,6 +239,7 @@ void Initialize_Ext(const char* version, const char* extVersion) {
}

void Init(const char* appKey) {
[[IronSourceAdQuality getInstance] initializeWithAppKey:appKey];
[IronSource initWithAppKey:[NSString stringWithUTF8String:appKey] delegate:ironSourceExtInitAdDelegate];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.json.JSONObject;
import org.json.JSONException;

import com.ironsource.adqualitysdk.sdk.IronSourceAdQuality;
import com.ironsource.mediationsdk.IronSource;
import com.ironsource.mediationsdk.integration.IntegrationHelper;
import com.ironsource.mediationsdk.sdk.LevelPlayRewardedVideoListener;
Expand Down Expand Up @@ -66,6 +67,7 @@ public IronSourceJNI(Activity activity, String version, String extVersion) {
}

public void init(String appKey) {
IronSourceAdQuality.getInstance().initialize(activity, appKey);
IronSource.setLevelPlayRewardedVideoListener(new DefoldLevelPlayRewardedVideoListener());
IronSource.setLevelPlayInterstitialListener(new DefoldLevelPlayInterstitialListener());
//TODO: add AD Units android.app.Activity, java.lang.String, com.ironsource.mediationsdk.sdk.InitializationListener, com.ironsource.mediationsdk.IronSource$AD_UNIT...
Expand Down
Loading