marcojak / MTAdmob

Admob plugin for Xamarin Android and iOS
https://www.xamarinexpert.it/admob-made-easy/
160 stars 26 forks source link

Advert triggers fine on IOS and Android version 9 but on 10 i get an error and then crashes with "Uncaught TypeError: Cannot read property 'style' of null" #55

Closed TechGuyGeek closed 3 years ago

TechGuyGeek commented 3 years ago

Describe the bug Advert triggers fine on IOS and Android version 9 but on 10 i get an error and then crashes with "Uncaught TypeError: Cannot read property 'style' of null"

if I remove the advert then the app runs OK

Full Error Logs [AudioManager] Use of stream types is deprecated for operations other than volume control [AudioManager] See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case [Ads] HTTP timeout: 60000 milliseconds. [libprocessgroup] set_timerslack_ns write failed: Operation not permitted [libprocessgroup] set_timerslack_ns write failed: Operation not permitted [Ads] JS: Uncaught TypeError: Cannot read property 'style' of null (https://imasdk.googleapis.com/admob/sdkloader/production/video_en.js:96) [chromium] [INFO:CONSOLE(96)] "Uncaught TypeError: Cannot read property 'style' of null", source: https://imasdk.googleapis.com/admob/sdkloader/production/video_en.js (96) [EGL_emulation] eglQueryContext 32c0 EGL_BAD_ATTRIBUTE [EGL_emulation] tid 10726: eglQueryContext(1902): error 0x3004 (EGL_BAD_ATTRIBUTE) [cr_MediaCodecBridge] create MediaCodec video decoder, mime video/avc [OMXClient] IOmx service obtained [MediaCodec] MediaCodec will operate in async mode [SurfaceUtils] connecting to surface 0xa58e5008, reason connectToSurface [MediaCodec] [OMX.google.h264.decoder] setting surface generation to 10874882 [SurfaceUtils] disconnecting from surface 0xa58e5008, reason connectToSurface(reconnect) [SurfaceUtils] connecting to surface 0xa58e5008, reason connectToSurface(reconnect) [ACodec] [OMX.google.h264.decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010 [EGL_emulation] eglMakeCurrent: 0xe321ab40: ver 2 0 (tinfo 0xe320fd20) [eglCodecCommon] glUtilsParamSize: unknow param 0x00008b49 [eglCodecCommon] glUtilsParamSize: unknow param 0x00008b49 [eglCodecCommon] glUtilsParamSize: unknow param 0x00008b4b [eglCodecCommon] glUtilsParamSize: unknow param 0x00008b4b [eglCodecCommon] glUtilsParamSize: unknow param 0x00008b4a [eglCodecCommon] glUtilsParamSize: unknow param 0x00008b4a [eglCodecCommon] setVertexArrayObject: set vao to 1 (1) 5 0 [libc] Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 10668 (RenderThread), pid 10620

To Reproduce Steps to reproduce the behavior:

Publish the app with video interstitial to Google Play To see that ads are not appearing

Expected behavior Video interstitial is working

Smartphone (please complete the following information): Using 1.6.1 OS: Android 10

TechGuyGeek commented 3 years ago

Think i might have panicked a bit to quick on this one as i have now found android version 10 that does work, so will do some more testing