question

charleszc avatar image
charleszc asked

Issue with upgrading to 5.4.225

After I upgraded mobile ads sdk from 5.4.46 to 5.4.225, sometimes I get blank Ad view although the AdListener receives onAdLoaded callback. The following logs show up whenever it happens, it seems that there is JavaScript error for some ads causing it to not render properly: 02-21 20:56:47.383: I/chromium(2866): [INFO:CONSOLE(133)] "Uncaught TypeError: undefined is not a function", source: http://amazon-adsystem.amazon.com/ (133) 02-21 20:56:47.394: I/chromium(2866): [INFO:CONSOLE(115)] "Uncaught TypeError: undefined is not a function", source: http://amazon-adsystem.amazon.com/ (115) I tried to downgrade to 5.4.46 then the problem went away. Any ideas? Can I download other versions, such as 5.4.227, 5.4.192 etc., somewhere?
mobile ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

charleszc avatar image
charleszc answered
Added following to proguard rule, now it is working. -keepattributes *Annotation*
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.