AdRequest reset DayNight

215 views
Skip to first unread message

Emre Aydogdu

unread,
Jul 21, 2021, 6:43:58 AM7/21/21
to Google Mobile Ads SDK Developers
Im using the AdMob SDK in my application and after use

AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);


the DayNight mode switches do dark. My SystemUi is Dark and in my AppSettings the preference is Day-Mode. So if i start my App there is Day-Mode. In the MainFragment there are AdRequest and after i switch to an other Fragment the colors are broken and in Night-Mode. After close and resume the Application it turns again. to DayMode and everything is fixed, but not at first launch. And i don't have any WebView init. 

This is a bug since 2016 and haven't been fixed. I use 

implementation 'com.google.android.gms:play-services-ads:20.2.0'

please help.

Emre Aydogdu

unread,
Jul 21, 2021, 6:52:36 AM7/21/21
to Google Mobile Ads SDK Developers
Here is an sample video
Video.mp4

Mobile Ads SDK Forum Advisor

unread,
Jul 21, 2021, 11:53:17 AM7/21/21
to eaydg...@gmail.com, google-adm...@googlegroups.com
Hi Emre,

Thank you for bringing this concern to our attention. To be able to look further into this for you, can you share via the "Reply to author" button. A sample of your app which we can test. At the same time can also send us any steps that you have seen that show this, as well as any error logs or other items that might show what could be occurring.

I was also able to see the video and would definitely need to see a sample to see what could be causing this.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2JCTXm:ref

Mobile Ads SDK Forum Advisor

unread,
Jul 26, 2021, 12:57:38 AM7/26/21
to eaydg...@gmail.com, google-adm...@googlegroups.com
Hi Emre,

I work along with William. It seems that you didn't receive my colleague's last response, hence, resending it here again.

Thank you for sending us the GitHub link. I was able to download it and test it on our end. I can see that when changing the dark/light mode that this can have different effects depending on if an ad is included. While this would look to be caused by the ad, I think that the ad is actually preventing you from seeing the error. Which appears to be with the Fragment and that when it is being called, especially after first call and then closed. What I am seeing actually makes sense.

So what am I seeing? First off you need to remove the refreshFragment() from the onCreate, because this shows the fragmentA at start up. Second, the if you change to dark mode and close the app. And then come back to the app and click on the 2nd fragment, you will see a white square. Which you would expect as you have the fragment setup with background color white. When it needs to be the dark, but you only change it to dark when you have clicked the dark mode button. So after the close it resets it back to the white.

I would looks to consolidating the changePreference and the fragment switching into a single function call, or some way for the fragment to know that the UI changed and to adjust to it.. To me that is what is causing the problem. I have played around with it and can semi resolve it with that.


Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2JCTXm:ref

Emre Aydogdu

unread,
Jul 27, 2021, 9:23:04 AM7/27/21
to Google Mobile Ads SDK Developers
Hey Teejay, 
thank you for your reply. But firstly it make no sense what you say. 
 
1. First off you need to remove the refreshFragment() from the onCreate, because this shows the fragmentA at start up. 
A: refreshFragment() in onCreate() is unnecessary for this issue. It is only there to show a fragment at start. This can be removed but the issue is still there. 

2. Second, the if you change to dark mode and close the app. And then come back to the app and click on the 2nd fragment, you will see a white square. Which you would expect as you have the fragment setup with background color white. When it needs to be the dark, but you only change it to dark when you have clicked the dark mode button. So after the close it resets it back to the white.
A:  If you have device theme set as LighMode and your app has the preference as DarkMode, then if you switch to FragmentA then you will receive a White Background (Black expected) like you said. And if you have DarkMode on device and LightMode in the App then you will receive a Black Background (White expected)

3. I would looks to consolidating the changePreference and the fragment switching into a single function call, or some way for the fragment to know that the UI changed and to adjust to it.. To me that is what is causing the problem. I have played around with it and can semi resolve it with that.
A: My changePreference works fine. It only set the sharedPreferense to dark or light mode to set the Theme on ActivityStart. After that the hole app is in Dark or Light Mode. But if an ad is loading, this will crash the setting in some configurations. Its not only the theme. Also the language will be reset to device language after init an ad for the first time. 

Please find that issue

Mobile Ads SDK Forum Advisor

unread,
Jul 27, 2021, 3:48:17 PM7/27/21
to eaydg...@gmail.com, google-adm...@googlegroups.com
Hi Emre,

