Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
myflashlab committed Dec 14, 2018
1 parent f5ab31b commit bf6ea2b
Show file tree
Hide file tree
Showing 39 changed files with 23 additions and 171 deletions.
2 changes: 1 addition & 1 deletion AIR/AIR.iml
Expand Up @@ -2,7 +2,7 @@
<module type="Flex" version="4">
<component name="FlexBuildConfigurationManager" active="AIR">
<configurations>
<configuration name="AIR" target-platform="Mobile" pure-as="true" main-class="DemoDoubleClick" output-file="Main.swf" output-folder="$MODULE_DIR$/out/production/AIR">
<configuration name="AIR" target-platform="Mobile" pure-as="true" main-class="Demo" output-file="Main.swf" output-folder="$MODULE_DIR$/out/production/AIR">
<dependencies target-player="25.0">
<entries>
<entry library-id="1c696a4b-410d-456b-b23a-cc85708819de">
Expand Down
18 changes: 2 additions & 16 deletions AIR/Main-app.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<application xmlns="http://ns.adobe.com/air/application/31.0">
<id>com.doitflash.admob</id>
<versionNumber>4.0.3</versionNumber>
<versionNumber>4.0.4</versionNumber>
<supportedProfiles>mobileDevice</supportedProfiles>
<filename>exAdmob</filename>
<name>AdMob</name>
Expand Down Expand Up @@ -89,26 +89,12 @@
<systemChrome>standard</systemChrome>
</initialWindow>
<icon>
<image16x16>icons/icon_16.png</image16x16>
<image29x29>icons/icon_29.png</image29x29>
<image32x32>icons/icon_32.png</image32x32>
<image36x36>icons/icon_36.png</image36x36>
<image40x40>icons/icon_40.png</image40x40>
<image48x48>icons/icon_48.png</image48x48>
<image50x50>icons/icon_50.png</image50x50>
<image57x57>icons/icon_57.png</image57x57>
<image58x58>icons/icon_58.png</image58x58>
<image60x60>icons/icon_60.png</image60x60>
<image72x72>icons/icon_72.png</image72x72>
<image76x76>icons/icon_76.png</image76x76>
<image80x80>icons/icon_80.png</image80x80>
<image96x96>icons/icon_96.png</image96x96>
<image100x100>icons/icon_100.png</image100x100>
<image114x114>icons/icon_114.png</image114x114>
<image120x120>icons/icon_120.png</image120x120>
<image128x128>icons/icon_128.png</image128x128>
<image144x144>icons/icon_144.png</image144x144>
<image152x152>icons/icon_152.png</image152x152>
<image192x192>icons/icon_192.png</image192x192>
<image512x512>icons/icon_512.png</image512x512>
<image1024x1024>icons/icon_1024.png</image1024x1024>
</icon>
Expand Down
Binary file removed AIR/icons/Default-375w-667h@2x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default-414w-736h@3x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default-568h@2x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default-Landscape-414w-736h@3x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default-LandscapeLeft@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-LandscapeRight@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-LandscapeRight~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-Landscapet@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-Landscape~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-Portrait@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-PortraitUpsideDown@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-PortraitUpsideDown~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-Portrait~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default@2x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default~iphone.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_100.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_114.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_120.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_128.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_152.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_16.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_29.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_32.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_40.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_50.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_57.png
Diff not rendered.
Binary file removed AIR/icons/icons/icon_58.png
Diff not rendered.
Binary file removed AIR/icons/icons/icon_60.png
Diff not rendered.
Binary file removed AIR/icons/icons/icon_76.png
Diff not rendered.
Binary file removed AIR/icons/icons/icon_80.png
Diff not rendered.
2 changes: 0 additions & 2 deletions AIR/icons/sizeInfo.txt

This file was deleted.

12 changes: 12 additions & 0 deletions 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
4 changes: 0 additions & 4 deletions AIR/lib/ReadMe.txt

This file was deleted.

Binary file removed AIR/lib/admob.ane
Binary file not shown.
3 changes: 3 additions & 0 deletions 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
Expand Down
136 changes: 5 additions & 131 deletions 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:**
Expand All @@ -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**
Expand Down Expand Up @@ -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
<extensionID>com.myflashlab.air.extensions.dependency.overrideAir</extensionID>
<extensionID>com.myflashlab.air.extensions.dependency.androidSupport.arch</extensionID>
<extensionID>com.myflashlab.air.extensions.dependency.androidSupport.core</extensionID>
<extensionID>com.myflashlab.air.extensions.dependency.androidSupport.customtabs</extensionID>
<extensionID>com.myflashlab.air.extensions.dependency.androidSupport.v4</extensionID>
<extensionID>com.myflashlab.air.extensions.dependency.googlePlayServices.ads</extensionID>
<extensionID>com.myflashlab.air.extensions.dependency.googlePlayServices.ads.lite</extensionID>
<extensionID>com.myflashlab.air.extensions.dependency.googlePlayServices.basement</extensionID>
```

*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/).
17 changes: 0 additions & 17 deletions issue_template.md

This file was deleted.

0 comments on commit bf6ea2b

Please sign in to comment.