Code Monkey home page Code Monkey logo

adwhirl's People

adwhirl's Issues

Browser doesn't launch email app

I've been trying to use a house ad to open landing page, and then open an email 
message.  The landing page opens with no problem, but when i click on the link 
to launch the email message, the browser doesn't respond.  I'm trying to launch 
this link, which should open the mail app. 

mailto:[email protected]?subject=Mobilebeat 2010-Stitcher

Any suggestions on this?

Original issue reported on code.google.com by [email protected] on 22 Jun 2010 at 6:15

Backfill priorities not working as expected for iAd in 3.0 devices (need documentation)

What steps will reproduce the problem?
1. use an app which can show AdMob, iAd and custom ads as set below

2. set:
- iAd on, 70%
- custom ads on, 30%
- AdMob on, 0%
- another type of custom ads off
backfill priorities:
- AdMob 1
- iAd 2
- custom ads 3

3. have the app downloaded mostly in other countries than US

What is the expected output? What do you see instead?

Expected: As iAds are only served in the US at this time, very few iAds should 
be served. Almost all of the 70% for iAd should be given to AdMob. 30% should 
be used for custom ads.

Experienced: 70% custom ads, 30% AdMob shown in the AdWhirl report.

What version of the product are you using? On what operating system?
latest version on iOS 4.

Please provide any additional information below.

When I set 70% Admob / 30% custom, it works correctly.

Original issue reported on code.google.com by [email protected] on 7 Jul 2010 at 8:52

UI lists duplicate house ad on creation

>>>>>>>>>
I previously had two house ads set up and running.   Everything worked exactly 
how I would have expected based on how I had things configured.  However, when 
I attempted to add a third ad, things went a little strange.

First, when I finished adding the third ad, it showed up in the list twice.  I 
tried deleting one ad to leave only one behind.  That worked, but after having 
the ad run for a week, it had 0 impressions.  (In spite of other house ads 
having 10-20 impressions per day.)

So, I tried deleting the third ad, and adding it anew.  Again two ads were 
created on the web page.  This time I left both of them on there.  Over the 
last day or two the second one has disappeared.  However, I am still seeing 0 
impressions on that ad.
<<<<<<<<<

Original issue reported on code.google.com by [email protected] on 7 Jul 2010 at 5:41

Ads erroneously turned off

What steps will reproduce the problem?
1. You should have set ads off in old web frontend
2.
3.

What is the expected output? What do you see instead?
I set ads to 100% but -adWhirlReceivedNotificationAdsAreOff: is called in my 
iPhone app. It is probably because AdWhirl config is broken with old 
unsupported setting.

What version of the product are you using? On what operating system?
iPhone SDK 2.2.7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Jun 2010 at 8:16

ADBannerView must be part of a view hierarchy managed by a UIViewController

What steps will reproduce the problem?
1. Add adwhirl library to my application
2. Turn on iAd on adwhirl webiste
3. Application crash

What is the expected output? What do you see instead?
*** Terminating app due to uncaught exception 
'NSInternalInconsistencyException', reason: 'ADBannerView must be part of a 
view hierarchy managed by a UIViewController'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x02d53919 __exceptionPreprocess + 185
    1   libobjc.A.dylib                     0x02ea15de objc_exception_throw + 47
    2   iAd                                 0x028f98c2 -[ADBannerView didMoveToWindow] + 183
    3   UIKit                               0x0038f01a -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1205
    4   UIKit                               0x0038db10 -[UIView(Hierarchy) _postMovedFromSuperview:] + 166
    5   UIKit                               0x00386a34 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1080
    6   UIKit                               0x00384d87 -[UIView(Hierarchy) addSubview:] + 57


What version of the product are you using? On what operating system?
iOS4
adwhir 2.3.0 for iphone

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Jun 2010 at 8:24

Intermittent crashes.

