MobiVM / robovm-robopods

55 stars 37 forks source link

Google Admob Banner on Bottom doesn't work #28

Closed mustii82 closed 6 years ago

mustii82 commented 7 years ago

I want to set my Banner to the Bottom of the Screen but it doesn't work.

I tried: adview.setFrame(new CGRect(100,100,100,100)); and adview.setCenter(100,100)

But the X and Y Position is always 0,0

nnkdev commented 7 years ago

Hi mustii82, Can you guide me how to use robopods to show admob banner? I follow this tutorial: https://github.com/libgdx/libgdx/wiki/Admob-in-libgdx#ios-setup-robovm it's ok but libadmob.a has not been updated. So I want to use Google Mobile Ads to update the latest ones.

mustii82 commented 7 years ago

I get it work with set centerX and setCenterY setX and setY didnt work for me I think its a binding problem.

nnkdev commented 7 years ago

Fortunately, it worked.

You use SmartBannerPortrait() , then you can set position banner Top or Bottom.

nnkdev commented 7 years ago

Hi mustii82, Can you use Game Center in your game? I don't see it update here.

mustii82 commented 7 years ago

I didnt try it but im sure it is problematic. Since Robovms closing its very difficult to get iOS bindings work. We even haven't a working iOS In app purchase sample.

Tom-Ski commented 7 years ago

If you provide a self contained test that demonstrates your issue we can look into it, unfortunately without that you are not likely to receive any assistance.

obigu commented 6 years ago

I use AdMob banner at the bottom as well as Game Center with no issues. Have you sorted your problem, what is the issue exactly?

mustii82 commented 6 years ago

After the new mobivm pods update it worked