Googleads-mobile-unity: MobileAds.Initialize does not trigger callback in editor

Created on 13 Jan 2020  路  5Comments  路  Source: googleads/googleads-mobile-unity

It just log Dummy Initialize and not triggering callback in editor environment

Using googleads-mobile-unity 4.2.0 and 4.2.1

feature request

Most helpful comment

@stowy While it's true we hadn't considered doing that in the past, I think this is a valid FR. Ads currently don't load in the editor, but app code may depend on those callbacks and it breaks ability to test app code in the editor.

All 5 comments

Hi @Thaina - this is working as expected, we do not emulate SDK behavior in the editor, you need to run on an Android or iOS device.

@stowy While it's true we hadn't considered doing that in the past, I think this is a valid FR. Ads currently don't load in the editor, but app code may depend on those callbacks and it breaks ability to test app code in the editor.

@ericleich Thanks for your supportive argument. That's exactly why I have open this issue. I have calling Initialize function in the initial state of my app, and then the SDK just interrupt the initialization of whole app in the editor

@stowy I know that the SDK won't work in editor. But while you have dummying the initialization I hope that you would also dummy the callback too

Ok I'm happy to accept this as a feature request.

Note @Thaina that we do accept pull requests, so you're welcome to open one and we can work to get that submitted.

Was this page helpful?
0 / 5 - 0 ratings