04-05-2013 01:09 PM
I've seen that this has been a known issue here in the forums since the release of the Gold SDK, but I ran into this issue for the first time today. I'm using the dropbox.js library to interact with the Dropbox API. The problem is that the OAuth page redirects to local:///index.html#?the_oauth_return_parameters_h
<feature id="blackberry.app" > <param name="websecurity" value="disable" /> </feature> <access uri="*" subdomains="true" /> <access uri="https://dropbox.com" subdomains="true" /> <content src="local:///index.html" />
Everywhere I look in the forums and in the BB10 WebWorks Examples I see that that's the correct way to workaround this issue, but why in my case it isn't working?
Solved! Go to Solution.
04-08-2013 11:22 AM
I'm curious, if you add <access uri="local:///" subdomains="true"/> does that fix the error? There might be some weird white-listing things going on.
04-09-2013 12:16 PM
04-11-2013 11:01 AM
Disabling web security should essentially whitelist any URL. If you omit all <access> elements, do you still see the issue? Also, to confirm, is this testing being done on a physical device or within Ripple?
04-11-2013 12:55 PM
My guess is that it might have something to do with the parameters that are appended onto the end of the URL. That it may be trying to find a local file with the full name of the URL that is being provided.
04-11-2013 06:39 PM
Disabled all the <access> elements and the problem continues. I'm testing on my LE (since I have the Remote Web Inspector there's just no reason not to).
It might be a problem with how WebWorks access the files after the latest BB10 updates. It was working on my Dev Alpha back in February, but when I tested in my LE this month it wasn't.
Any other thoughts?
04-12-2013 05:10 PM
Hey there. What happens if you add this to your config.xml?
<feature id="blackberry.app"> <param name="websecurity" value="disable" /> </feature>
04-12-2013 09:24 PM
04-13-2013 11:17 PM
04-16-2013 12:39 PM