react-native-admob-native-ads icon indicating copy to clipboard operation
react-native-admob-native-ads copied to clipboard

Invalid template ID: -1 affecting 40% of android user base

Open renatomserra opened this issue 2 years ago • 5 comments

I keep getting the following error in Android for about 40% of my users for a year. I believe it started when i moved to preloading model. Id really like to fix this :)

{"code":0,"domain":"com.google.android.gms.ads","message":"Invalid template ID: -1"}

Any help will be greatly appreciated

renatomserra avatar Oct 18 '23 07:10 renatomserra

seems its the initialization, its odd that it doesnt get caught by the catch statement

2 types of errors:

  • Failed to Create adapter
  • Failed to initialize adapter. com.google.ads.mediation.admob.AdMobAdapter does not implement the initialize() method.

@ammarahm-ed any idea? 🙏

renatomserra avatar Oct 19 '23 06:10 renatomserra

Facing same on real device. Any Update?

RoyalBosS-Ayush avatar Nov 08 '23 13:11 RoyalBosS-Ayush

didnt manage to fix it, think this repo is no longer maintained unfortunetly

renatomserra avatar Nov 23 '23 16:11 renatomserra

Kindly provide an example to reproduce the issue.

ammarahm-ed avatar Dec 06 '23 03:12 ammarahm-ed

i cant reproduce this on a simulator, only happens to some users, but seems most apps using this in prod have this issue, seems to have started with the introduction of preloading.

renatomserra avatar Jan 13 '24 22:01 renatomserra