BlueRiverInteractive / robovm-ios-bindings

[Deprecated] New bindings: https://github.com/robovm/robovm-robopods. A collection of third party bindings for RoboVM iOS
Apache License 2.0
162 stars 101 forks source link

Mopub and inMobi #107

Open ASMCOM opened 9 years ago

ASMCOM commented 9 years ago

I'm using robovm to develop iOS game while using Java.

I'm trying to use Mopub's ios-robovm-bindings (https://github.com/BlueRiverInteractive/robovm-ios-bindings/tree/master/mopub) to integrate inmobi banner ads to my app but with no luck so far.

I keep getting this message:

Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] : MOPUB: Looking for custom event class named InMobiBannerCustomEvent. Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] : MOPUB: Requesting InMobi banner Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] : MOPUB: Failed to create an inMobi Banner with invalid size {7.1806318e-37, 5.9439283e-15}

I already made changes in Mopub's web UI by entering a CUSTOM EVENT CLASS and CUSTOM EVENT CLASS DATA with my inmobi "app_id".

Do I need to add size as well? if so, how?

I would greatly appreciate any help in working this problem.

BlueRiverInteractive commented 9 years ago

Have you tried with AdMob or Chartboost? I think the latest MoPub binding currently does not support AdMob or AppLovin.

ASMCOM commented 9 years ago

I tried almost everything. I think the bindings are not good.

BlueRiverInteractive commented 9 years ago

Hmm, can you try if you also have the same problems with interstitial ads? I can only tell you that for me AdMob and Chartboost interstitials work with this Mopub binding.

ASMCOM commented 9 years ago

I spent a great deal of time on this already. I decided to go with iAd for banners by using the iAd framework.

BlueRiverInteractive commented 9 years ago

Possibly related: #103

I'm pretty sure that banners are the problem.