Thank you for the additional feedback. Looking back over this as well as testing against it again. While there are things that are behaving in odd ways. One, I never saw it crash. Two, there definitely I believe is something that is causing some odd behavior but with or without the ad I am still getting that behavior. From what I can see there is nothing that the ad is doing that should be causing any issues with your UI. nIf you have a stacktrace of a crash or what is happening during the testing that shows the ads doing it. Please send it to us to look at. But from our end we do not see anything that is coming from the ad.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2JCTXm:ref

Emre Aydogdu

unread,
Jul 28, 2021, 4:34:12 AM7/28/21
to Google Mobile Ads SDK Developers
The App will not crash but the behavior doesnt exist without an ad. If you see this behavior without an ad then provide a video please. 
This is the logcat from the start of the app and change fragment in dark mode and have an White Background (Black expected)

2021-07-28 10:28:03.571 7309-7309/? I/m.admobsdkissu: Not late-enabling -Xcheck:jni (already on)
2021-07-28 10:28:03.594 7309-7309/? I/m.admobsdkissu: Unquickening 12 vdex files!
2021-07-28 10:28:03.597 7309-7309/? W/m.admobsdkissu: Unexpected CPU variant for X86 using defaults: x86
2021-07-28 10:28:05.153 7309-7309/com.admobsdkissue D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-07-28 10:28:05.154 7309-7309/com.admobsdkissue D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2021-07-28 10:28:05.168 7309-7309/com.admobsdkissue I/MultiDex: VM with version 2.1.0 has multidex support
2021-07-28 10:28:05.168 7309-7309/com.admobsdkissue I/MultiDex: Installing application
2021-07-28 10:28:05.168 7309-7309/com.admobsdkissue I/MultiDex: VM has multidex support, MultiDex support library is disabled.
2021-07-28 10:28:05.217 7309-7309/com.admobsdkissue I/TetheringManager: registerTetheringEventCallback:com.admobsdkissue
2021-07-28 10:28:05.294 7309-7374/com.admobsdkissue D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so
2021-07-28 10:28:05.298 7309-7374/com.admobsdkissue D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
2021-07-28 10:28:05.302 7309-7374/com.admobsdkissue D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so
2021-07-28 10:28:05.644 7309-7309/com.admobsdkissue W/m.admobsdkissu: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2021-07-28 10:28:05.644 7309-7309/com.admobsdkissue W/m.admobsdkissu: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2021-07-28 10:28:05.913 7309-7370/com.admobsdkissue I/DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:210890500
2021-07-28 10:28:05.914 7309-7370/com.admobsdkissue I/DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 210890500
2021-07-28 10:28:05.914 7309-7370/com.admobsdkissue V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2021-07-28 10:28:05.945 7309-7309/com.admobsdkissue I/Ads: This request is sent from a test device.
2021-07-28 10:28:06.010 7309-7309/com.admobsdkissue I/WebViewFactory: Loading com.google.android.webview version 83.0.4103.106 (code 410410681)
2021-07-28 10:28:06.024 7309-7309/com.admobsdkissue I/m.admobsdkissu: The ClassLoaderContext is a special shared library.
2021-07-28 10:28:06.025 7309-7309/com.admobsdkissue D/nativeloader: classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/x86:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86:/product/lib:/system/product/lib
2021-07-28 10:28:06.070 7309-7401/com.admobsdkissue W/DynamiteModule: Local module descriptor class for com.google.android.gms.measurement.dynamite not found.
2021-07-28 10:28:06.075 7309-7401/com.admobsdkissue I/DynamiteModule: Considering local module com.google.android.gms.measurement.dynamite:0 and remote module com.google.android.gms.measurement.dynamite:51
2021-07-28 10:28:06.075 7309-7401/com.admobsdkissue I/DynamiteModule: Selected remote version of com.google.android.gms.measurement.dynamite, version >= 51
2021-07-28 10:28:06.075 7309-7401/com.admobsdkissue V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2021-07-28 10:28:06.089 7309-7309/com.admobsdkissue I/m.admobsdkissu: The ClassLoaderContext is a special shared library.
2021-07-28 10:28:06.091 7309-7309/com.admobsdkissue D/nativeloader: classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/x86:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86:/product/lib:/system/product/lib
2021-07-28 10:28:06.146 7309-7309/com.admobsdkissue I/cr_LibraryLoader: Loaded native library version number "83.0.4103.106"
2021-07-28 10:28:06.147 7309-7309/com.admobsdkissue I/cr_CachingUmaRecorder: Flushed 3 samples from 3 histograms.
2021-07-28 10:28:06.210 7309-7421/com.admobsdkissue I/DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:210890500
2021-07-28 10:28:06.210 7309-7421/com.admobsdkissue I/DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 210890500
2021-07-28 10:28:06.210 7309-7421/com.admobsdkissue V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2021-07-28 10:28:06.262 7309-7309/com.admobsdkissue I/DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:210890500
2021-07-28 10:28:06.262 7309-7309/com.admobsdkissue I/DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 210890500
2021-07-28 10:28:06.262 7309-7309/com.admobsdkissue V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2021-07-28 10:28:06.262 7309-7421/com.admobsdkissue W/Parcel: **** enforceInterface() expected 'com.google.android.gms.ads.clearcut.IClearcut' but read 'com.google.android.gms.gass.internal.clearcut.IClearcut'
2021-07-28 10:28:06.263 7309-7421/com.admobsdkissue D/GASS: Cannot dynamite load clearcut
2021-07-28 10:28:06.285 7309-7401/com.admobsdkissue W/DynamiteModule: Local module descriptor class for com.google.android.gms.measurement.dynamite not found.
2021-07-28 10:28:06.422 7309-7406/com.admobsdkissue D/zzfy: File /data/user/0/com.admobsdkissue/cache/1616432909849.dex not found. No need for deletion
2021-07-28 10:28:06.512 7309-7372/com.admobsdkissue D/HostConnection: HostConnection::get() New Host Connection established 0xec7e2210, tid 7372
2021-07-28 10:28:06.517 7309-7372/com.admobsdkissue D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0 
2021-07-28 10:28:06.563 7309-7372/com.admobsdkissue W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2021-07-28 10:28:06.566 7309-7372/com.admobsdkissue D/EGL_emulation: eglCreateContext: 0xec7e49e0: maj 3 min 0 rcv 3
2021-07-28 10:28:06.674 7309-7372/com.admobsdkissue D/EGL_emulation: eglMakeCurrent: 0xec7e49e0: ver 3 0 (tinfo 0xbca9f330) (first time)
2021-07-28 10:28:06.686 7309-7467/com.admobsdkissue W/m.admobsdkissu: Verification of void lf.<init>(io) took 109.512ms (292.20 bytecodes/s) (1240B approximate peak alloc)
2021-07-28 10:28:06.772 7309-7372/com.admobsdkissue I/Gralloc4: mapper 4.x is not supported
2021-07-28 10:28:06.781 7309-7372/com.admobsdkissue D/HostConnection: createUnique: call
2021-07-28 10:28:06.809 7309-7372/com.admobsdkissue D/HostConnection: HostConnection::get() New Host Connection established 0xec7e4510, tid 7372
2021-07-28 10:28:06.809 7309-7372/com.admobsdkissue D/goldfish-address-space: allocate: Ask for block of size 0x100
2021-07-28 10:28:06.809 7309-7372/com.admobsdkissue D/goldfish-address-space: allocate: ioctl allocate returned offset 0x3fd5fe000 size 0x2000
2021-07-28 10:28:06.809 7309-7467/com.admobsdkissue I/FA-Ads: App measurement disabled by setAnalyticsCollectionEnabled(false)
2021-07-28 10:28:06.814 7309-7372/com.admobsdkissue D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0 
2021-07-28 10:28:07.100 7309-7467/com.admobsdkissue I/FA-Ads: App measurement initialized, version: 42020
2021-07-28 10:28:07.100 7309-7467/com.admobsdkissue I/FA-Ads: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
2021-07-28 10:28:07.167 7309-7372/com.admobsdkissue I/OpenGLRenderer: Davey! duration=793ms; Flags=1, IntendedVsync=502344972247, Vsync=502344972247, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=502350444029, AnimationStart=502350447678, PerformTraversalsStart=502350450127, DrawStart=502788980019, SyncQueued=502817244401, SyncStart=502818826961, IssueDrawCommandsStart=502818862682, SwapBuffers=503116846897, FrameCompleted=503140063777, DequeueBufferDuration=941851, QueueBufferDuration=1051104, GpuCompleted=0, 
2021-07-28 10:28:07.245 7309-7309/com.admobsdkissue I/Choreographer: Skipped 51 frames!  The application may be doing too much work on its main thread.
2021-07-28 10:28:07.261 7309-7372/com.admobsdkissue I/OpenGLRenderer: Davey! duration=871ms; Flags=0, IntendedVsync=502361654359, Vsync=503211654325, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=503218662445, AnimationStart=503218664804, PerformTraversalsStart=503219584517, DrawStart=503222418847, SyncQueued=503223113741, SyncStart=503223926152, IssueDrawCommandsStart=503224074157, SwapBuffers=503226186684, FrameCompleted=503234333568, DequeueBufferDuration=252940, QueueBufferDuration=732966, GpuCompleted=0, 
2021-07-28 10:28:07.433 7309-7407/com.admobsdkissue W/m.admobsdkissu: Verification of void com.google.android.gms.internal.ads.zzei.zza(byte[], byte[]) took 129.263ms (19332.53 bytecodes/s) (13880B approximate peak alloc)
2021-07-28 10:28:07.702 7309-7467/com.admobsdkissue W/FA-Ads: Analytics storage consent denied; will not get app instance id
2021-07-28 10:28:08.597 7309-7591/com.admobsdkissue W/m.admobsdkissu: Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
2021-07-28 10:28:08.600 7309-7591/com.admobsdkissue W/cr_media: Requires BLUETOOTH permission
2021-07-28 10:28:08.603 7309-7604/com.admobsdkissue D/HostConnection: HostConnection::get() New Host Connection established 0xec7e3710, tid 7604
2021-07-28 10:28:08.613 7309-7604/com.admobsdkissue D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0 
2021-07-28 10:28:08.617 7309-7604/com.admobsdkissue D/EGL_emulation: eglCreateContext: 0xec7e5460: maj 3 min 0 rcv 3
2021-07-28 10:28:08.617 7309-7604/com.admobsdkissue D/EGL_emulation: eglMakeCurrent: 0xec7e5460: ver 3 0 (tinfo 0xecb29170) (first time)
2021-07-28 10:28:08.812 7309-7604/com.admobsdkissue I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
2021-07-28 10:28:08.815 7309-7604/com.admobsdkissue W/cr_MediaCodecUtil: HW encoder for video/avc is not available on this device.
2021-07-28 10:28:08.818 7309-7604/com.admobsdkissue D/EGL_emulation: eglCreateContext: 0xec7ec000: maj 3 min 0 rcv 3
2021-07-28 10:28:09.050 7309-7345/com.admobsdkissue I/m.admobsdkissu: Background concurrent copying GC freed 54026(4312KB) AllocSpace objects, 37(1924KB) LOS objects, 49% free, 4386KB/8772KB, paused 30us total 290.760ms
2021-07-28 10:28:09.320 7309-7309/com.admobsdkissue W/Ads: JS: A parser-blocking, cross site (i.e. different eTLD+1) script, https://pagead2.googlesyndication.com/pagead/js/r20210722/r20110914/abg_lite_fy2019.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details. (https://googleads.g.doubleclick.net/mads/gma?caps=inlineVideo_interactiveVideo_mraid1_mraid2_mraid3_sdkVideo_exo3_th_autoplay_mediation_scroll_av_av_transparentBackground_sdkAdmobApiForAds_di_aso_sfv_dinm_dim_nav_navc_dinmo_ipdof_gls_xSeconds&eid=318486317%2C318491267%2C318481907%2C318482448%2C318483611%2C318484497%2C318486978%2C318492496%2C318497819%2C318475417%2C318489659%2C318495357%2C318495359%2C318494842&format=320x50_mb&heap_free=4764456&heap_max=201326592&heap_total=11050296&js=afma-sdk-a-v211512000.211512000.0&msid=com.admobsdkissue&preqs=0&seq_num=1&target_api=30:1)
2021-07-28 10:28:09.320 7309-7309/com.admobsdkissue I/chromium: [INFO:CONSOLE(1)] "A parser-blocking, cross site (i.e. different eTLD+1) script, https://pagead2.googlesyndication.com/pagead/js/r20210722/r20110914/abg_lite_fy2019.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://googleads.g.doubleclick.net/mads/gma?caps=inlineVideo_interactiveVideo_mraid1_mraid2_mraid3_sdkVideo_exo3_th_autoplay_mediation_scroll_av_av_transparentBackground_sdkAdmobApiForAds_di_aso_sfv_dinm_dim_nav_navc_dinmo_ipdof_gls_xSeconds&eid=318486317%2C318491267%2C318481907%2C318482448%2C318483611%2C318484497%2C318486978%2C318492496%2C318497819%2C318475417%2C318489659%2C318495357%2C318495359%2C318494842&format=320x50_mb&heap_free=4764456&heap_max=201326592&heap_total=11050296&js=afma-sdk-a-v211512000.211512000.0&msid=com.admobsdkissue&preqs=0&seq_num=1&target_api=30 (1)
2021-07-28 10:28:09.321 7309-7309/com.admobsdkissue W/Ads: JS: A parser-blocking, cross site (i.e. different eTLD+1) script, https://pagead2.googlesyndication.com/pagead/js/r20210722/r20110914/abg_lite_fy2019.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details. (https://googleads.g.doubleclick.net/mads/gma?caps=inlineVideo_interactiveVideo_mraid1_mraid2_mraid3_sdkVideo_exo3_th_autoplay_mediation_scroll_av_av_transparentBackground_sdkAdmobApiForAds_di_aso_sfv_dinm_dim_nav_navc_dinmo_ipdof_gls_xSeconds&eid=318486317%2C318491267%2C318481907%2C318482448%2C318483611%2C318484497%2C318486978%2C318492496%2C318497819%2C318475417%2C318489659%2C318495357%2C318495359%2C318494842&format=320x50_mb&heap_free=4764456&heap_max=201326592&heap_total=11050296&js=afma-sdk-a-v211512000.211512000.0&msid=com.admobsdkissue&preqs=0&seq_num=1&target_api=30:1)
2021-07-28 10:28:09.321 7309-7309/com.admobsdkissue I/chromium: [INFO:CONSOLE(1)] "A parser-blocking, cross site (i.e. different eTLD+1) script, https://pagead2.googlesyndication.com/pagead/js/r20210722/r20110914/abg_lite_fy2019.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://googleads.g.doubleclick.net/mads/gma?caps=inlineVideo_interactiveVideo_mraid1_mraid2_mraid3_sdkVideo_exo3_th_autoplay_mediation_scroll_av_av_transparentBackground_sdkAdmobApiForAds_di_aso_sfv_dinm_dim_nav_navc_dinmo_ipdof_gls_xSeconds&eid=318486317%2C318491267%2C318481907%2C318482448%2C318483611%2C318484497%2C318486978%2C318492496%2C318497819%2C318475417%2C318489659%2C318495357%2C318495359%2C318494842&format=320x50_mb&heap_free=4764456&heap_max=201326592&heap_total=11050296&js=afma-sdk-a-v211512000.211512000.0&msid=com.admobsdkissue&preqs=0&seq_num=1&target_api=30 (1)
2021-07-28 10:28:14.780 7309-7309/com.admobsdkissue D/CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10151; state: ENABLED


