AdMob Google Play Services API HotFix For Delphi XE6 Firemonkey

Delphi XE6 Firemonkey AdMob Google Play HotfixEmbarcadero has released a hotfix for Delphi XE6 Firemonkey with an updated version of the TBannerAd component that supports the new Google Play Services AdMob component. Apps built using the old AdMob API will no longer be accepted into the Google Play store which is the reason for this change. Marco Cantu has a blog post up about the hotfix and you can read that here. If you are already using TBannerAd you will need to update the Android manifest for your app to include the required Google Play Services. A new sample Android manifest is included in the download so you can either use it or copy the required lines over to your existing Android manifest. You can check out the full documentation for the new AdMob API over one Google’s Mobile Ads SDK site. It explains in more detail about the Android manifest requirements.

Head over and download the Google Play Services AdMob API update from Embarcadero.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

One Response to AdMob Google Play Services API HotFix For Delphi XE6 Firemonkey

  1. Although i appreciate Embarcadero posting an update for that in a semi-timely manner, the QC on it was again poor. If you are using TBannerAdSize.Medium it will not work. After loosing two hour, I looked as the code in FMX.Advertising.Android.

    the line 539 says:
    LAdSize := TJAdSize.JavaClass.MEDIUM_RECTANGLE;
    it should be
    LAdSize := TJAdSize.JavaClass.FULL_BANNER;

    MEDIUM_RECTANGLE is 300×250 per

    There was 4 cases to test, please get some testing done before releasing!

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Peer To Peer File Transfer Component For Delphi XE6 Firemonkey On IOS

TMS Software has updated their TMS iCL component pack with a new component called TTMSFMXNativeMultipeerConnectivity for Delphi XE6 Firemonkey. The...