-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdMob Api errror: type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>' #183
Comments
Which version of |
Hi! I'm using version googleapis 1.0.0. |
Sadly, we're limited to what we get from the discovery document We need to file an issue with the AdMob team. |
Thanks! Hope it will be resolved quickly |
Remember, you could always fork this repo and hack at this function. If you're adventurous, you don't have to wait! |
@kevmoo I thought of that. I debugged somehow 'List<core.dynamic> cast to Map<core.String, core.dynamic>' is not work but if I try to cast without library core it's work. |
How to Fix ? |
If you makes you feel better, Object-C is having the same problem - google/google-api-objectivec-client-for-rest#447 |
Google internal issue: http://b/173703913 We're one of at least 3 APIs having the same issue. The short-term workaround is to copy the function that is erroring out and to fix the implementation. I don't currently have the ability to easily hack the output classes here, but I'll look into it. |
try { This is a method I use in my own responses, maybe it will work for you. |
@SercanKaya0 – yup. That'll work. at the moment, try NOT to do one-off hacks to the generated code. Because then I need to manage the output. It's complicated. |
Fixed in 22d7103 – shipped in the latest |
I fixed the error reporting, but not the actual issue. Reopening! |
Fix is now out in v7 |
I faced 'type 'List' is not a subtype of type 'Map<String, dynamic>' error when i try to call 'adMob.accounts.networkReport.generate()'
Please help! thanks.
Google-internal issue http://b/173703913
The text was updated successfully, but these errors were encountered: