-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from hansemannn/MOD-2182
[MOD-2182] Update Ti.Admob to work with iOS 8+, update iOS SDK to 7.6.0
- Loading branch information
Showing
86 changed files
with
2,503 additions
and
474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
tmp | ||
bin | ||
build | ||
build/* | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
*.xcworkspace | ||
!default.xcworkspace | ||
xcuserdata | ||
profile | ||
*.moved-aside | ||
DerivedData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
language: objective-c | ||
osx_image: xcode7.1 | ||
env: | ||
global: | ||
- "MODULE_NAME=ti.redlaser" | ||
global: | ||
- "ARTIFACTS_AWS_REGION=us-east-1" | ||
- "ARTIFACTS_S3_BUCKET=builds.appcelerator.com" | ||
- "MODULE_NAME=ti.admob" | ||
before_install: | ||
- MODULE_ROOT=$PWD | ||
install: | ||
- cd $MODULE_ROOT | ||
- curl -o install.sh https://raw.githubusercontent.com/appcelerator-modules/ci/master/travis/install.sh | ||
- source install.sh | ||
script: | ||
- curl -o install.sh https://raw.githubusercontent.com/appcelerator-modules/ci/master/travis/install.sh #change this to appcelerator-modules once PR has been merged | ||
- source install.sh -s "--branch 5_1_X" | ||
script: | ||
- curl -o script.sh https://raw.githubusercontent.com/appcelerator-modules/ci/master/travis/script.sh | ||
- source script.sh | ||
after_success: # and this only on success | ||
- curl -o deploy.sh https://raw.githubusercontent.com/appcelerator-modules/ci/master/travis/deploy.sh | ||
- source deploy.sh | ||
- curl -o deploy.sh https://raw.githubusercontent.com/appcelerator-modules/ci/master/travis/deploy.sh | ||
- source deploy.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Appcelerator Titanium Mobile | ||
* Copyright (c) 2010-2015 by Appcelerator, Inc. All Rights Reserved. | ||
* Licensed under the terms of the Apache Public License | ||
* Please see the LICENSE included with this distribution for details. | ||
*/ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ENUM(NSUInteger, TiAdmobAdType) { | ||
TiAdmobAdTypeBanner = 0, | ||
TiAdmobAdTypeInterstitial | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,53 @@ | ||
/** | ||
* Appcelerator Titanium Mobile | ||
* Copyright (c) 2010-2013 by Appcelerator, Inc. All Rights Reserved. | ||
* Copyright (c) 2010-2015 by Appcelerator, Inc. All Rights Reserved. | ||
* Licensed under the terms of the Apache Public License | ||
* Please see the LICENSE included with this distribution for details. | ||
*/ | ||
|
||
#import "TiUIView.h" | ||
#import "GADBannerView.h" | ||
#import "GADBannerViewDelegate.h" | ||
#import <GoogleMobileAds/GoogleMobileAds.h> | ||
|
||
@interface TiAdmobView : TiUIView<GADBannerViewDelegate> { | ||
|
||
@private | ||
GADBannerView *ad; | ||
@interface TiAdmobView : TiUIView<GADBannerViewDelegate, GADInterstitialDelegate, GADInAppPurchaseDelegate> { | ||
GADBannerView *bannerView; | ||
GADInterstitial *interstitial; | ||
GADRequest *request; | ||
} | ||
|
||
- (void)initialize; | ||
|
||
- (void)showInterstitial; | ||
|
||
- (void)setAdUnitId_:(id)value; | ||
|
||
- (void)setKeywords_:(id)value; | ||
|
||
- (void)setDateOfBirth_:(id)value; | ||
|
||
- (void)setTestDevices_:(id)value; | ||
|
||
- (void)setAdBackgroundColor_:(id)value; | ||
|
||
- (void)setTagForChildDirectedTreatment_:(id)value; | ||
|
||
- (void)setRequestAgent_:(id)value; | ||
|
||
- (void)setContentURL_:(id)value; | ||
|
||
- (void)setExtras_:(id)args; | ||
|
||
- (void)setGender_:(id)value; | ||
|
||
- (void)setLocation_:(id)args; | ||
|
||
- (void)setPublisherId_:(id)value; | ||
|
||
- (void)setTesting_:(id)value; | ||
|
||
- (GADBannerView*)bannerView; | ||
|
||
- (GADInterstitial*)interstitial; | ||
|
||
- (GADRequest*)request; | ||
|
||
@end |
Oops, something went wrong.