diff --git a/AIR/AIR.iml b/AIR/AIR.iml index f95d993..3972b8e 100644 --- a/AIR/AIR.iml +++ b/AIR/AIR.iml @@ -2,7 +2,7 @@ - + diff --git a/AIR/Main-app.xml b/AIR/Main-app.xml index 7467add..64394a4 100644 --- a/AIR/Main-app.xml +++ b/AIR/Main-app.xml @@ -1,7 +1,7 @@ com.doitflash.admob - 4.0.3 + 4.0.4 mobileDevice exAdmob AdMob @@ -89,26 +89,12 @@ standard - icons/icon_16.png - icons/icon_29.png - icons/icon_32.png icons/icon_36.png - icons/icon_40.png icons/icon_48.png - icons/icon_50.png - icons/icon_57.png - icons/icon_58.png - icons/icon_60.png icons/icon_72.png - icons/icon_76.png - icons/icon_80.png icons/icon_96.png - icons/icon_100.png - icons/icon_114.png - icons/icon_120.png - icons/icon_128.png icons/icon_144.png - icons/icon_152.png + icons/icon_192.png icons/icon_512.png icons/icon_1024.png diff --git a/AIR/icons/Default-375w-667h@2x~iphone.png b/AIR/icons/Default-375w-667h@2x~iphone.png deleted file mode 100644 index ebf4f8b..0000000 Binary files a/AIR/icons/Default-375w-667h@2x~iphone.png and /dev/null differ diff --git a/AIR/icons/Default-414w-736h@3x~iphone.png b/AIR/icons/Default-414w-736h@3x~iphone.png deleted file mode 100644 index 22dfc71..0000000 Binary files a/AIR/icons/Default-414w-736h@3x~iphone.png and /dev/null differ diff --git a/AIR/icons/Default-568h@2x~iphone.png b/AIR/icons/Default-568h@2x~iphone.png deleted file mode 100644 index 9d93226..0000000 Binary files a/AIR/icons/Default-568h@2x~iphone.png and /dev/null differ diff --git a/AIR/icons/Default-Landscape-414w-736h@3x~iphone.png b/AIR/icons/Default-Landscape-414w-736h@3x~iphone.png deleted file mode 100644 index df9de78..0000000 Binary files a/AIR/icons/Default-Landscape-414w-736h@3x~iphone.png and /dev/null differ diff --git a/AIR/icons/Default-LandscapeLeft@2x~ipad.png b/AIR/icons/Default-LandscapeLeft@2x~ipad.png deleted file mode 100644 index 62700c1..0000000 Binary files a/AIR/icons/Default-LandscapeLeft@2x~ipad.png and /dev/null differ diff --git a/AIR/icons/Default-LandscapeRight@2x~ipad.png b/AIR/icons/Default-LandscapeRight@2x~ipad.png deleted file mode 100644 index 62700c1..0000000 Binary files a/AIR/icons/Default-LandscapeRight@2x~ipad.png and /dev/null differ diff --git a/AIR/icons/Default-LandscapeRight~ipad.png b/AIR/icons/Default-LandscapeRight~ipad.png deleted file mode 100644 index 0bc8c86..0000000 Binary files a/AIR/icons/Default-LandscapeRight~ipad.png and /dev/null differ diff --git a/AIR/icons/Default-Landscapet@2x~ipad.png b/AIR/icons/Default-Landscapet@2x~ipad.png deleted file mode 100644 index 529ad5a..0000000 Binary files a/AIR/icons/Default-Landscapet@2x~ipad.png and /dev/null differ diff --git a/AIR/icons/Default-Landscape~ipad.png b/AIR/icons/Default-Landscape~ipad.png deleted file mode 100644 index c1878cb..0000000 Binary files a/AIR/icons/Default-Landscape~ipad.png and /dev/null differ diff --git a/AIR/icons/Default-Portrait@2x~ipad.png b/AIR/icons/Default-Portrait@2x~ipad.png deleted file mode 100644 index 81728f5..0000000 Binary files a/AIR/icons/Default-Portrait@2x~ipad.png and /dev/null differ diff --git a/AIR/icons/Default-PortraitUpsideDown@2x~ipad.png b/AIR/icons/Default-PortraitUpsideDown@2x~ipad.png deleted file mode 100644 index ee6a071..0000000 Binary files a/AIR/icons/Default-PortraitUpsideDown@2x~ipad.png and /dev/null differ diff --git a/AIR/icons/Default-PortraitUpsideDown~ipad.png b/AIR/icons/Default-PortraitUpsideDown~ipad.png deleted file mode 100644 index 468bb61..0000000 Binary files a/AIR/icons/Default-PortraitUpsideDown~ipad.png and /dev/null differ diff --git a/AIR/icons/Default-Portrait~ipad.png b/AIR/icons/Default-Portrait~ipad.png deleted file mode 100644 index 468bb61..0000000 Binary files a/AIR/icons/Default-Portrait~ipad.png and /dev/null differ diff --git a/AIR/icons/Default@2x~iphone.png b/AIR/icons/Default@2x~iphone.png deleted file mode 100644 index 8111bb0..0000000 Binary files a/AIR/icons/Default@2x~iphone.png and /dev/null differ diff --git a/AIR/icons/Default~iphone.png b/AIR/icons/Default~iphone.png deleted file mode 100644 index 8111bb0..0000000 Binary files a/AIR/icons/Default~iphone.png and /dev/null differ diff --git a/AIR/icons/icons/icon_100.png b/AIR/icons/icons/icon_100.png deleted file mode 100755 index 15d2619..0000000 Binary files a/AIR/icons/icons/icon_100.png and /dev/null differ diff --git a/AIR/icons/icons/icon_114.png b/AIR/icons/icons/icon_114.png deleted file mode 100755 index c065af8..0000000 Binary files a/AIR/icons/icons/icon_114.png and /dev/null differ diff --git a/AIR/icons/icons/icon_120.png b/AIR/icons/icons/icon_120.png deleted file mode 100755 index 2eb5cb1..0000000 Binary files a/AIR/icons/icons/icon_120.png and /dev/null differ diff --git a/AIR/icons/icons/icon_128.png b/AIR/icons/icons/icon_128.png deleted file mode 100755 index 9674f94..0000000 Binary files a/AIR/icons/icons/icon_128.png and /dev/null differ diff --git a/AIR/icons/icons/icon_152.png b/AIR/icons/icons/icon_152.png deleted file mode 100755 index e7e2d58..0000000 Binary files a/AIR/icons/icons/icon_152.png and /dev/null differ diff --git a/AIR/icons/icons/icon_16.png b/AIR/icons/icons/icon_16.png deleted file mode 100755 index 24a02f9..0000000 Binary files a/AIR/icons/icons/icon_16.png and /dev/null differ diff --git a/AIR/icons/icons/icon_29.png b/AIR/icons/icons/icon_29.png deleted file mode 100755 index 56af604..0000000 Binary files a/AIR/icons/icons/icon_29.png and /dev/null differ diff --git a/AIR/icons/icons/icon_32.png b/AIR/icons/icons/icon_32.png deleted file mode 100755 index 0ffbb69..0000000 Binary files a/AIR/icons/icons/icon_32.png and /dev/null differ diff --git a/AIR/icons/icons/icon_40.png b/AIR/icons/icons/icon_40.png deleted file mode 100755 index 8d59a46..0000000 Binary files a/AIR/icons/icons/icon_40.png and /dev/null differ diff --git a/AIR/icons/icons/icon_50.png b/AIR/icons/icons/icon_50.png deleted file mode 100755 index f8a9e5d..0000000 Binary files a/AIR/icons/icons/icon_50.png and /dev/null differ diff --git a/AIR/icons/icons/icon_57.png b/AIR/icons/icons/icon_57.png deleted file mode 100755 index 141887c..0000000 Binary files a/AIR/icons/icons/icon_57.png and /dev/null differ diff --git a/AIR/icons/icons/icon_58.png b/AIR/icons/icons/icon_58.png deleted file mode 100755 index c8b52a2..0000000 Binary files a/AIR/icons/icons/icon_58.png and /dev/null differ diff --git a/AIR/icons/icons/icon_60.png b/AIR/icons/icons/icon_60.png deleted file mode 100755 index 269e13e..0000000 Binary files a/AIR/icons/icons/icon_60.png and /dev/null differ diff --git a/AIR/icons/icons/icon_76.png b/AIR/icons/icons/icon_76.png deleted file mode 100755 index e19212a..0000000 Binary files a/AIR/icons/icons/icon_76.png and /dev/null differ diff --git a/AIR/icons/icons/icon_80.png b/AIR/icons/icons/icon_80.png deleted file mode 100755 index 45eef3a..0000000 Binary files a/AIR/icons/icons/icon_80.png and /dev/null differ diff --git a/AIR/icons/sizeInfo.txt b/AIR/icons/sizeInfo.txt deleted file mode 100644 index 54c2a98..0000000 --- a/AIR/icons/sizeInfo.txt +++ /dev/null @@ -1,2 +0,0 @@ -http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html#WS901d38e593cd1bac58d08f9112e26606ea8-8000 -http://blogs.adobe.com/airodynamics/2015/03/09/launch-images-on-ios-with-adobe-air/ \ No newline at end of file diff --git a/AIR/lib/README.md b/AIR/lib/README.md new file mode 100644 index 0000000..d74cef5 --- /dev/null +++ b/AIR/lib/README.md @@ -0,0 +1,12 @@ +Copy the purchased [admob.ane](https://www.myflashlabs.com/product/firebase-admob-air-native-extension/) here along with the following dependency ANEs: + +1. androidSupport-arch.ane +1. androidSupport-core.ane +1. androidSupport-customtabs.ane +1. androidSupport-v4.ane +1. googlePlayServices_ads.ane +1. googlePlayServices_adsLite.ane +1. googlePlayServices_basement.ane +1. overrideAir.ane + +Download dependency ANEs from here: https://github.com/myflashlab/common-dependencies-ANE \ No newline at end of file diff --git a/AIR/lib/ReadMe.txt b/AIR/lib/ReadMe.txt deleted file mode 100644 index e6f643b..0000000 --- a/AIR/lib/ReadMe.txt +++ /dev/null @@ -1,4 +0,0 @@ -This ANE will not work unless you have added the other dependency ANEs -or .frameworks to your project also. Please read the setup information -and also check out the sample project on our repository to know what -are the requirements for this ANE to work as expected. \ No newline at end of file diff --git a/AIR/lib/admob.ane b/AIR/lib/admob.ane deleted file mode 100644 index 2ab6b68..0000000 Binary files a/AIR/lib/admob.ane and /dev/null differ diff --git a/ChangeLog.md b/ChangeLog.md index 7c3141c..9897967 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,8 @@ Admob Air Native Extension +*Dec 14, 2018 - V4.0.4* +* Fixed the issue when on some devices banner dimension was returned as 0x0. + *Nov 16, 2018 - V4.0.3* * Works with OverrideAir ANE V5.6.1 or higher * Works with ANELAB V1.1.26 or higher diff --git a/README.md b/README.md index fff8687..0f6b9dd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Admob ANE V4.0.3 for Android+iOS +# Admob ANE for Android+iOS Admob ANE supporting [DoubleClick](https://developers.google.com/ad-manager/mobile-ads-sdk/) and [Admob](https://developers.google.com/admob/) SDKs with 100% identical ActionScript API with a super easy interface so you can focus on your game logic while your app is earning more for you the smart way! **Main Features:** @@ -8,12 +8,9 @@ Admob ANE supporting [DoubleClick](https://developers.google.com/ad-manager/mobi * Optimized for [Firebase ANEs](https://github.com/myflashlab/Firebase-ANE/) * DoubleClick SDK support -# asdoc -[find the latest asdoc for this ANE here.](https://myflashlab.github.io/asdoc/com/myflashlab/air/extensions/admob/package-detail.html) +[find the latest **asdoc** for this ANE here.](https://myflashlab.github.io/asdoc/com/myflashlab/air/extensions/admob/package-detail.html) [How to get started? **read here**](https://github.com/myflashlab/Admob-ANE/wiki) -Demo ANE can be used for test reasons only. [Download the demo ANE from here](https://github.com/myflashlab/Admob-ANE/tree/master/AIR/lib). - # Test UnitIDs **For DoubleClick** @@ -341,129 +338,6 @@ https://www.myflashlabs.com/product/firebase-admob-air-native-extension/ [How to embed ANEs into **FlashBuilder**, **FlashCC** and **FlashDevelop**](https://www.youtube.com/watch?v=Oubsb_3F3ec&list=PL_mmSjScdnxnSDTMYb1iDX4LemhIJrt1O) [How to get started with Admob?](https://github.com/myflashlab/Admob-ANE/wiki) -# Changelog -*Nov 16, 2018 - V4.0.3* -* Works with OverrideAir ANE V5.6.1 or higher -* Works with ANELAB V1.1.26 or higher - -*Oct 11, 2018 - V4.0.0* -* Added support for the DoubleClick API. Notice that in your app you can use only one platform. it's either Admob or DoubleClick. You will not be able to use them both at the same time. -* To use DoubleClick API, simply pass null as the second parameter when initializing the ANE. All the other methods are just like before. -```actionscript -AdMob.init(stage, null); -``` - -*Sep 20, 2018 - V3.1.0* -* Updated iOS SDK to V7.31.0 and Android SDK to V15.0.1 -* SDK upgrades are synced with Firebase ANE V7.0.0 -* Min AIR SDK 30+ -* Deprecated ```userBirthday``` and ```gender``` properties on ```AdRequest``` class. -* Removed AndroidSupport dependency and added the following: -```xml -com.myflashlab.air.extensions.dependency.overrideAir -com.myflashlab.air.extensions.dependency.androidSupport.arch -com.myflashlab.air.extensions.dependency.androidSupport.core -com.myflashlab.air.extensions.dependency.androidSupport.customtabs -com.myflashlab.air.extensions.dependency.androidSupport.v4 -com.myflashlab.air.extensions.dependency.googlePlayServices.ads -com.myflashlab.air.extensions.dependency.googlePlayServices.ads.lite -com.myflashlab.air.extensions.dependency.googlePlayServices.basement -``` - -*Jun 14, 2018 - V3.0.0* -* Added support for rewardVideo through ```AdMob.api.rewardedVideo```. -* Changed packaging of classes. From now on, you only need to import ```com.myflashlab.air.extensions.admob.*;``` to access all Admob related APIs. -* removed ```BannerEvents```. Instead use ```AdMobEvents```. -* on iOS only: When Ad load fails with ```AD_FAILED``` event, you can see the error message using ```event.msg```. - -*May 21, 2018 - V2.7.0* -* Added support for NetworkExtras. This is especially useful for making your app [gdpr compliance](https://support.google.com/admob/answer/7666366) -* We can't give you legal advices but we updated the Admob ANE so you can make your app in alignment with the gdpr privacy. Based on your users consent, you must decide if Admob can show personalized Ads or non-personalized Ads. -```actionscript -/* - Requesting Consent from European Users - Based on users consent, you should set if your app should show - personalized ads or not. By default, Admob shows personalized Ads. - In case your user does not allow that, you should also make sure that - shown ads are not personalized. You can do this like below: - - adRequest.extras = {npa:1}; // npa stands for "Non-Personalized Ads" - - For more information, read here: - https://developers.google.com/admob/ios/eu-consent#forward_consent_to_the_google_mobile_ads_sdk - https://developers.google.com/admob/android/eu-consent#forward_consent_to_the_google_mobile_ads_sdk -*/ -``` - -*Apr 22, 2018 - V2.6.0* -* Updated iOS SDK to V7.29.0 and Android SDK to V12.0.1 -* make sure you are using the [latest version of the dependency files.](https://github.com/myflashlab/common-dependencies-ANE) -* Copy the frameworks from [Firebase V4.11.0 iOS SDK package](https://dl.google.com/firebase/sdk/ios/4_11_0/Firebase-4.11.0.zip) - - **GoogleMobileAds** - - **FirebaseAnalytics** - - **FirebaseCore** - - **FirebaseCoreDiagnostics** - - **FirebaseNanoPB** - - **FirebaseInstanceID** - - **GoogleToolboxForMac** - - **nanopb** - -*Dec 15, 2017 - V2.5.0* -* Updated iOS SDK to V7.25.0 and Android SDK to V11.6.0 -* Optimized to be used with the [ANE-LAB software](https://github.com/myflashlab/ANE-LAB/) -* replace ```GoogleMobileAds.framework``` with the one found with [Firebase V4.6.0 iOS SDK package](https://dl.google.com/firebase/sdk/ios/4_6_0/Firebase-4.6.0.zip) -* Besides the **GoogleMobileAds.framework**, you also need to copy the following frameworks to ```YOUR_AIR_SDK/lib/aot/stub/``` - - **FirebaseAnalytics** - - **FirebaseCore** - - **FirebaseCoreDiagnostics** - - **FirebaseNanoPB** - - **FirebaseInstanceID** - - **GoogleToolboxForMac** - - **nanopb** -* make sure you are using the [latest version of the dependency files.](https://github.com/myflashlab/common-dependencies-ANE) - -*Jul 19, 2017 - V2.2.0* -* Updated iOS Admob SDK to V7.21.0 and you need to add/update ```GoogleMobileAds.framework``` in your AIR SDK. Find it here: [Firebase SDK V4.0.3](https://dl.google.com/firebase/sdk/ios/4_0_3/Firebase-4.0.3.zip) -* When you downloaded the Firebase SDK package, also copy the following frameworks to your ```YOUR_AIR_SDK/lib/aot/stub/``` folder. - - **FirebaseAnalytics** - - **FirebaseCore** - - **FirebaseCoreDiagnostics** - - **FirebaseNanoPB** - - **FirebaseInstanceID** - - **GoogleToolboxForMac** - * Updated Android SDK to V11.0.2 and you need to make sure you are using the [latest version of the dependency files.](https://github.com/myflashlab/common-dependencies-ANE) - -*Mar 10, 2017 - V2.1.0* -* Updated iOS Admob SDK to V7.17.0 and you need to add/update ```GoogleMobileAds.framework``` in your AIR SDK. Find it here: [Firebase SDK V3.13.0](https://dl.google.com/firebase/sdk/ios/3_13_0/Firebase-3.13.0.zip) -* When you downloaded the Firebase SDK package, also copy the following frameworks to your ```YOUR_AIR_SDK/lib/aot/stub/``` folder. - - **FirebaseAnalytics** - - **FirebaseCore** - - **FirebaseInstanceID** - - **GoogleToolboxForMac** -* Updated Android SDK to V10.2.0 and you need to make sure you are using the [latest version of the dependency files.](https://github.com/myflashlab/common-dependencies-ANE) - - **androidSupport.ane** V24.2.1 - - **overrideAir.ane** V4.0.0 - - **googlePlayServices_adsLite.ane** V10.2.0 - - **googlePlayServices_basement.ane** V10.2.0 -* Even if you are building for iOS only, you still need to include the following ANE as the dependency ```overrideAir.ane V4.0.0``` - -*Nov 29, 2016 - V2.0.0* -* Min iOS version to support this ANE will be iOS 8.0+ from now on -* Updated iOS Admob SDK to V7.15.1 which is now a part of Firebase SDK V3.10.0 -* To Add ```GoogleMobileAds.framework``` to your AIR SDK, you need to [download Firebase SDK V10.0.0](https://dl.google.com/firebase/sdk/ios/3_10_0/Firebase-3.10.0.zip) extract it, then go to folder AdMob and copy GoogleMobileAds.framework to ```YOUR_AIR_SDK/lib/aot/stub/``` folder. -* Updated Android Admob SDK to Google Play Services dependencies V10.0.0 All you have to do is to [download the latest dependency files](https://github.com/myflashlab/common-dependencies-ANE) as follow: - - **androidSupport.ane** V24.2.1 - - **overrideAir.ane** V3.0.0 - - **googlePlayServices_adsLite.ane** V10.0.0 - - **googlePlayServices_basement.ane** V10.0.0 - -*Nov 11, 2016 - V1.1.0* -* Optimized for Android manual permissions if you are targeting AIR SDK 24+ -* The following two dependencies need to be added to other ones also: androidSupport.ane and overrideAir.ane - -*Jun 07, 2016 - V1.0.1* -* fixed a bug mentioned here: https://github.com/myflashlab/Admob-ANE/issues/2 - - -*Jun 05, 2016 - V1.0.0* -* beginning of the journey! +# Premium Support # +[![Premium Support package](https://www.myflashlabs.com/wp-content/uploads/2016/06/professional-support.jpg)](https://www.myflashlabs.com/product/myflashlabs-support/) +If you are an [active MyFlashLabs club member](https://www.myflashlabs.com/product/myflashlabs-club-membership/), you will have access to our private and secure support ticket system for all our ANEs. Even if you are not a member, you can still receive premium help if you purchase the [premium support package](https://www.myflashlabs.com/product/myflashlabs-support/). \ No newline at end of file diff --git a/issue_template.md b/issue_template.md deleted file mode 100644 index 6d0379e..0000000 --- a/issue_template.md +++ /dev/null @@ -1,17 +0,0 @@ -## Environment ## -* Android Version: -* iOS Version: -* AIR Version: - -## Problem Description ## -```xml -Copy your manifest .xml file. -``` -```actionscript -Copy your Actionscript code. -``` - -## Steps to Reproduce ## - - -## Known Workarounds ## \ No newline at end of file