What steps will reproduce the problem?
1. Download and unzip/untar the attached file.  It contains an XCode project.
2. Open the project in XCode and run it.  (The code involved is minimal.) 
It will request 20 ads (from my company's test AdWhirl app) and display
them in a table view.  They refresh every 15 seconds.
3. Scroll up and down.  After at most 5 minutes of this, you should get a
crash.  I haven't figured out how to speed up the process.  More ads
doesn't seem to help.

What version of the product are you using? On what operating system?

AdWhirl 2.1.3 on OS 3.1.3

Please provide any additional information below.

The stack trace points to AdMob code, but with NSZombieEnabled set, the
warning I get is about an AdWhirlAdapterAdMob instance.

I'm sure you know about NSZombieEnabled, but I just learned about setting
MallocStackLoggingNoCompact to 1 in order to track down where a zombie
object got alloc'ed.
http://coderslike.us/2009/05/05/finding-freeddeallocated-instances-of-objects/
 (Sorry if you already knew about this.)

The zombie seems to be the currAdapter field of the AdWhirlView class.  It
looks like AdWhirl 2.1.0 and higher add a call to release that piece of
memory, and this is causing problems.

Let me know if I can help in any way.

Thanks,
David

Original issue reported on code.google.com by [email protected] on 26 Feb 2010 at 12:06

Unable to download the SDK

What steps will reproduce the problem?
1. go to the URL 
2. http://adwhirl.googlecode.com/files/AdWhirlSDK_Android_202.zip
3.

What is the expected output? What do you see insteadd?
File download got The requested URL /files/AdWhirlSDK_Android_202.zip was 
not found on this server.


What version of the product are you using? On what operating system?

Google Chrome browser
Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Mar 2010 at 11:04

Custom URL support

When creating a house ad, you are given the option of specifying a URL.  
Unfortunately, if your URL does not start with 'http://' it prepends what you 
typed with http://.

'http://' should not be prepended if the specified url starts with '<scheme>://'

Adding that check will allow the URL to be something like 
'myapp://my.host.com/param1/param2' and thus allow Android intent-filters to 
intercept and launch.

Currently, the only workaround is to use 'http' for interception and thus cause 
a picker dialog to be launched asking how you want to handle the url.

Original issue reported on code.google.com by [email protected] on 7 Jul 2010 at 3:20

Random lines appearing on custom icon ads.

"All of my custom ads that are displayed using AdWhirl have a slanted
line through the icon." - http://groups.google.com/group/adwhirl-
users/browse_thread/thread/a8aaed29756af601?hl=en_US

The scaled images on the server don't have these artifacts, must be an issue 
fitting the image client-side.

Original issue reported on code.google.com by JustinPincar on 23 Feb 2010 at 12:42

undeclared identifiers when compiling AdWhirlSDK2_Sample

What steps will reproduce the problem?
1. Download Adwhirl iPhone code, run AdwhirlSDK2_Sample, download Admob code 
and Google afma code and put into adapter folders
2. Try to compile and get errors about undeclared identifiers.  These 
identifiers include "kGADAdsenseHostID, kGADAdsenseAdTopBackgroundColor, 
kGADExpandDirection, kGADAdsenseApplicationAppleID.
3. ??.

What is the expected output? What do you see instead?
I expect to be able to run the code, and then 4. Profit.

What version of the product are you using? On what operating system?
the latest awhirl, the afma code that I was sent via email on July 7th 2009

Please provide any additional information below.
I also emailed [email protected] with this info, but I'm not sure if reporting it 
here would be helpful, maybe you could host the afma code to save everyone some 
time also since it's Googles all the way down now.

Original issue reported on code.google.com by [email protected] on 1 Jul 2010 at 2:04

Expose kAWMinimumTimeBetweenFreshAdRequests

On May 16, 2010, at 3:42 PM, gogiimark wrote:

> Hi,
>
> We recently ran into an issue with the timer that controls how quickly
> we can request an ad impression.  In order to work around this issue
> we found it useful to have public access to the constant that sets
> this time minimum.
>
> Our suggested change is to move the definition of the following
> constant from AdWhirlView.m to AdWhirlView.h
>
> #define kAWMinimumTimeBetweenFreshAdRequests 4.9f
>
> Thanks,
>
> Mark


On Mon, May 17, 2010 at 10:10 AM, Nigel Choi <[email protected]> wrote:
Mark,

5 seconds between ad requests is very quick. Most ad networks recommends 30
seconds or more actually. Can you tell me why you want to change it? I
suppose you want it shorter?

Nigel.


On May 17, 2010, at 10:28 AM, Mark Mazur wrote:

I have no problem with the limit or making it shorter. It's just that our
app has multiple pages that we would like to treat as different "Ad Units"
so the desired behavior is to trigger an ad view when the user changes from
one Ad Unit to another. So we ended up with a case that if the user toggled
quickly they would receive a blank ad. 

I didn't plan on changing the time, I just needed to have the time
available so I could check if it was expired. If it hasn't I present the
last loaded ad, which is, as you point out, better behavior.

 Is there a better way to see the state of the timer?  



Original issue reported on code.google.com by nigel%[email protected] on 19 May 2010 at 4:44

[AdWhirlView adWhirlConfigDidReceiveConfig:] crash

What steps will reproduce the problem?
1. Enter the application
2. Exit the application
3. Re-enter the application immediately when you see the application icon again

Of you exit and enter the application fast enough you will see black screens 
while the application 
is already running because probably the last run hasn't finished saving all of 
its data. (I don't 
know if the black screen is caused by your code). Several times these 
reproduction steps caused 
a crash as well. I am using AdWhirl SDK 2.1.3

Here is the crash log

Incident Identifier: D4CC5725-F090-4A74-AA93-CF57921B9DE7
CrashReporter Key:   11f2f3e1e39463a226531f66be1b6658874d1d62
Process:         BillTracker Pro [685]
Path:            
/var/mobile/Applications/B2A738A6-484C-4347-8F4C-2AC307648E06/BillTracker 
Pro.app/BillTracker Pro
Identifier:      BillTracker Pro
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2010-03-21 16:35:38.100 +0200
OS Version:      iPhone OS 3.1.3 (7E18)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000008
Crashed Thread:  0

Thread 0 Crashed:
0   libobjc.A.dylib                 0x00003ebc objc_msgSend + 20
1   BillTracker Pro                 0x00020ad8 +[AdWhirlView 
adWhirlConfigDidReceiveConfig:] 
(AdWhirlView.m:585)
2   BillTracker Pro                 0x0001e512 -[AdWhirlConfig 
connectionDidFinishLoading:] 
(AdWhirlConfig.m:660)
3   Foundation                      0x0006b1fa 
-[NSURLConnection(NSURLConnectionReallyInternal) 
sendDidFinishLoading] + 62
4   Foundation                      0x0006b17a _NSURLConnectionDidFinishLoading 
+ 74
5   CFNetwork                       0x00018302 
URLConnectionClient::_clientDidFinishLoading(URLConnectionClient::ClientConnecti
onEventQueu
e*) + 118
6   CFNetwork                       0x0000a9ca 
URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePaylo
ad(XConn
ectionEventInfo<XClientEvent, XClientEventParams>*, long) + 86
7   CFNetwork                       0x0000ab3a 
URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePaylo
ad(XConn
ectionEventInfo<XClientEvent, XClientEventParams>*, long) + 454
8   CFNetwork                       0x0000ab3a 
URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePaylo
ad(XConn
ectionEventInfo<XClientEvent, XClientEventParams>*, long) + 454
9   CFNetwork                       0x0000a8c8 
URLConnectionClient::processEvents() + 74
10  CFNetwork                       0x0000a872 
URLConnection::multiplexerClientPerform(RunLoopMultiplexer*) + 30
11  CFNetwork                       0x0000a7f2 MultiplexerSource::perform() + 86
12  CFNetwork                       0x0000a792 
MultiplexerSource::_perform(void*) + 2
13  CoreFoundation                  0x000573a0 CFRunLoopRunSpecific + 1908
14  CoreFoundation                  0x00056c18 CFRunLoopRunInMode + 44
15  Foundation                      0x0005e960 -[NSRunLoop(NSRunLoop) 
runMode:beforeDate:] + 140
16  BillTracker Pro                 0x00084f3a +[FlurryHTTPEater 
sendMethod:to:body:headerFields:timeoutInterval:] (FlurryHTTPEater.m:72)
17  BillTracker Pro                 0x000836c4 +[FlurrySession 
sendSessionsToServerWithTimeout:] 
(FlurrySession.m:657)
18  BillTracker Pro                 0x00081f60 -[FlurrySession endSession] 
(FlurrySession.m:151)
19  BillTracker Pro                 0x0008023a +[FlurryAPI endSession] 
(FlurryAPI.m:89)
20  Foundation                      0x0004d5d2 _nsnote_callback + 178
21  CoreFoundation                  0x0005150a _CFXNotificationPostNotification 
+ 298
22  Foundation                      0x0004b1ac -[NSNotificationCenter 
postNotificationName:object:userInfo:] + 64
23  Foundation                      0x0004d512 -[NSNotificationCenter 
postNotificationName:object:] + 
14
24  UIKit                           0x0007466c -[UIApplication 
_terminateWithStatus:] + 164
25  UIKit                           0x0006f824 -[UIApplication 
_sendApplicationSuspend:] + 736
26  UIKit                           0x00056604 -[UIApplication 
handleEvent:withNewEvent:] + 3576
27  UIKit                           0x00055634 -[UIApplication sendEvent:] + 60
28  UIKit                           0x0005508c _UIApplicationHandleEvent + 4528
29  GraphicsServices                0x000057dc PurpleEventCallback + 1044
30  CoreFoundation                  0x000573a0 CFRunLoopRunSpecific + 1908
31  CoreFoundation                  0x00056c18 CFRunLoopRunInMode + 44
32  GraphicsServices                0x000041c0 GSEventRunModal + 188
33  UIKit                           0x00003c28 -[UIApplication _run] + 552
34  UIKit                           0x00002228 UIApplicationMain + 960
35  BillTracker Pro                 0x00002f18 main (main.m:14)
36  BillTracker Pro                 0x00002eb4 start + 44

Thread 1:
0   libSystem.B.dylib               0x00001488 mach_msg_trap + 20
1   libSystem.B.dylib               0x00004064 mach_msg + 60
2   CoreFoundation                  0x00057002 CFRunLoopRunSpecific + 982
3   CoreFoundation                  0x00056c18 CFRunLoopRunInMode + 44
4   WebCore                         0x000841d4 RunWebThread(void*) + 412
5   libSystem.B.dylib               0x0002b780 _pthread_body + 20

Thread 2:
0   libSystem.B.dylib               0x00001488 mach_msg_trap + 20
1   libSystem.B.dylib               0x00004064 mach_msg + 60
2   CoreFoundation                  0x00057002 CFRunLoopRunSpecific + 982
3   CoreFoundation                  0x00056c18 CFRunLoopRunInMode + 44
4   Foundation                      0x0005a998 
+[NSURLConnection(NSURLConnectionReallyInternal) 
_resourceLoadLoop:] + 172
5   Foundation                      0x00053ac6 -[NSThread main] + 42
6   Foundation                      0x00001d0e __NSThread__main__ + 852
7   libSystem.B.dylib               0x0002b780 _pthread_body + 20

Thread 3:
0   libSystem.B.dylib               0x000262c0 select$DARWIN_EXTSN + 20
1   CoreFoundation                  0x000207e2 __CFSocketManager + 342
2   libSystem.B.dylib               0x0002b780 _pthread_body + 20

Thread 0 crashed with ARM Thread State:
    r0: 0x003313b0    r1: 0x33220be0      r2: 0x00102908      r3: 0x00020ac9
    r4: 0x00000000    r5: 0x00102908      r6: 0x00000001      r7: 0x2fffe0c8
    r8: 0x0032a570    r9: 0x003fc098     r10: 0x00101c48     r11: 0x33220be0
    ip: 0x001325ec    sp: 0x2fffe0b0      lr: 0x00020adf      pc: 0x3138cebc
  cpsr: 0x000f0010

Binary Images:
    0x1000 -   0x131fff +BillTracker Pro armv6  <b1cc18f31b1e810f887f4550c9406cc8> 
/var/mobile/Applications/B2A738A6-484C-4347-8F4C-2AC307648E06/BillTracker 
Pro.app/BillTracker Pro
  0x400000 -   0x401fff  dns.so armv6  <957f94410f77a351749ac39d2b4b4abe> 
/usr/lib/info/dns.so
0x2fe00000 - 0x2fe26fff  dyld armv6  <544395a4b5546114b878d5131a84fd7f> 
/usr/lib/dyld
0x30108000 - 0x3085bfff  WebCore armv6  <65181be01889192c1252e2535531c99c> 
/System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x3087d000 - 0x30881fff  IOSurface armv6  <f19a15d8311b851caeba68c1fef33e11> 
/System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x30882000 - 0x308effff  CFNetwork armv6  <58e56341b7a2a491c727a385b871f7b8> 
/System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x308f0000 - 0x3092efff  CoreText armv6  <fe5639949094efc4d973a1f6457a4e5c> 
/System/Library/PrivateFrameworks/CoreText.framework/CoreText
0x3092f000 - 0x309dcfff  ImageIO armv6  <572f72dbfb19a2fd37666bb1d58b13cb> 
/System/Library/PrivateFrameworks/ImageIO.framework/ImageIO
0x309f9000 - 0x30a03fff  libkxld.dylib armv6  
<33215da7e582cbc93ad25bf1cdb8ea62> 
/usr/lib/system/libkxld.dylib
0x30a05000 - 0x30a40fff  CoreTelephony armv6  
<98b8ac66b4615a56958655929505c985> 
/System/Library/PrivateFrameworks/CoreTelephony.framework/CoreTelephony
0x30a66000 - 0x30a76fff  libbsm.0.dylib armv6  
<722065615a92c5d0c57395f0aa624b8d> 
/usr/lib/libbsm.0.dylib
0x30a7f000 - 0x30aaafff  MIME armv6  <4721dcccaab04a39b6a996c5c660b307> 
/System/Library/PrivateFrameworks/MIME.framework/MIME
0x30aab000 - 0x30b92fff  MusicLibrary armv6  <c49e79a9726973718ffc364edf8c2602> 
/System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
0x30b93000 - 0x30b9ffff  DataAccessExpress armv6  
<14c859f3c1f6723685aa11c681cf43a9> 
/System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x30c58000 - 0x30d6efff  MediaToolbox armv6  <2409cdb9d8e80fb26922f2d619ad48ae> 
/System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox
0x30d6f000 - 0x30d71fff  ArtworkCache armv6  <97dec78ce0121ae171ea523e9987b173> 
/System/Library/PrivateFrameworks/ArtworkCache.framework/ArtworkCache
0x30d7f000 - 0x30d8ffff  MobileDeviceLink armv6  
<e6b08af0f62f98131e71d0888c6e3dd8> 
/System/Library/PrivateFrameworks/MobileDeviceLink.framework/MobileDeviceLink
0x30d90000 - 0x30dcffff  MessageUI armv6  <e2e86763eaf7cfc84c4665ff8eb6ad8e> 
/System/Library/Frameworks/MessageUI.framework/MessageUI
0x30dd2000 - 0x30e19fff  CoreMedia armv6  <72ecb2035061d1fcbaca5f9ced62581a> 
/System/Library/PrivateFrameworks/CoreMedia.framework/CoreMedia
0x30e1a000 - 0x30e20fff  MBX2D armv6  <5246c74334f4daf6c0b876605134baa1> 
/System/Library/PrivateFrameworks/MBX2D.framework/MBX2D
0x30e5b000 - 0x30e7afff  Bom armv6  <f96b6ec7fcf1de10a8d23bd2c9e9299e> 
/System/Library/PrivateFrameworks/Bom.framework/Bom
0x30f72000 - 0x31073fff  libicucore.A.dylib armv6  
<a99c2e5d034344c7447a7420db2b36b1> 
/usr/lib/libicucore.A.dylib
0x3107e000 - 0x3109cfff  libresolv.9.dylib armv6  
<c25b840bd418c833ab6c31a29389445a> 
/usr/lib/libresolv.9.dylib
0x310fc000 - 0x3110bfff  MobileBluetooth armv6  
<57bac498f43f853180ca26fa065a7cc9> 
/System/Library/PrivateFrameworks/MobileBluetooth.framework/MobileBluetooth
0x3110c000 - 0x3110dfff  IOMobileFramebuffer armv6  
<89abbd5846018f4b74250e8cb09eaf4c> 
/System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuf
fer
0x3110e000 - 0x311bbfff  WebKit armv6  <2bf8152a62e6cbc8a219d80489acb0e7> 
/System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x311bd000 - 0x31267fff  QuartzCore armv6  <5cab4e700e90abef71c1b2b695bd897a> 
/System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x31389000 - 0x3142cfff  libobjc.A.dylib armv6  
<54f0ebeeb9747bf5075f93e2a5043b5e> 
/usr/lib/libobjc.A.dylib
0x3142f000 - 0x31463fff  Security armv6  <fb2124d1711c8931a7df711d126193d0> 
/System/Library/Frameworks/Security.framework/Security
0x31464000 - 0x314b1fff  IOKit armv6  <521cb10d7c6fb9ce21936db07a2587bb> 
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x314b2000 - 0x314b7fff  ITSync armv6  <852a24506b8c043a0b8ed7f1ce2b265d> 
/System/Library/PrivateFrameworks/ITSync.framework/ITSync
0x314b8000 - 0x314f5fff  libCGFreetype.A.dylib armv6  
<b299c486f638e82d10939b7c496b7d78> 
/System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dyli
b
0x315ac000 - 0x315affff  MobileInstallation armv6  
<24658b77d80052cf593942691968ad0c> 
/System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallatio
n
0x315b2000 - 0x31627fff  MediaPlayer armv6  <5b53de8158ba9b7f7e2c1953fe6f7f2a> 
/System/Library/Frameworks/MediaPlayer.framework/MediaPlayer
0x3163f000 - 0x3167bfff  Calendar armv6  <57b5bf6717a06e5873ddfa6d31e817f7> 
/System/Library/PrivateFrameworks/Calendar.framework/Calendar
0x318d5000 - 0x318f3fff  AddressBook armv6  <80bdcada8d61624b2bb0796b7155f570> 
/System/Library/Frameworks/AddressBook.framework/AddressBook
0x318f4000 - 0x3192efff  libvDSP.dylib armv6  
<cf9cc6079374718dce29cba9de48b993> 
/System/Library/PrivateFrameworks/Accelerate.framework/Frameworks/vecLib.framewo
rk/libvD
SP.dylib
0x31a0f000 - 0x31a1afff  PersistentConnection armv6  
<a9a6f98197b820e3c774944985cce601> 
/System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConne
ction
0x31a1b000 - 0x31a59fff  DAVKit armv6  <3bad3802421b3025eef5e9173ccd7f3e> 
/System/Library/PrivateFrameworks/DAVKit.framework/DAVKit
0x31fb6000 - 0x31fddfff  AppSupport armv6  <db69446acd77981f1d9c968846e4c868> 
/System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x32028000 - 0x32052fff  MobileQuickLook armv6  
<accf1f4b9ad21f4873767c8556f6b48b> 
/System/Library/PrivateFrameworks/MobileQuickLook.framework/MobileQuickLook
0x32053000 - 0x3205ffff  IAP armv6  <d914770e111f17e4c4a65ada7c225b6c> 
/System/Library/PrivateFrameworks/IAP.framework/IAP
0x3209f000 - 0x320a5fff  liblockdown.dylib armv6  
<f18aa1ca3cc98cda954fd821ff88a3ac> 
/usr/lib/liblockdown.dylib
0x320c7000 - 0x320eafff  libRIP.A.dylib armv6  
<a53df8fe2c05c16f671e2502d0d21f60> 
/System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x320eb000 - 0x320ebfff  vecLib armv6  <c8a08b45effd5eb35a476a969628e52d> 
/System/Library/PrivateFrameworks/Accelerate.framework/Frameworks/vecLib.framewo
rk/vecLi
b
0x3210f000 - 0x3215ffff  Celestial armv6  <fb9fc20826ea390b6eaff38bb81974dc> 
/System/Library/PrivateFrameworks/Celestial.framework/Celestial
0x322e7000 - 0x3231bfff  SystemConfiguration armv6  
<4b1e9c323f8c973bac2737cdccec8de3> 
/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x3234d000 - 0x32364fff  OpenGLES armv6  <8d075dd39e978efae59c70eeedfd858a> 
/System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x32365000 - 0x3239dfff  TextInput armv6  <3d7baa7030926fd6c7d4b04530f9d8ae> 
/System/Library/PrivateFrameworks/TextInput.framework/TextInput
0x3239e000 - 0x3244afff  CoreFoundation armv6  
<26d25c2c53c05db6e9adc24d5befaa2c> 
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x3244b000 - 0x3244bfff  Accelerate armv6  <21e1dc9fad96f0d51afbeb7f7e006aaf> 
/System/Library/PrivateFrameworks/Accelerate.framework/Accelerate
0x324a3000 - 0x33294fff  UIKit armv6  <4e881f8351712fd798c335af748b5b5f> 
/System/Library/Frameworks/UIKit.framework/UIKit
0x332bb000 - 0x333b8fff  JavaScriptCore armv6  
<41bc769b8c046770bac84eed2b08ff42> 
/System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x333bd000 - 0x333e5fff  MobileSync armv6  <e7f665078a2e72efca5e3ea2df9ea976> 
/System/Library/PrivateFrameworks/MobileSync.framework/MobileSync
0x333e6000 - 0x334dcfff  libxml2.2.dylib armv6  
<a2f276df14b4ded9650dea857293b4e9> 
/usr/lib/libxml2.2.dylib
0x33501000 - 0x3350cfff  GraphicsServices armv6  
<3a4ec1bf23242cddae5f606f0ed38930> 
/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x3350d000 - 0x33661fff  AudioToolbox armv6  <31bb7db82eece25ac6742672e3afbe02> 
/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x33662000 - 0x336a0fff  VideoToolbox armv6  <90bd21d9696a4ab5c278f90a5a75b804> 
/System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox
0x336a9000 - 0x336b5fff  CoreVideo armv6  <63d65206a8853262b597f97b3d949f31> 
/System/Library/PrivateFrameworks/CoreVideo.framework/CoreVideo
0x336d7000 - 0x336dafff  ActorKit armv6  <cba651e0f698e4e1dfa745435016a5dd> 
/System/Library/PrivateFrameworks/ActorKit.framework/ActorKit
0x336de000 - 0x337d6fff  Foundation armv6  <a3612d56db60ccfc998caee19d9805d7> 
/System/Library/Frameworks/Foundation.framework/Foundation
0x337d9000 - 0x33877fff  LDAP armv6  <77606c8db99360678ca713781c1ed2f3> 
/System/Library/PrivateFrameworks/LDAP.framework/LDAP
0x33888000 - 0x3388ffff  ProtocolBuffer armv6  
<0c295f850e8d9066bcfd634990abd136> 
/System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x338c7000 - 0x338cffff  AccountSettings armv6  
<855dd8b092c4e7f157d80d70f0662077> 
/System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
0x338d0000 - 0x33a8afff  CoreGraphics armv6  <41796502b08a751095dcd2b105d1931c> 
/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x33a92000 - 0x33a9afff  libgcc_s.1.dylib armv6  
<6673f222acee5f3a208169712387862a> 
/usr/lib/libgcc_s.1.dylib
0x33aa2000 - 0x33aacfff  MobileCoreServices armv6  
<805d82b950722ad728d87e0c24089c4b> 
/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x33aad000 - 0x33bd3fff  libSystem.B.dylib armv6  
<0373fd64e915a17160732b29d343f95f> 
/usr/lib/libSystem.B.dylib
0x33bf6000 - 0x33c60fff  libstdc++.6.dylib armv6  
<a35cfd59eee09893fbab57794ad7cbaf> 
/usr/lib/libstdc++.6.dylib
0x33c79000 - 0x33c84fff  libbz2.1.0.dylib armv6  
<92c5693b08745e3cdd5b88b0ab0806a7> 
/usr/lib/libbz2.1.0.dylib
0x33c85000 - 0x33ce6fff  GMM armv6  <3449e519a06dc842be7d30014ebe8f4b> 
/System/Library/PrivateFrameworks/GMM.framework/GMM
0x33d21000 - 0x33d5dfff  ContentIndex armv6  <c208e92c7e140c3470e1a5d86f478e0d> 
/System/Library/PrivateFrameworks/ContentIndex.framework/ContentIndex
0x33d7a000 - 0x33da6fff  CoreLocation armv6  <49ac18c66ef6b7aa5df7d43fc9c80fe8> 
/System/Library/Frameworks/CoreLocation.framework/CoreLocation
0x33da7000 - 0x33e01fff  libsqlite3.dylib armv6  
<61513660cb3e21b47ccbf5407e0efae5> 
/usr/lib/libsqlite3.dylib
0x33e02000 - 0x33e05fff  Notes armv6  <bb72e28444ac6efea87e143ab92b4c09> 
/System/Library/PrivateFrameworks/Notes.framework/Notes
0x33e4c000 - 0x33ec8fff  AddressBookUI armv6  
<95494f4bb325ec6ba1ef6019e1d9eb89> 
/System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
0x340e2000 - 0x3413dfff  CoreAudio armv6  <71fb4de4976308c0a3f86d127e46472b> 
/System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x3413e000 - 0x341ebfff  DataAccess armv6  <dd67ee9eaf7780a892c8969f06ca7f95> 
/System/Library/PrivateFrameworks/DataAccess.framework/DataAccess
0x34251000 - 0x3430afff  Message armv6  <ec09d7f78e274fe2e81d74ddb9fae642> 
/System/Library/PrivateFrameworks/Message.framework/Message
0x3430e000 - 0x3431cfff  libz.1.dylib armv6  <7a06dbf4af39c5b548306c7fb8ffcf0b> 
/usr/lib/libz.1.dylib
0x3432a000 - 0x3432cfff  CrashReporterSupport armv6  
<2440fc9c4259d2c476f11ae80e15dcfd> 
/System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSu
pport
0x34357000 - 0x3439dfff  iCalendar armv6  <c60e07670fa668e42c40ba1940435e06> 
/System/Library/PrivateFrameworks/iCalendar.framework/iCalendar
0x3439e000 - 0x343a7fff  SpringBoardServices armv6  
<f13747f4598b0f4b1442877adc75de5a> 
/System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServi
ces
0x343ab000 - 0x343acfff  CoreSurface armv6  <f27efe4047d6b4319bc01edb9007a789> 
/System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface


Original issue reported on code.google.com by [email protected] on 21 Mar 2010 at 2:49

Banner on bottom

According to one user:

I'm trying to place the banner on the bottom on the screen. If I set the
banner x,y to be other than 0,0, lets sat 0,10 , than its cut on display.
If I set the clipsToBounds to NO on the AdWhirlView class, than the banner
is not displayed in the right position. For example, If I set to 0,10 and
its displayed on 0,60.
Can you please help?

Original issue reported on code.google.com by nigel%[email protected] on 25 Jan 2010 at 10:02

Quattro Wireless crash

What steps will reproduce the problem?
I'm using AdWhirl with AdMob, Quattro Wireless and MdotM, sometimes my app 
crashes shortly 
after being launched.
I simply request an Ad View using "requestAdWhirlViewWithDelegate:" using my 
AppDelegate as 
delegate.

What version of the product are you using? On what operating system?
adwhirl sdk 2.1.0 crashes on iPhone 3GS (3.1.2) and Simulator (3.0 - 3.1.2)

Please provide any additional information below.
worked flawless with 2.0.2

Original issue reported on code.google.com by [email protected] on 28 Jan 2010 at 12:41

Attachments:

Momory leak due to [AdWhirlView startPreFetchingConfigurationDataWithDelegate:]

I noticed that there is a memory leak related to AdWhirl.
5 object are reported leaking and all start from the same place.
[AdWhirlView startPreFetchingConfigurationDataWithDelegate:]
It happens almost every time when I start the app.

The following data is from an app that uses SDK 2.0.2:

Leaked Object: GeneralBlock - 1024

  30 Personal Assistant start
  29 Personal Assistant main /Users/admin/Projects/iPhoneApps/PIA/main.m:14
  28 UIKit UIApplicationMain
  27 UIKit -[UIApplication _run]
  26 CoreFoundation CFRunLoopRunInMode
  25 CoreFoundation CFRunLoopRunSpecific
  24 GraphicsServices PurpleEventCallback
  23 UIKit _UIApplicationHandleEvent
  22 UIKit -[UIApplication sendEvent:]
  21 UIKit -[UIApplication handleEvent:withNewEvent:]
  20 UIKit -[UIApplication _runWithURL:sourceBundleID:]
  19 UIKit -[UIApplication _performInitializationWithURL:sourceBundleID:]
  18 Personal Assistant -[PageonceAppDelegate
application:didFinishLaunchingWithOptions:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:156
  17 Personal Assistant -[PageonceAppDelegate
applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:90
  16 Personal Assistant -[AppDelegate applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/common/Classes/App
Controllers/AppDelegate.m:187
  15 Personal Assistant +[AdWhirlView
startPreFetchingConfigurationDataWithDelegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlView.m
:63
  14 Personal Assistant +[AdWhirlConfig fetchConfig:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:116
  13 Personal Assistant -[AdWhirlConfig initWithAppKey:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:166
  12 Foundation -[NSURLConnection initWithRequest:delegate:]
  11 Foundation -[NSURLConnection(NSURLConnectionPrivate)
_initWithRequest:delegate:usesCache:maxContentLength:startImmediately:connection
Properties:]
  10 CFNetwork CFURLConnectionCreateWithProperties
   9 CFNetwork URLConnection::initialize(_CFURLRequest const*,
CFURLConnectionClient_V1*, __CFDictionary const*)
   8 CFNetwork URLConnectionClient::URLConnectionClient(URLConnection*,
_CFURLRequest const*, CFURLConnectionClient_V1*, __CFDictionary const*)
   7 CFNetwork CFURLCacheCopySharedURLCache
   6 CFNetwork CFURLCacheCreate
   5 CFNetwork __CFURLCache::__CFURLCache(_CFURLCache const*, long, long,
__CFString const*, bool)
   4 CFNetwork __gnu_cxx::hashtable<std::pair<int const,
__CFURLCacheNode*>, int, __CFURLCache__::HashFunc,
std::_Select1st<std::pair<int const, __CFURLCacheNode*> >,
std::equal_to<int>, std::allocator<__CFURLCacheNode*>
>::_M_initialize_buckets(unsigned long)
   3 CFNetwork std::vector<__gnu_cxx::_Hashtable_node<std::pair<int const,
__CFURLCacheNode*> >*,
std::allocator<__gnu_cxx::_Hashtable_node<std::pair<int const,
__CFURLCacheNode*> >*> >::reserve(unsigned long)
   2 CFNetwork __gnu_cxx::_Hashtable_node<std::pair<int const,
__CFURLCacheNode*> >** std::vector<__gnu_cxx::_Hashtable_node<std::pair<int
const, __CFURLCacheNode*> >*,
std::allocator<__gnu_cxx::_Hashtable_node<std::pair<int const,
__CFURLCacheNode*> >*>
>::_M_allocate_and_copy<__gnu_cxx::_Hashtable_node<std::pair<int const,
__CFURLCacheNode*> >**>(unsigned long,
__gnu_cxx::_Hashtable_node<std::pair<int const, __CFURLCacheNode*> >**,
__gnu_cxx::_Hashtable_node<std::pair<int const, __CFURLCacheNode*> >**)
   1 libstdc++.6.dylib operator new(unsigned long)
   0 libSystem.B.dylib malloc


Leaked Object: GeneralBlock - 512

  29 Personal Assistant start
  28 Personal Assistant main /Users/admin/Projects/iPhoneApps/PIA/main.m:14
  27 UIKit UIApplicationMain
  26 UIKit -[UIApplication _run]
  25 CoreFoundation CFRunLoopRunInMode
  24 CoreFoundation CFRunLoopRunSpecific
  23 GraphicsServices PurpleEventCallback
  22 UIKit _UIApplicationHandleEvent
  21 UIKit -[UIApplication sendEvent:]
  20 UIKit -[UIApplication handleEvent:withNewEvent:]
  19 UIKit -[UIApplication _runWithURL:sourceBundleID:]
  18 UIKit -[UIApplication _performInitializationWithURL:sourceBundleID:]
  17 Personal Assistant -[PageonceAppDelegate
application:didFinishLaunchingWithOptions:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:156
  16 Personal Assistant -[PageonceAppDelegate
applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:90
  15 Personal Assistant -[AppDelegate applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/common/Classes/App
Controllers/AppDelegate.m:187
  14 Personal Assistant +[AdWhirlView
startPreFetchingConfigurationDataWithDelegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlView.m
:63
  13 Personal Assistant +[AdWhirlConfig fetchConfig:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:116
  12 Personal Assistant -[AdWhirlConfig initWithAppKey:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:166
  11 Foundation -[NSURLConnection initWithRequest:delegate:]
  10 Foundation -[NSURLConnection(NSURLConnectionPrivate)
_initWithRequest:delegate:usesCache:maxContentLength:startImmediately:connection
Properties:]
   9 CFNetwork CFURLConnectionCreateWithProperties
   8 CFNetwork URLConnection::initialize(_CFURLRequest const*,
CFURLConnectionClient_V1*, __CFDictionary const*)
   7 CFNetwork URLConnectionClient::URLConnectionClient(URLConnection*,
_CFURLRequest const*, CFURLConnectionClient_V1*, __CFDictionary const*)
   6 CFNetwork CFURLCacheCopySharedURLCache
   5 CFNetwork CFURLCacheCreate
   4 CFNetwork __CFURLCache::__CFURLCache(_CFURLCache const*, long, long,
__CFString const*, bool)
   3 CFNetwork std::_Deque_base<__CFURLCacheNode*,
std::allocator<__CFURLCacheNode*> >::_M_initialize_map(unsigned long)
   2 CFNetwork std::_Deque_base<__CFURLCacheNode*,
std::allocator<__CFURLCacheNode*> >::_M_allocate_node()
   1 libstdc++.6.dylib operator new(unsigned long)
   0 libSystem.B.dylib malloc

Leaked Object: _CFURLCache

  26 Personal Assistant start
  25 Personal Assistant main /Users/admin/Projects/iPhoneApps/PIA/main.m:14
  24 UIKit UIApplicationMain
  23 UIKit -[UIApplication _run]
  22 CoreFoundation CFRunLoopRunInMode
  21 CoreFoundation CFRunLoopRunSpecific
  20 GraphicsServices PurpleEventCallback
  19 UIKit _UIApplicationHandleEvent
  18 UIKit -[UIApplication sendEvent:]
  17 UIKit -[UIApplication handleEvent:withNewEvent:]
  16 UIKit -[UIApplication _runWithURL:sourceBundleID:]
  15 UIKit -[UIApplication _performInitializationWithURL:sourceBundleID:]
  14 Personal Assistant -[PageonceAppDelegate
application:didFinishLaunchingWithOptions:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:156
  13 Personal Assistant -[PageonceAppDelegate
applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:90
  12 Personal Assistant -[AppDelegate applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/common/Classes/App
Controllers/AppDelegate.m:187
  11 Personal Assistant +[AdWhirlView
startPreFetchingConfigurationDataWithDelegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlView.m
:63
  10 Personal Assistant +[AdWhirlConfig fetchConfig:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:116
   9 Personal Assistant -[AdWhirlConfig initWithAppKey:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:166
   8 Foundation -[NSURLConnection initWithRequest:delegate:]
   7 Foundation -[NSURLConnection(NSURLConnectionPrivate)
_initWithRequest:delegate:usesCache:maxContentLength:startImmediately:connection
Properties:]
   6 CFNetwork CFURLConnectionCreateWithProperties
   5 CFNetwork URLConnection::initialize(_CFURLRequest const*,
CFURLConnectionClient_V1*, __CFDictionary const*)
   4 CFNetwork URLConnectionClient::URLConnectionClient(URLConnection*,
_CFURLRequest const*, CFURLConnectionClient_V1*, __CFDictionary const*)
   3 CFNetwork CFURLCacheCopySharedURLCache
   2 CFNetwork CFURLCacheCreate
   1 libstdc++.6.dylib operator new(unsigned long)
   0 libSystem.B.dylib malloc

Leaked Object: GeneralBlock - 32

  28 Personal Assistant start
  27 Personal Assistant main /Users/admin/Projects/iPhoneApps/PIA/main.m:14
  26 UIKit UIApplicationMain
  25 UIKit -[UIApplication _run]
  24 CoreFoundation CFRunLoopRunInMode
  23 CoreFoundation CFRunLoopRunSpecific
  22 GraphicsServices PurpleEventCallback
  21 UIKit _UIApplicationHandleEvent
  20 UIKit -[UIApplication sendEvent:]
  19 UIKit -[UIApplication handleEvent:withNewEvent:]
  18 UIKit -[UIApplication _runWithURL:sourceBundleID:]
  17 UIKit -[UIApplication _performInitializationWithURL:sourceBundleID:]
  16 Personal Assistant -[PageonceAppDelegate
application:didFinishLaunchingWithOptions:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:156
  15 Personal Assistant -[PageonceAppDelegate
applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:90
  14 Personal Assistant -[AppDelegate applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/common/Classes/App
Controllers/AppDelegate.m:187
  13 Personal Assistant +[AdWhirlView
startPreFetchingConfigurationDataWithDelegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlView.m
:63
  12 Personal Assistant +[AdWhirlConfig fetchConfig:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:116
  11 Personal Assistant -[AdWhirlConfig initWithAppKey:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:166
  10 Foundation -[NSURLConnection initWithRequest:delegate:]
   9 Foundation -[NSURLConnection(NSURLConnectionPrivate)
_initWithRequest:delegate:usesCache:maxContentLength:startImmediately:connection
Properties:]
   8 CFNetwork CFURLConnectionCreateWithProperties
   7 CFNetwork URLConnection::initialize(_CFURLRequest const*,
CFURLConnectionClient_V1*, __CFDictionary const*)
   6 CFNetwork URLConnectionClient::URLConnectionClient(URLConnection*,
_CFURLRequest const*, CFURLConnectionClient_V1*, __CFDictionary const*)
   5 CFNetwork CFURLCacheCopySharedURLCache
   4 CFNetwork CFURLCacheCreate
   3 CFNetwork __CFURLCache::__CFURLCache(_CFURLCache const*, long, long,
__CFString const*, bool)
   2 CFNetwork std::_Deque_base<__CFURLCacheNode*,
std::allocator<__CFURLCacheNode*> >::_M_initialize_map(unsigned long)
   1 libstdc++.6.dylib operator new(unsigned long)
   0 libSystem.B.dylib malloc

Leaked Object: NSCFArray

  27 Personal Assistant start
  26 Personal Assistant main /Users/admin/Projects/iPhoneApps/PIA/main.m:14
  25 UIKit UIApplicationMain
  24 UIKit -[UIApplication _run]
  23 CoreFoundation CFRunLoopRunInMode
  22 CoreFoundation CFRunLoopRunSpecific
  21 GraphicsServices PurpleEventCallback
  20 UIKit _UIApplicationHandleEvent
  19 UIKit -[UIApplication sendEvent:]
  18 UIKit -[UIApplication handleEvent:withNewEvent:]
  17 UIKit -[UIApplication _runWithURL:sourceBundleID:]
  16 UIKit -[UIApplication _performInitializationWithURL:sourceBundleID:]
  15 Personal Assistant -[PageonceAppDelegate
application:didFinishLaunchingWithOptions:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:156
  14 Personal Assistant -[PageonceAppDelegate
applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/PIA/Classes/App
Controllers/PageonceAppDelegate.m:90
  13 Personal Assistant -[AppDelegate applicationDidFinishLaunching:]
/Users/admin/Projects/iPhoneApps/common/Classes/App
Controllers/AppDelegate.m:187
  12 Personal Assistant +[AdWhirlView
startPreFetchingConfigurationDataWithDelegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlView.m
:63
  11 Personal Assistant +[AdWhirlConfig fetchConfig:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:116
  10 Personal Assistant -[AdWhirlConfig initWithAppKey:delegate:]
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:166
   9 Foundation -[NSURLConnection initWithRequest:delegate:]
   8 Foundation -[NSURLConnection(NSURLConnectionPrivate)
_initWithRequest:delegate:usesCache:maxContentLength:startImmediately:connection
Properties:]
   7 CFNetwork CFURLConnectionCreateWithProperties
   6 CFNetwork URLConnection::initialize(_CFURLRequest const*,
CFURLConnectionClient_V1*, __CFDictionary const*)
   5 CFNetwork URLConnectionClient::URLConnectionClient(URLConnection*,
_CFURLRequest const*, CFURLConnectionClient_V1*, __CFDictionary const*)
   4 CFNetwork CFURLCacheCopySharedURLCache
   3 CFNetwork CFURLCacheCreate
   2 CFNetwork __CFURLCache::__CFURLCache(_CFURLCache const*, long, long,
__CFString const*, bool)
   1 CoreFoundation __CFArrayInit
   0 CoreFoundation _CFRuntimeCreateInstance


Original issue reported on code.google.com by [email protected] on 14 Jan 2010 at 6:34

Landscape mode with OpenGL Woes

What steps will reproduce the problem?
1. Integrate in AdWhirl with a game using Landscape mode and GL
2.
3.

What is the expected output? What do you see instead?
Nice behaved banners. The banners overdraw the background view behind it. So 
you have a 
"rectangle" of the background color that is larger than the banner. This is 
caused by the 
fact that the support for landscape is pretty much non-existent. You guys are 
doing 
something weird to the UIViews. If I rotate them I am forced to create a 
frame/bounds that 
is much larger than the banner size in order to have it both draw and have 
proper touch 
values.

You can see a picture of this here:
http://forums.toucharcade.com/showthread.php?t=50313&page=5


We are getting lots of complaints on this.


What version of the product are you using? On what operating system?
This is iPhone. We are not using the latest SDK. All iPhone OS

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Apr 2010 at 11:32

Crash on 2.2.1

What steps will reproduce the problem?
1. Run a custom ad on a device running 2.2.1
2. Click the ad
3. Crash

What version of the product are you using? On what operating system?
adwhirl 2.2.0 (also exists in 2.1.3), building with any SDK and targeting 
iPhone OS 2.2.1 

Please provide any additional information below.
AdWhirlAdapterCustom.m includes the following if clause:

      if ([[UIApplication sharedApplication] canOpenURL:ad.redirectURL] == NO) 

canOpenURL is only available in iPhone OS 3.0 or greater, so this causes a 
crash when called.

Original issue reported on code.google.com by [email protected] on 31 Mar 2010 at 2:05

ignoreAutoRefreshTimer gets overridden

What steps will reproduce the problem?
1. call [adWhirlView ignoreAutoRefreshTimer];
2. tap an ad to present a modal view, or have uiapplication resign and reassume 
active status

What is the expected output? What do you see instead?
adWhirlView should still ignoreAutoRefreshTimer, but new calls are made

What version of the product are you using? On what operating system?
2.1.3 on any version of iPhone OS

Please provide any additional information below.
Only one bool is set in -(void)ignoreAutoRefreshTimer, and that function is 
used by multiple 
non-exclusive cases. -(void)helperNotifyDelegateOfFullScreenModalDismissal (in 
AdWhirlAdNetworkAdapter+Helpers.m), - (void)becomeActive:(NSNotification 
*)notifiction (in 
adWhirlView.m) override both each other and any client requests to pause the 
autorefresh timer. 
These three cases (and any future ones) should each set their own bools, and 
the adWhirlView 
instance should probably have a wrapper function and only refresh ads when all 
three BOOLS 
agree that the ads don't need to be paused.

Original issue reported on code.google.com by [email protected] on 9 Mar 2010 at 8:03

AdWhirl lib crashes in certain condition

What steps will reproduce the problem?

1. Get web ads (adsense, house ad...)
2. Wait until adwhirl refresh ads
3. When adwhirl starts to request new ads (and before it replaces banner view), 
tap banner to open web view
4. AdWhirl replaces banner view in background of ad web view (User looks ad web 
view)
5. Close ad web view, which crashes app (because adwhirl already releases ad 
banner view)

What version of the product are you using? On what operating system?

AdWhirl iPhone lib 2.3.0 with iOS SDK 4.0

Please provide any additional information below.

Please find attached patch, which retains adapter before open web view and 
autorelease it after user closes web view. (I only apply patch for the adapters 
I'm using.) It does also not clear adwhirl delegate, because delegate should be 
noticed when ad web view is closed. The patch is kinda workaround, so adwhirl 
library should make sure that it retains replaced banner view until user closes 
ad's web view.

Original issue reported on code.google.com by [email protected] on 18 Jun 2010 at 4:41

Attachments:

Random crash with AdMob

What steps will reproduce the problem?
This is a random crash. There seems to be no correlation with events and when 
the crash 
occurs.

What is the expected output? What do you see instead?
This is a crash.

What version of the product are you using? On what operating system?
iPhone game. Base SDK 3.0, deployment target 2.2.1. Happens across all devices.

Please provide any additional information below.
I am experiencing a weird random crash with AdMob. I am using AdWhirl
to integrate it in. The crash log looks like:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000414
Crashed Thread:  0

Thread 0 Crashed:
0   libobjc.A.dylib                     0x334776f4 0x33475000 + 9972
1   App                                 0x000cffe0 -[AdMobAd
backgroundColor] + 48
2   App                                 0x000df1e4 -
[AdMobOldSchoolSingleAdView drawRect:] + 248

It also sometimes happens on just the AdMobOldSchoolSingleAdView
method.

Original issue reported on code.google.com by [email protected] on 22 Mar 2010 at 6:57

  • Merged into: #14

iAds not showing on iPhone 4 but do show on upgraded devices

What steps will reproduce the problem?
1. Use a new iPhone 4
2. Try to see iAd appear
3.

What is the expected output? What do you see instead?
To see the iAd on the iphone 4.

What version of the product are you using? On what operating system?
using the newest SDK... on iOS 4, device iPhone 4. Show's on older iPhones and 
iPod touches that have been upgraded to 4.0

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Jun 2010 at 7:47

SectionID for iAd?

Trying to setup iAd via adWhirl.

What is the "sectionID" ?

Other developers are having the same problem:

https://devforums.apple.com/message/238241

thank you,

Matt
[email protected]


Original issue reported on code.google.com by [email protected] on 22 Jun 2010 at 8:15

AdWhirlView didFailAd method should be called from Main Thread

According to QuattroWireless library document (QWAdView.h),
adView:failedWithError:error is called from background threads. In
AdWhirlAdapterQuattro.m, the callback method calls [adWhirlView
adapter:didFailAd] directly, which may causes some issues on client end.
All callback methods should be called from main thread for avoiding library
users confusion and application crashes.


Original issue reported on code.google.com by [email protected] on 19 Feb 2010 at 12:59

Attachments:

failed pre-fetching adwhirl config

What steps will reproduce the problem?
Happens every so often

What is the expected output? What do you see instead?
2010-03-26 13:59:38.141 Betscores[3065:207] Failed pre-fetching
AdWhirl config: Error Domain=com.adwhirl.sdk.ErrorDomain Code=11
UserInfo=0x3b78a0 "Config server did not return status 200"

What version of the product are you using? On what operating system?
2.1.3

Ad doesn't show after this error occurs

Original issue reported on code.google.com by [email protected] on 26 Mar 2010 at 5:56

AdWhirl SDK tries to connect to 127.0.0.1

I added the adwhirl sdk to my project and followed the instructions for
android. but unfortunately adwhirl tries to connect to 127.0.0.1 and fails
of course. I think this way I won't be able to display any ads at all. How
can I fix this? Or do you need more information on this?
Here is the Stacktrace:
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354): Caught IOException in
fetchConfig()
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):
org.apache.http.conn.HttpHostConnectException: Connection to
http://mob.adwhirl.com refused
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(Default
ClientConnectionOperator.java:133)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapt
er.java:119)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirecto
r.java:348)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:5
55)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:4
87)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:4
65)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
com.adwhirl.AdWhirlManager.fetchConfig(AdWhirlManager.java:203)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
com.adwhirl.AdWhirlManager.init(AdWhirlManager.java:92)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
com.adwhirl.AdWhirlManager.<init>(AdWhirlManager.java:70)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
com.adwhirl.AdWhirlLayout$3.run(AdWhirlLayout.java:103)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354): Caused by:
java.net.ConnectException: mob.adwhirl.com/127.0.0.1:80 - Connection refused
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:255)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:535)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
java.net.Socket.connect(Socket.java:1054)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.
java:117)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(Default
ClientConnectionOperator.java:129)
03-09 17:49:38.882: ERROR/AdWhirl SDK(1354):     ... 10 more
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354): Caught IOException in
fetchConfig()
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):
org.apache.http.conn.HttpHostConnectException: Connection to
http://mob.adwhirl.com refused
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(Default
ClientConnectionOperator.java:133)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapt
er.java:119)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirecto
r.java:348)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:5
55)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:4
87)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:4
65)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
com.adwhirl.AdWhirlManager.fetchConfig(AdWhirlManager.java:203)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
com.adwhirl.AdWhirlManager.init(AdWhirlManager.java:92)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
com.adwhirl.AdWhirlManager.<init>(AdWhirlManager.java:70)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
com.adwhirl.AdWhirlLayout$3.run(AdWhirlLayout.java:103)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354): Caused by:
java.net.ConnectException: mob.adwhirl.com/127.0.0.1:80 - Connection refused
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:255)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:535)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
java.net.Socket.connect(Socket.java:1054)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.
java:117)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(Default
ClientConnectionOperator.java:129)
03-09 17:49:38.912: ERROR/AdWhirl SDK(1354):     ... 10 more

Thanks in advance



Original issue reported on code.google.com by [email protected] on 9 Mar 2010 at 4:53

Custom Events implementation is faulty

What steps will reproduce the problem?
1. Implement custom events as shown in the Invoker.java example.  Invoker class 
implements the custom event method.
2. Subclass Invoker to create a new activity class, which is launched as a new 
activity.
3. Setup a custom event in AdWhirl web interface to call your new event method 
name.

What is the expected output? What do you see instead?
Expect that the custom event will fire.
Instead, you will get NoSuchMethodException.

What version of the product are you using? On what operating system?
Android SDK 2.1.1

Please provide any additional information below.

There are two problems involved here:

1) EventAdapter uses listenerMethod.invoke(**listenerClass.newInstance()**, 
(Object[]) null);

in the Invoker.java example, listenerClass is a subclass of Activity, and 
SHOULD NOT be instantiate as a new object instance unless it is done as part of 
the standard Android lifecycle.  Since "listenerClass" is obtained via:
Class<? extends AdWhirlInterface> listenerClass = 
this.adWhirlLayout.adWhirlInterface.getClass();

that means you already have an instance of the target class, and therefore you 
have no reason to create a new instance of it.

2) EventAdapter uses listenerMethod = 
listenerClass.get**Declared**Method(method, (Class[]) null);

This means it requires that the custom event method be defined on the subclass, 
and does not consider the fact that the method may be implemented in a 
superclass.  Changing that to just "getMethod" will allow it to search in 
super-classes as well.

The working code now looks like:

            Class<? extends AdWhirlInterface> listenerClass = this.adWhirlLayout.adWhirlInterface.getClass();
            Method listenerMethod;
            try
            {
                listenerMethod = listenerClass.getMethod(method, (Class[]) null);
                listenerMethod.invoke(this.adWhirlLayout.adWhirlInterface, (Object[]) null);
            }
            catch (Exception e)
            {
                Log.e(AdWhirlUtil.ADWHIRL, "Caught exception in handle()", e);
            }

Original issue reported on code.google.com by [email protected] on 21 Jun 2010 at 10:05

Unable to determine nid from appId

What steps will reproduce the problem?
1. I already have AdWhirl account
2. I already setup 2 ad networks, Admob and Quatro
3. I tried to access Custom Ad Request using web browser, to test the 
protocol V2: http://cus.adwhirl.com/custom.php?
appid=3bc2acddc48249519dc2025b8e2e3e82&uuid=0000000000000000522c0e0b1fa7894
d&country_code=en_US&location=11.325432,-
42.787399&location_timestamp=1265154619.172145&appver=200&client=4

What is the expected output? What do you see instead?
Expected: JSON of result, at least there should be Admob and Quatro
I see: Unable to determine nid from appId

What version of the product are you using? On what operating system?
2

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 May 2010 at 4:04

Support standard targeting

Many of the supported adapters also support setting targeting values to be sent 
to the network for filling the request (AdMob is one; and MillenialAdapter.java 
shows a commented out example).

It would be useful to have an AdManager-like object for AdWhirl that will take 
care of setting the most common targeting criteria for all adapters, however 
each adapter does that (if at all), when that information is known -- most 
importantly: age and gender.


What version of the product are you using? On what operating system?
AdWhirlSDK_Android_2.1.1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 18 Jun 2010 at 6:44

Leak in AdWhirlView's makeAdRequest:

In AdWhirlView.m's makeAdRequest, self.currAdapter will retain adapter, so:

AdWhirlAdNetworkAdapter *adapter = [nextAdNetwork.adapterClass alloc];
self.currAdapter = [adapter initWithAdWhirlDelegate:delegate
                                                 view:self
                                               config:config
                                        networkConfig:nextAdNetwork];

should change to:

self.currAdapter = [[adapter initWithAdWhirlDelegate:delegate
                                                 view:self
                                               config:config
                                        networkConfig:nextAdNetwork] autorelease];

Original issue reported on code.google.com by [email protected] on 15 Jan 2010 at 8:12

Quattro Wireless location awareness

Using the Quattro Wireless adapter in an App without any Location Aware 
features. According to Apples recommendations you shouldn't use Core Location 
just for Ads, so I disabled Location based Ads in the AdWhirl Config, but I'm 
still getting the Core Location nag-screen if Quattro Wireless is used.

Adding this to AdWhirlAdapterQuattro.m should fix this problem:

- (id)initWithAdWhirlDelegate:(id<AdWhirlDelegate>)delegate
                         view:(AdWhirlView *)view
                       config:(AdWhirlConfig *)config
                networkConfig:(AdWhirlAdNetworkConfig *)netConf {
    if (self = [super initWithAdWhirlDelegate:delegate view:view config:config networkConfig:netConf]) {
        QWEnableLocationServicesForAds([config locationOn]);
    }
    return self;
}

Original issue reported on code.google.com by [email protected] on 6 Feb 2010 at 4:26

iPhone: Video goal should open native player

Zac:

"I have a house ad where I'd like the click action to open the iPhone
youtube player. I set the ad up as a house ad, with a goal of video,
and Goal URL as http://www.youtube.com/watch?v=ckw4VZfZ_PA

On click, it shows a youtube page, then on second click, invokes the
iPhone video.

Is there a way for it to invoke the player natively (ie, without going
to Youtube first?"

Thanks for reporting. Do you want AdWhirl to open the native YouTube app to
show the video if the goal URL is youtube?


Original issue reported on code.google.com by nigel%[email protected] on 12 May 2010 at 2:38

consistently getting nextRation is null

From the NexusOne, I am always hitting this block of code in AdWhirlLayout:
                // We shouldn't ever get to a state where nextRation is
null... but just in case.
                if(nextRation == null) {
                        Log.e(AdWhirlUtil.ADWHIRL, "nextRation is null!");
                        rotateAd();
                        return;
                }

The only advertiser setup is AdMob. AdMob is setup to not serve any test ads.

From the emulator, I get advertisements in test mode.
From the emulator, I do not get ads in non-test mode.
From the NexusOne, I do not get advertisements in test mode.
From the NexusOne, I do not get advertisements in non-test mode.

Original issue reported on code.google.com by [email protected] on 16 May 2010 at 4:11

VerifyErrors

What steps will reproduce the problem?
1. Add AdWhirl SDK, with QuattroAdapter class
2. App crashes with VerifyError

What is the expected output? What do you see instead?
Missing adapter should not be fatal.

What version of the product are you using? On what operating system?
AdWhirl Android 2.1.1

Please provide any additional information below.

The actual error is related to a missing QuattroAdapter class.  The failure 
appears to be caused by not having the Quattro API included in the project, as 
it is failing while looking for Interface 
com.qwapi.adclient.android.view.AdEventsListener.   Relevant logcat messages:

06-21 13:22:05.347 I/dalvikvm( 1007): Failed resolving 
Lcom/adwhirl/adapters/QuattroAdapter; interface 890 
'Lcom/qwapi/adclient/android/view/AdEventsListener;'
06-21 13:22:05.347 W/dalvikvm( 1007): Link of class 
'Lcom/adwhirl/adapters/QuattroAdapter;' failed
06-21 13:22:05.347 E/dalvikvm( 1007): Could not find class 
'com.adwhirl.adapters.QuattroAdapter', referenced from method 
com.adwhirl.adapters.AdWhirlAdapter.getAdapter
06-21 13:22:05.347 W/dalvikvm( 1007): VFY: unable to resolve new-instance 327 
(Lcom/adwhirl/adapters/QuattroAdapter;) in Lcom/adwhirl/adapters/AdWhirlAdapter;
06-21 13:22:05.347 W/dalvikvm( 1007): VFY:  rejecting opcode 0x22 at 0x002c
06-21 13:22:05.347 W/dalvikvm( 1007): VFY:  rejected 
Lcom/adwhirl/adapters/AdWhirlAdapter;.getAdapter 
(Lcom/adwhirl/AdWhirlLayout;Lcom/adwhirl/obj/Ration;)Lcom/adwhirl/adapters/AdWhi
rlAdapter;
06-21 13:22:05.347 W/dalvikvm( 1007): Verifier rejected class 
Lcom/adwhirl/adapters/AdWhirlAdapter;
06-21 13:22:05.357 D/AndroidRuntime( 1007): Shutting down VM
06-21 13:22:05.367 W/dalvikvm( 1007): threadid=3: thread exiting with uncaught 
exception (group=0x4000fe70)
06-21 13:22:05.777 E/AndroidRuntime( 1007): Uncaught handler: thread main 
exiting due to uncaught exception
06-21 13:22:05.807 E/AndroidRuntime( 1007): java.lang.VerifyError: 
com.adwhirl.adapters.AdWhirlAdapter
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:155)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
com.adwhirl.AdWhirlLayout.access$0(AdWhirlLayout.java:144)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
com.adwhirl.AdWhirlLayout$1.run(AdWhirlLayout.java:85)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
android.os.Handler.handleCallback(Handler.java:587)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
android.os.Handler.dispatchMessage(Handler.java:92)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
android.os.Looper.loop(Looper.java:123)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
android.app.ActivityThread.main(ActivityThread.java:3948)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
java.lang.reflect.Method.invokeNative(Native Method)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
java.lang.reflect.Method.invoke(Method.java:521)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
06-21 13:22:05.807 E/AndroidRuntime( 1007):     at 
dalvik.system.NativeStart.main(Native Method)
06-21 13:22:05.827 I/Process (   58): Sending signal. PID: 1007 SIG: 3

Original issue reported on code.google.com by [email protected] on 21 Jun 2010 at 5:31

UIViewController delegate

Some ad libraries such as Google AdSense, or latest AdMob require
application's primary UIViewController. It would be nice to have following
optional delegate method in AdWhirlDelegate protocol, so that adapter can
test and call the method to provide application top view controller.

@protocol AdWhirlDelegate<NSObject>

  ....

@optional
- (UIViewController*)currentViewController;
@end

Original issue reported on code.google.com by [email protected] on 23 Mar 2010 at 9:27

AdWhirl/iPhone concurrency - does not send appId

It looks like if people are using multiple adwhirl spots within one application 
it will cause some issue with the appid and send (null) instead. The same thing 
happened for android and I think I fixed it - so I think these are coming from 
the iPhone version

I'm seeing a decent amount of these in the logs:

GET 
/exmet.php?appid=(null)&nid=26fe866b88e74d6ba5d1be984151c978&type=1&uuid=2B8DEFE
ADAC20ADAFFF6647813794E22&country_code=en_US&appver=223&client=1 HTTP/1.1

Original issue reported on code.google.com by [email protected] on 22 Jun 2010 at 9:45

[Android] No ad loaded when in Wifi mode

What steps will reproduce the problem?
1. Turn on Wifi and be sure that your connected to internet with Wifi
2. Show Adwhirl view : no ads are loaded.
3. Turn off Wifi, and check that 3G network is active.
4. Show adWhirl view : ads are correctly displayed.

Why is there no ad when in Wifi ?

I'm using AdWhirlSDK_Android_202 library

Mobile is HTC Hero (standard : un-rooted, 1.5 SDK)

Permissions are :

    <uses-permission
        android:name="android.permission.INTERNET" />
    <uses-permission
        android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission
        android:name="android.permission.ACCESS_COARSE_LOCATION" />

Original issue reported on code.google.com by [email protected] on 9 Mar 2010 at 9:16

Sporadic 2.1.1 SDK crash.

With the 2.1.1 SDK, I'm getting a similar problem to this one:
http://code.google.com/p/adwhirl/issues/detail?id=2

The stack trace is pointing to AdWhirlAdapterCustom.m.  In lines 167 and
316, NSError * objects are being declared but not initialized.  I changed
them to be initialized to nil, and I haven't seen any crashes since.  (I
can't guarantee that this is a fix, but it seems likely, and anyway it's
good practice to initialize anything you declare.)

Cheers,
David

Original issue reported on code.google.com by [email protected] on 17 Feb 2010 at 9:38

custom ad send link_type to client

What steps will reproduce the problem?
1.Create custom ad
2.Set Goal to Maps
3.Server will respond with configuration file with wrong launch_type


What is the expected output? What do you see instead?

For custom ads AdWhirl are responding GOAL=Website --> launch_type=2 and 
for all others value of GOAL=iPhoneAppStore,ClickToCall,Video... -->  
launch_type=1 , so this is not working properly

This is even not by documentation:
": Browser -- i.e. for iPhone use [[UIApplication sharedApplication] 
openURL:]
2: Canvas -- internal web view
3: Safari Redirect Follow Through"

Real values SHOULD be like:
Website = 1
iPhoneAppStore = 2
AndroidMarket = 3
ClickToCall = 4
Video = 5
Audio = 6
iTunes = 7
Maps = 8


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 18 May 2010 at 9:34

Sporadic SDK crash (when failing to parse config).

Stack trace:

Thread 0 Crashed:
0   libobjc.A.dylib                     0x323fe700 0x323fc000 + 9984
1   CoreFoundation                      0x32514527 0x32511000 + 13607
2   CoreFoundation                      0x3254c013 0x32511000 + 241683
3   CoreFoundation                      0x325619af 0x32511000 + 330159
4   CoreFoundation                      0x3256163d 0x32511000 + 329277
5   CoreFoundation                      0x32569c47 0x32511000 + 363591
6   FluentNews                          0x000553fb -[AdWhirlError
initWithCode:description
:underlyingError:] (AdWhirlError.m:53)
7   FluentNews                          0x000554b3 +[AdWhirlError
errorWithCode:descriptio
n:underlyingError:] (AdWhirlError.m:34)
8   FluentNews                          0x000533d1 -[AdWhirlConfig
parseConfig:error:] (Ad
WhirlConfig.m:511)
9   FluentNews                          0x00053e07 -[AdWhirlConfig
connectionDidFinishLoad
ing:] (AdWhirlConfig.m:564)
10  Foundation                          0x314564c1 0x313ed000 + 431297
11  Foundation                          0x31456443 0x313ed000 + 431171
12  CFNetwork                           0x31ba4c0b 0x31b8d000 + 97291
13  CFNetwork                           0x31b97811 0x31b8d000 + 43025
14  CFNetwork                           0x31b97977 0x31b8d000 + 43383
15  CFNetwork                           0x31b97977 0x31b8d000 + 43383
16  CFNetwork                           0x31b97715 0x31b8d000 + 42773
17  CFNetwork                           0x31b976cd 0x31b8d000 + 42701
18  CFNetwork                           0x31b9764f 0x31b8d000 + 42575
19  CFNetwork                           0x31b975f1 0x31b8d000 + 42481
20  CoreFoundation                      0x32567a9d 0x32511000 + 354973
21  CoreFoundation                      0x3256735d 0x32511000 + 353117
22  GraphicsServices                    0x32912cbf 0x3290f000 + 15551
23  GraphicsServices                    0x32912d6b 0x3290f000 + 15723
24  UIKit                               0x32b6276f 0x32b60000 + 10095
25  UIKit                               0x32b61473 0x32b60000 + 5235
26  FluentNews                          0x0000305b main (main.m:26)

What steps will reproduce the problem?
1. In AdWhirlConfig.m, in
the parseConfig method:

- (BOOL)parseConfig:(NSData *)data error:(NSError **)error {
 NSError *jsonError;
 id parsed = [[CJSONDeserializer deserializer] deserialize:data
error:&jsonError];
 if (parsed == nil) {
   if (error != nil)
     *error = [AdWhirlError errorWithCode:AdWhirlConfigParseError
                              description:@"Error parsing config JSON
from server"
                          underlyingError:jsonError];
   return NO;
 }

I set parsed = nil after the deserialize call:

- (BOOL)parseConfig:(NSData *)data error:(NSError **)error {
 NSError *jsonError;
 id parsed = [[CJSONDeserializer deserializer] deserialize:data
error:&jsonError];
 parsed = nil;
 if (parsed == nil) {
   if (error != nil)
     *error = [AdWhirlError errorWithCode:AdWhirlConfigParseError
                              description:@"Error parsing config JSON
from server"
                          underlyingError:jsonError];
   return NO;
 }


and saw a crash with the same stack trace.

I would guess that you could reproduce it by tinkering with your config
server, but I'm not sure how.

What is the expected output? What do you see instead?

...

What version of the product are you using? On what operating system?

AdWhirl 2.0.0 on iPhone OS 3.0 and higher.

Please provide any additional information below.

One easy fix was to
initialize jsonError to nil:

- (BOOL)parseConfig:(NSData *)data error:(NSError **)error {
 NSError *jsonError = nil;
 ...

Another fix is to use deserializeDictionary instead of deserialize
(which is deprecated) but that might be a larger change and I don't
want to get tangled up in that.  :-)

I might not have reproduced the exact problem happening in the wild,
but I'm willing to submit a bugfix release with one or both of these
changes and see where it gets us.

Cheers,
David

Original issue reported on code.google.com by [email protected] on 11 Jan 2010 at 9:31

AdWhirl lib crassh in unstable network

What steps will reproduce the problem?
1. Failed to load AdWhirl config at startup
2. Refresh ads minutes later or so
3. Library crash

What version of the product are you using? On what operating system?

AdWhirl 2.0.0


Please provide any additional information below.

It seems lastError is released twice. Please find attached crash log and patch.

 - (void)adWhirlConfigDidFail:(NSError *)error {
  AWLogError(@"Failed fetching AdWhirl config: %@", error);
  [lastError release];
-  lastError = error;
+  lastError = [error retain];
  if ([delegate respondsToSelector:@selector(adWhirlDidFailToReceiveAd:usingBac
    [[self retain] autorelease]; // to prevent self being freed before this ret
    [delegate adWhirlDidFailToReceiveAd:self usingBackup:NO];

Original issue reported on code.google.com by [email protected] on 14 Jan 2010 at 7:03

Attachments:

/files/AdWhirlSDK_Android_202.zip was not found on this server.

What steps will reproduce the problem?
1. Go to http://code.google.com/p/adwhirl/downloads/list
2.Click on File Name AdWhirlSDK_Android_202.zip
3.

What is the expected output? What do you see instead?

A file Download instead got The requested URL
/files/AdWhirlSDK_Android_202.zip was not found on this server. 

What version of the product are you using? On what operating system?

Fire Fox

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Mar 2010 at 9:48

cannot find AdMobAdapter

What steps will reproduce the problem?
1. Followed the steps in the Read Me file
2. Included AdMob and Quattra SDK as well
3. Looks like it cannot find the AdListener

What is the expected output? What do you see instead?
See ads.. but just see one question mark

What version of the product are you using? On what operating system?
2.0.8 - The one currently on this site

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 31 May 2010 at 7:39

Handle case when ad network never returns

What steps will reproduce the problem?
1. request ad
2. kill network before response causing network timeout
3. AdWhirl code is stuck and will never request any further ads even when 
network is back

What is the expected output? What do you see instead?

Should set a timeout for ad network response. This is more acute as 
applications will be more long-lived in iOS 4.


Original issue reported on code.google.com by nigel%[email protected] on 16 Jun 2010 at 11:02

Memory leak in AdWhirlConfig checkReachability

I noticed that sometimes when I activate my application on a device in release 
mode and use the 
Leaks tool I see the following memory leak due to the call to [AdWhirlConfig 
checkReachability]

GeneralBlock-3584

  26 TripTracker Pro start
  25 TripTracker Pro main /Users/admin/Projects/iPhoneApps/TripTracker/main.m:15
  24 UIKit UIApplicationMain
  23 UIKit -[UIApplication _run]
  22 CoreFoundation CFRunLoopRunInMode
  21 CoreFoundation CFRunLoopRunSpecific
  20 GraphicsServices PurpleEventCallback
  19 UIKit _UIApplicationHandleEvent
  18 UIKit -[UIApplication sendEvent:]
  17 UIKit -[UIApplication handleEvent:withNewEvent:]
  16 UIKit -[UIApplication _runWithURL:sourceBundleID:]
  15 UIKit -[UIApplication _performInitializationWithURL:sourceBundleID:]
  14 TripTracker Pro -[PageonceAppDelegate application:didFinishLaunchingWithOptions:] 
/Users/admin/Projects/iPhoneApps/TripTracker/Classes/App 
Controllers/PageonceAppDelegate.m:117
  13 TripTracker Pro -[PageonceAppDelegate applicationDidFinishLaunching:] 
/Users/admin/Projects/iPhoneApps/TripTracker/Classes/App 
Controllers/PageonceAppDelegate.m:81
  12 TripTracker Pro -[AppDelegate applicationDidFinishLaunching:] 
/Users/admin/Projects/iPhoneApps/common/Classes/App 
Controllers/AppDelegate.m:281
  11 TripTracker Pro +[AdWhirlView startPreFetchingConfigurationDataWithDelegate:] 
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlView.m
:63
  10 TripTracker Pro +[AdWhirlConfig fetchConfig:delegate:] 
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:144
   9 TripTracker Pro -[AdWhirlConfig initWithAppKey:delegate:] 
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:211
   8 TripTracker Pro -[AdWhirlConfig checkReachability] 
/Users/admin/Projects/iPhoneApps/common/Libraries/AdWhirl/internal/AdWhirlConfig
.m:759
   7 SystemConfiguration SCNetworkReachabilityScheduleWithRunLoop
   6 SystemConfiguration __SCNetworkReachabilityScheduleWithRunLoop
   5 SystemConfiguration __SCNetworkReachabilityGetFlags
   4 libSystem.B.dylib getaddrinfo_async_start
   3 libSystem.B.dylib getaddrinfo_async_call
   2 libSystem.B.dylib si_async_call
   1 libSystem.B.dylib pthread_create
   0 libSystem.B.dylib malloc

At this point I still don't show any ads.
I am using your latest SDK 2.1.1 with my application TripTracker Pro on a 3GS 
device connected 
by Wifi

Original issue reported on code.google.com by [email protected] on 17 Feb 2010 at 4:18

NullPointer Exception

What steps will reproduce the problem?
Serve ads in an Android Application.

What is the expected output? What do you see instead?
Expected to work.  On occasion, my users get a NullPointer Exception crash.

What version of the product are you using? On what operating system?
Using v2.1.1 on Android

Please provide any additional information below.
I am serving ads from all 3 networks (admob, millenial, quattro)
The crash seems to be occuring mainly on Verizon Droid and Nexus Ones.

Here is the crash report from Android Market:
---------------------------------------------
java.lang.NullPointerException:
  at com.qwapi.adclient.android.service.AdRequestThread$1.handleMessage([unknown source]:-1)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:123)
  at com.qwapi.adclient.android.service.AdRequestThread.run([unknown source]:-1)

Original issue reported on code.google.com by [email protected] on 18 Jun 2010 at 8:49

Problem with filtered adwhirl json parsing

I'm having crashes in iPhone clients going through ad-filtering proxies. The 
problem arises in 
an iPhone client joining a wifi network were the gateway goes through a mac 
using the software 
Glimmerblocker. I would expect ads to stop working, but the client crashes 
parsing JSON 
configuration. The relevant stack trace is:

#5  0x026be5b9 in +[NSDictionary dictionaryWithObjectsAndKeys:]
#6  0x000e9599 in -[AdWhirlError initWithCode:description:underlyingError:] at 
AdWhirlError.m:52
#7  0x000e9430 in +[AdWhirlError errorWithCode:description:underlyingError:] at 
AdWhirlError.m:34
#8  0x000e7ab2 in -[AdWhirlConfig parseConfig:error:] at AdWhirlConfig.m:524
#9  0x000e7e83 in -[AdWhirlConfig connectionDidFinishLoading:] at 
AdWhirlConfig.m:577

At frame 8, there is a call to [[CJSONDeserializer deserializer] 
deserialize:data error:&jsonError]. 
The contents of the data variable are can be found at 
http://dl.dropbox.com/u/145894/t/adwhirl_json_parse_bug.txt. It's a plain HTML 
file served by 
Glimmerblocker. I'm attaching it as well to the issue, that URL may not last.

The code fails gracefully, but the problem is that the jsonError pointer 
variable is set to an 
incorrect address, as shown by gdb. I tried printing as a string but didn't 
find any useful string 
in there or increasing the pointer.

(gdb) print-object (char*)jsonError
<not an object>
(gdb) print (char*)jsonError
$1 = 0x93d81f13 "\203\304\f1\322\377\340\350"

Therefore, in the error handling code of AdWhirl an AdWhirlError is tried to be 
created, but the 
jsonError being garbage makes the NSDictionary construction to fail.

Since the client is using Admob, it is using the JSON binary library statically 
linked against it, 
and there's no way to debug it. The client is linked against the last found at 
admob_iphone_sdk_20091119. The AdWhirl SDK version I'm using is 2.0.2.

To get around this problem I patched the connection method to avoid getting non 
2xx 
connections, which I believe is good anyway because the client avoids 
downloading useless 
content that wastes bandwidth. I'm also attaching this patch, generated against 
a local git 
repo, so paths won't be right.

Original issue reported on code.google.com by [email protected] on 22 Feb 2010 at 7:44

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.