Skip to content

Commit

Permalink
fix:banneradd
Browse files Browse the repository at this point in the history
  • Loading branch information
KevalInfyom committed Mar 13, 2024
1 parent 295caae commit 01f1262
Show file tree
Hide file tree
Showing 33 changed files with 219 additions and 132 deletions.
Binary file modified .gradle/7.5/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/7.5/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/7.5/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified .gradle/7.5/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/7.5/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/7.5/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/7.5/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/7.5/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions .gradle/config.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Thu Dec 14 10:36:40 IST 2023
java.home=/Users/mac/Library/Java/JavaVirtualMachines/temurin-17.0.8/Contents/Home
#Wed Mar 13 15:34:53 IST 2024
java.home=/Users/mac/Library/Java/JavaVirtualMachines/temurin-17.0.9/Contents/Home
Binary file modified .gradle/file-system.probe
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions adsSdk/src/main/java/com/infyom/adssdk/InfyOmAds.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static void showInterstitial(int admob, Context context, Interstitial lis
}
}

public static void showBanner(Context context, RelativeLayout bannerContainer,View space, int admob) {
public static void showBanner(Context context, RelativeLayout bannerContainer,View space, int admob,boolean isCollaps) {


if (Constants.isBannerClicked) {
Expand All @@ -146,7 +146,7 @@ public static void showBanner(Context context, RelativeLayout bannerContainer,Vi
}

if ((myPref.getAdsType().equals(ADMOB) && !adsType.equals(FB)) || adsType.equals(ADMOB)) {
AdBanner.showBanner(context, bannerContainer, space,admob);
AdBanner.showBanner(context, bannerContainer, space,admob,isCollaps);
} else if (myPref.getAdsType().equals(FB) || adsType.equals(FB)) {
BannerUtilsFb.loadFbBanner(context, bannerContainer,space);
}
Expand Down Expand Up @@ -207,9 +207,9 @@ public static void enableTestMode(Context context) {
myPref = new AdsAccountProvider(context);

myPref.setOpenAds("/6499/example/app-open");
myPref.setBannerAds1("/6499/example/banner");
myPref.setBannerAds2("/6499/example/banner");
myPref.setBannerAds3("/6499/example/banner");
myPref.setBannerAds1("ca-app-pub-3940256099942544/2014213617");
myPref.setBannerAds2("ca-app-pub-3940256099942544/2014213617");
myPref.setBannerAds3("ca-app-pub-3940256099942544/2014213617");
myPref.setInterAds1("/6499/example/interstitial");
myPref.setInterAds2("/6499/example/interstitial");
myPref.setInterAds3("/6499/example/interstitial");
Expand Down
Loading

0 comments on commit 01f1262

Please sign in to comment.