Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 17
Registered: ‎03-06-2013
My Device: Playbook
My Carrier: Fido

Blackberry webworks for Z10 and ad banner

I have developed a small app and it works fine on simulator. It shows the ad when I use the blackberry trial zone id but when I use my zone id I keep getting this error. 

 

I am wondering if it's my ad setting (BB10 cascades) or anything else

 

https://dl.dropbox.com/u/43903708/BB10Errors/error.PNG

Developer
Posts: 134
Registered: ‎05-19-2012
My Device: Torch 9800, PlayBook 64GB, Dev Alpha
My Carrier: VIVO Brazil

Re: Blackberry webworks for Z10 and ad banner

Looks like you don't have the blackberry namespace available. Are you including the webworks.js file with your project?
If I helped you please click the "Like" button to support my work.
My apps: CherryNotes - Bookmarked - Requests
Social Me: about.me - Twitter
Contributor
Posts: 17
Registered: ‎03-06-2013
My Device: Playbook
My Carrier: Fido

Re: Blackberry webworks for Z10 and ad banner

This are the javascripts I am using:

 

<script src="lib/BlackBerry-JQM-all.min.js"></script>

<script type="text/javascript" src="http://www.blackberry.com/app_includes/asdk/adBanner.js"></script>
<script src="lib/jquery.xml2json.js"></script> 
<script src="lib/date.format.js"></script> 
<script src="local:///chrome/webworks.js" type="text/javascript"></script>

 And my config file looks like this:

<access subdomains="true" uri="http://www.blackberry.com/"> 
       <feature id="blackberry.advertising" required="true" version="1.0.0" /> 
    </access> 
    <accesss subdomains="true" uri="*" /> 
	
	<feature id="blackberry.app" required="true" version="1.0.0.0">
          <param name="websecurity" value="disable" />
    </feature>

 

Developer
Posts: 27
Registered: ‎02-22-2010
My Device: Password

Re: Blackberry webworks for Z10 and ad banner

I managed to get the banners to work only with the demo zone ID. The one that was issued to me isn't working. 

 

It seems the API is still in beta 

 

 

Contributor
Posts: 17
Registered: ‎03-06-2013
My Device: Playbook
My Carrier: Fido

Re: Blackberry webworks for Z10 and ad banner

[ Edited ]

Same thing here. That's really frustating. Wanted to release an app in Z10, but will wait till this is fixed.