Skip to content

Commit c804b18

Browse files
author
Manish Kumar
committed
Version 10.0.8 updates
1 parent 97cd86d commit c804b18

File tree

8 files changed

+57
-22
lines changed

8 files changed

+57
-22
lines changed

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
InMobi SDK for Android
22
======================
33

4-
Modified: 25 May, 2022
4+
Modified: 20 July, 2022
55

6-
SDK Version: 10.0.7
6+
SDK Version: 10.0.8
77

88
Thanks for monetizing with InMobi!
99
If you haven't already, [sign up](https://www.inmobi.com/user/index?locale=en_us#signup) for an account to start monetizing your app!
@@ -20,7 +20,7 @@ repositories {
2020
mavenCentral()
2121
}
2222
dependencies {
23-
implementation 'com.inmobi.monetization:inmobi-ads:10.0.7'
23+
implementation 'com.inmobi.monetization:inmobi-ads:10.0.8'
2424
}
2525
```
2626

@@ -31,14 +31,26 @@ To download the latest SDK as a AAR, please visit [http://inmobi.com/sdk](https:
3131
**To continue integrating with the InMobi SDK, please see the [Integration Guidelines](https://support.inmobi.com/monetize/android-guidelines/) for Android.**
3232

3333
## New in this version
34-
• Bug Fixes
34+
• Added Support for Publisher callback - onAdImpression
35+
• Added Support for Contextual App Targeting
36+
• Added Support for Picasso version 2.8
37+
• Added Support for Swish Folders
38+
• Bug fixes
39+
• Interface Changes
40+
- APIs Added
41+
• BannerAdEventListener
42+
public void onAdImpression(@NonNull InMobiBanner ad)
43+
• InterstitialAdEventListener
44+
public void onAdImpression(@NonNull InMobiInterstitial ad)
45+
• NativeAdEventListener
46+
public void onAdImpression(@NonNull InMobiNative ad)
3547

3648
## Requirements
3749
- Android 4.0.1 (API level 15) and higher
3850
- androidx.browser
3951
- androidx.appcompat
4052
- androidx.recyclerview
41-
- Picasso Library (picasso-2.71828.jar - available on JCenter)
53+
- Picasso Library (picasso-2.8.jar - available on JCenter)
4254
- **Recommended** Google Play Services 18.0.1
4355

4456
## License

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ ext {
2121
appVersionCode = 1
2222
appVersionName = "1.0.0"
2323

24-
inmobiSdkVersion = "10.0.7"
24+
inmobiSdkVersion = "10.0.8"
2525
fresco = "0.12.0"
26-
picasso = "2.71828"
26+
picasso = "2.8"
2727
browser = "1.3.0"
2828
recyclerview = "1.1.0"
2929

samples/bannerSample/src/main/java/com/inmobi/banner/sample/BannerAdsActivity.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ public void onUserLeftApplication(@NonNull InMobiBanner inMobiBanner) {
111111
public void onRewardsUnlocked(@NonNull InMobiBanner inMobiBanner, @NonNull Map<Object, Object> map) {
112112
Log.d(TAG, "onRewardsUnlocked");
113113
}
114+
115+
@Override
116+
public void onAdImpression(@NonNull InMobiBanner inMobiBanner) {
117+
Log.d(TAG, "onAdImpression");
118+
}
114119
});
115120
setBannerLayoutParams();
116121
adContainer.addView(mBannerAd);

samples/interstitialSample/src/main/java/com/inmobi/interstitial/sample/InterstitialAdsActivity.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ public void onRewardsUnlocked(@NonNull InMobiInterstitial inMobiInterstitial,
156156
@NonNull Map<Object, Object> map) {
157157
Log.d(TAG, "onRewardsUnlocked " + map);
158158
}
159+
160+
@Override
161+
public void onAdImpression(@NonNull InMobiInterstitial inMobiInterstitial) {
162+
Log.d(TAG, "onAdImpression");
163+
}
159164
});
160165
mInterstitialAd.show();
161166
}

samples/nativeSample/src/main/java/com/inmobi/nativead/sample/listview/ListViewFeedFragment.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,6 @@ public void onUserWillLeaveApplication(InMobiNative inMobiNative) {
192192
Log.d(TAG, "User left app.");
193193
}
194194

195-
@Override
196-
public void onAdImpressed(@NonNull InMobiNative inMobiNativeStrand) {
197-
Log.d(TAG, "Impression recorded for strand at position:" + mPosition);
198-
}
199-
200195
@Override
201196
public void onAdClicked(@NonNull InMobiNative inMobiNativeStrand) {
202197
Log.d(TAG, "Click recorded for ad at position:" + mPosition);
@@ -207,6 +202,11 @@ public void onAdStatusChanged(@NonNull InMobiNative inMobiNative) {
207202
Log.d(TAG, "Ad status changed");
208203
}
209204

205+
@Override
206+
public void onAdImpression(@NonNull InMobiNative inMobiNative) {
207+
Log.d(TAG, "onAdImpression");
208+
}
209+
210210
}
211211

212212
@SuppressWarnings("deprecation")

samples/nativeSample/src/main/java/com/inmobi/nativead/sample/recyclerview/RecyclerFeedFragment.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,6 @@ public void onAdFullScreenDisplayed(InMobiNative inMobiNative) {
211211
public void onUserWillLeaveApplication(InMobiNative inMobiNative) {
212212
}
213213

214-
@Override
215-
public void onAdImpressed(@NonNull InMobiNative inMobiNativeStrand) {
216-
Log.d(TAG, "Impression recorded for strand at position:" + mPosition);
217-
}
218-
219214
@Override
220215
public void onAdClicked(@NonNull InMobiNative inMobiNativeStrand) {
221216
Log.d(TAG, "Click recorded for ad at position:" + mPosition);
@@ -224,5 +219,9 @@ public void onAdClicked(@NonNull InMobiNative inMobiNativeStrand) {
224219
@Override
225220
public void onAdStatusChanged(@NonNull InMobiNative inMobiNative) {
226221
}
222+
223+
@Override
224+
public void onAdImpression(@NonNull InMobiNative inMobiNative) {
225+
}
227226
}
228227
}

samples/nativeSample/src/main/java/com/inmobi/nativead/sample/singlestrand/SingleNativeAdFragment.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,6 @@ public void onAdFullScreenDisplayed(InMobiNative inMobiNative) {
210210
public void onUserWillLeaveApplication(InMobiNative inMobiNative) {
211211
}
212212

213-
@Override
214-
public void onAdImpressed(@NonNull InMobiNative inMobiNative) {
215-
Log.d(TAG, "Impression recorded successfully");
216-
}
217-
218213
@Override
219214
public void onAdClicked(@NonNull InMobiNative inMobiNative) {
220215
Log.d(TAG, "Ad clicked");
@@ -225,5 +220,9 @@ public void onAdClicked(@NonNull InMobiNative inMobiNative) {
225220
public void onAdStatusChanged(@NonNull InMobiNative inMobiNative) {
226221
}
227222

223+
@Override
224+
public void onAdImpression(@NonNull InMobiNative inMobiNative) {
225+
}
226+
228227
}
229228
}

sdk/ChangeLog.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
InMobi Monetization SDK ChangeLog for Android
22
=============================================
33

4+
## Build 10.0.8 [13/July/2022]
5+
• Added Support for Publisher callback - onAdImpression
6+
• Added Support for Contextual App Targeting
7+
• Added Support for Picasso version 2.8
8+
• Added Support for Swish Folders
9+
• Bug fixes
10+
• Interface Changes
11+
- APIs Added
12+
• BannerAdEventListener
13+
public void onAdImpression(@NonNull InMobiBanner ad)
14+
• InterstitialAdEventListener
15+
public void onAdImpression(@NonNull InMobiInterstitial ad)
16+
• NativeAdEventListener
17+
public void onAdImpression(@NonNull InMobiNative ad)
18+
419
## Build 10.0.7 [25/May/2022]
520
• Bug Fixes
621

0 commit comments

Comments
 (0)