robovm-ios-bindings icon indicating copy to clipboard operation
robovm-ios-bindings copied to clipboard

Mopub and inMobi

Open ASMCOM opened this issue 10 years ago • 5 comments

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] <Warning>: MOPUB: Looking for custom event class named InMobiBannerCustomEvent. Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] <Warning>: MOPUB: Requesting InMobi banner Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] <Warning>: 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.

ASMCOM avatar Oct 11 '14 17:10 ASMCOM

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

BlueRiverInteractive avatar Oct 13 '14 17:10 BlueRiverInteractive

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

ASMCOM avatar Oct 13 '14 17:10 ASMCOM

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.

BlueRiverInteractive avatar Oct 13 '14 17:10 BlueRiverInteractive

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

ASMCOM avatar Oct 13 '14 17:10 ASMCOM

Possibly related: #103

I'm pretty sure that banners are the problem.

BlueRiverInteractive avatar Oct 13 '14 17:10 BlueRiverInteractive