Вопрос

I've made a game, and now I'm looking into monetizing it. Using libGDX, I've exported it to Android and iOS, but I'm not sure of any way to put ads into it, Abmob for example, especially onto the iOS platform. Has anyone been in this position but was able to put ads in? If so, how exactly?

Any help would be greatly appreciated.

Это было полезно?

Решение

For how to implement platform specific code (iOS and android ads run differently) read this: https://github.com/libgdx/libgdx/wiki/Interfacing-with-platform-specific-code

On how to implement admob on android read this: https://github.com/libgdx/libgdx/wiki/Admob-in-libgdx

admob or mopub ads on libgdx roboVM backend (iOS backend) use these: https://github.com/BlueRiverInteractive/robovm-ios-bindings

Thats all you need to know. And yes a lot of people have been in your position and managed to implement ads on both mobile platforms. Including myself.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top