03-06-2013 06:13 PM
I created a Blackberry Ads account, followed the instructions. When I implement it in my webworks app, everything seems fine other than I get a white rectangle with no content. I thought it was my app that was creating the prob so I created a blank html page, dumped the example code with my zone id and it is still blank.
Here's my test code:
Does anyone have encounter this before? I'm sure i'm not the first one to try to implement this interface. Thanks
03-06-2013 06:49 PM
I followed the instructions in the API:
It falls under BB10. So I think it whould be available under BB10
I discovered some ripple errors as I was looking for an anwser. I will post the solution when I find it. Otherwise, I invte people to post their suggestion
03-08-2013 01:26 PM
Ads are not yet supported in WebWorks BB10 . The link you submitted is under BBOS. Support will most likely come in the future.
I'm not sure if anyone else has a third party API?
03-08-2013 01:47 PM
Not to sound too condescending with this but the link points out the BOX under BB10 in the left menu. However, that would also explain why only the demo zone id works and not the one I registered.
I'm stating to find that developing for BB10 is not worth doing at the moment. I can't get the blackberry.identity.uuid to work, I can't get the ads to work... and half of the example won't work correctly on BB10 Gold because someone decided to remove <access uri="*">!
This is getting fustrating.
Do you think it would be possible to get a full list of what API actually works as of release 10.0.10.85 and what doesn't?
03-08-2013 02:06 PM - edited 03-08-2013 02:06 PM
Hmm, not sure I agree. When I click on BB10 this is the listing of supported API's I get: http://developer.blackberry.com/html5/apis/bb10_in
I'm not sure I understand your comment on access uri="*" being removed. We have most certainly not removed it. We did do some updating to our whitelisting logic; but this was to remain consistent with the WebKit logic. If you have a specific gripe feel free to pester me, I'll do my best to help out.
As far as a full list of APIs that work on BB10. We don't release API's to the docs unless we have tested them. So this list should serve as the one you desire: http://developer.blackberry.com/html5/apis/bb10_in
If you are having problems withthe identitiy API let me know. Here are the docs for it, which you can see is supported across BBOS5 thru 10: http://developer.blackberry.com/html5/apis/blackbe
03-08-2013 04:52 PM
03-08-2013 05:32 PM
I can't confirm what SDK version, but what happened is we turned web security ON when it was previously off. The good news is that means that you can expect the same security model as the browser.
The bad news with it was that we had to explicitly whitelist our cross-site XHR requests so that you could still get away with them.
If you explicitly whitelist the domains that you make cross-site XHR requests too it will work fine. However if you would like to turn off all web security (which I would not advise unless you must) you can do so.
03-08-2013 10:08 PM
I have also tried it, I don't get any error in simulator but get this in the web inspector
"error in webworks Ad iframe loggingReferenceError: Can't find variable: blackberry.."
Any idea what's this?
03-11-2013 07:17 PM