SMART_BANNER strange affect

45 views
Skip to first unread message

Антон Захарьев

unread,
Aug 12, 2017, 6:13:05 PM8/12/17
to Google Mobile Ads SDK Developers
Recently I changed my adView's size from BANNER to SMART_BANNER. And had Samsung user's complain about strange font size for entire app.
As we know Samsung provides convenient way to change font size for sustem, so the bug is that during first activity creation font is different from settings in OS, but after just a rotation it comes to needed values.
Also it somehow related with release version or minifying, because in debug it works fine, but after Build > Build signed  APK it shows up

build.gradle

android {
    compileSdkVersion 23
    buildToolsVersion '25.0.3'
    defaultConfig {
        applicationId "..."
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 110
        versionName "..."
    }
    buildTypes {
        release {
            minifyEnabled true
//            proguardFiles getDefaultProguardFile('proguard-android_amazon.txt')
            proguardFiles 'proguard-android_amazon.txt'
            signingConfig signingConfigs.config
        }
    }
}

dependencies {
    compile 'com.android.support:appcompat-v7:23.0.3'
    compile 'com.facebook.android:facebook-android-sdk:4.20.0'
    compile 'joda-time:joda-time:2.9.1'
    compile 'org.java-websocket:Java-WebSocket:1.3.4'
    compile files('libs/volley.jar')
    compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
    compile 'com.mikhaellopez:circularimageview:3.0.2'
    compile 'com.shamanland:xdroid-toaster:0.3.0'
    compile 'com.jakewharton:butterknife:8.4.0'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
    compile project(':SweetAlert')
    compile 'org.greenrobot:eventbus:3.0.0'
    compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
        transitive = true;
    }
    compile 'com.github.medyo:fancybuttons:1.8.4'
    //rest
    compile 'com.squareup.retrofit2:retrofit:2.0.2'
    compile 'com.squareup.retrofit2:converter-gson:2.0.2'
    compile 'com.squareup.okhttp3:logging-interceptor:3.2.0'
    compile 'com.google.code.gson:gson:2.7'
    compile 'com.squareup.picasso:picasso:2.5.2'

    compile 'com.google.firebase:firebase-ads:11.0.0'
    compile(name:'unity-ads', ext:'aar')
    compile 'com.google.ads.mediation:unity:2.1.0.0'
}
apply plugin: 'com.google.gms.google-services'

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Aug 13, 2017, 11:39:13 PM8/13/17
to Google Mobile Ads SDK Developers
Hi there,

Interesting. Would you be able to answer the following questions for us to narrow down the cause of the issue?
  • Can you see the behavior only for Smart Banners, and not for regular Banner Ads?
  • Does the issue only arise when AdMob ads are shown? 
  • Does this only happen on Samsung Devices?
Additionally, can you provide us a sample application/project where we can replicate the issue? Can you, also, try and verify if you can replicate the same behavior on our sample applications?

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Aug 22, 2017, 3:00:05 AM8/22/17
to Google Mobile Ads SDK Developers
Hi there,

Are you still experiencing the issue? If you still do, then kindly provide us the previously mentioned information for us to assist you further.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

On Sunday, August 13, 2017 at 6:13:05 AM UTC+8, Антон Захарьев wrote:

Антон Захарьев

unread,
Aug 22, 2017, 11:49:05 AM8/22/17
to Google Mobile Ads SDK Developers
Sorry, I don't have time to investigate this issue, I just switched back to 'BANNER' size.
The only thing on which I can answer: 
  • Can you see the behavior only for Smart Banners, and not for regular Banner Ads? - Yes

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Aug 22, 2017, 10:51:44 PM8/22/17
to Google Mobile Ads SDK Developers
Hi there,

Glad you were able to find a workaround. If you come across the issue again, then kindly provide us the necessary information for us to investigate. 

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Reply all
Reply to author
Forward
0 new messages