Mobile Ads SDK Forum Advisor

unread,
Jul 28, 2021, 9:22:05 AM7/28/21
to eaydg...@gmail.com, google-adm...@googlegroups.com
Hi Emre,

Thank you for the additional information. Allow me to bring this to my team to look more into and see if they have any thoughts on what could be causing this issue. Once we have feedback, we will be certain to pass it along to you.

Mobile Ads SDK Forum Advisor

unread,
Jul 29, 2021, 11:51:16 AM7/29/21
to eaydg...@gmail.com, google-adm...@googlegroups.com
Hi Emre,

This appears to be an issue with WebView, which the Mobile Ads SDK uses. https://issuetracker.google.com/issues/37124582?pli=1#comment3 documents a workaround that today still appears to be the best solution. Please try this out and let us know how this goes.

Thanks,
Eric, Mobile Ads SDK Team

 

ref:_00D1U1174p._5004Q2JCTXm:ref

Emre Aydogdu

unread,
Jul 29, 2021, 12:44:15 PM7/29/21
to Google Mobile Ads SDK Developers
Yes this worked for me. But i need to test it in other situations too. Thanks

Mobile Ads SDK Forum Advisor

unread,
Aug 2, 2021, 10:30:10 AM8/2/21
to eaydg...@gmail.com, google-adm...@googlegroups.com

Hi Emre,

Thanks for confirming that the workaround works.

I'm not sure what you mean by "I need to test it in other situations too". Is there a use case for which this workaround doesn't work, and if so, can you provide more details about that use case?

Reply all
Reply to author
Forward
0 new messages