cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Baktsheev <>
Subject blackberry os 10 issues
Date Sat, 17 Aug 2013 22:51:34 GMT
hi everyone.

deployment for blackberry10 is broken in many places.

1) main issue with blackberry is "blackberry" object in javascript not populated. i need to
use "blackberry.invoke" in my plugin, but adding those features doesn't work:
<feature id="blackberry.invoke" required="true" version="" />
<feature id="blackberry.invoke.card" />

please tell me how to use it.

2) second issue is with persistent storage. when i trying to reach file, located in persistent
storage, i've got wrong url.
this is a gist for problem demonstration:
on ios and android this gist gives me alert, but not on a blackberry.

this can be an api restriction or a bug.

another issues:

3) www/config.xml:
3.1) platform/blackberry10/www/config.xml must be cleared from <icon platform="!blackberry"/>
because packager goes mad with so many icons with unknown sizes (minor, because it doesn't
affect package build)
3.2) config.xml template must contains actual configurations for blackberry (icon size 114x114)
3.3) <gap:splash> is not renamed to <rim:splash> in "platform/blackberry10/www/config.xml"
after running `cordova prepare blackberry`
3.4) <preference name="orientation" value="portrait" /> not converted to 
<feature id="">
	<param name="orientation" value="portrait" />
in resulting config.xml file (probably
3.5) rim xmlns must be added
3.6) error if <content src="index.html"/> omitted (probably

so, i was patched cordova-cli to make 3.1, 3.3, 3.4, 3.5, 3.6 works. please review my pull

4) cordova-cli:

version 3.0.4 copies config.xml from template over actual one and make unusable build.
probably someone need to release newer cordova-cli version for blackberry builds (at least
after commit 83a042a75ab83370b74a5413a2721cceb08e6399)
View raw message