cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Higgins <br...@bryanhiggins.net>
Subject Re: BlackBerry 10 - config.xml iicon entries are not filtered for gap:platform
Date Fri, 21 Feb 2014 13:44:05 GMT
I'd like to see config.xml have a platform tag similar to plugin.xml.
Neither Cordova nor BlackBerry native tools should understand PhoneGap
attributes.


On Thu, Feb 20, 2014 at 5:26 PM, Don Coleman <don.coleman@gmail.com> wrote:

> I have a project that uses PhoneGap build for iOS and Android, and uses
> Cordova to build for BlackBerry 10.
>
> The icons are specified in config.xml
>
>     <icon src="icon.png" />
>     <icon src="res/icon/android/icon-36-ldpi.png"   gap:platform="android"
>    gap:density="ldpi" />
>     <icon src="res/icon/android/icon-48-mdpi.png"   gap:platform="android"
>    gap:density="mdpi" />
>     <icon src="res/icon/android/icon-72-hdpi.png"   gap:platform="android"
>    gap:density="hdpi" />
>     <icon src="res/icon/android/icon-96-xhdpi.png"  gap:platform="android"
>    gap:density="xhdpi" />
>     <icon src="res/icon/blackberry/icon-80.png"
> gap:platform="blackberry" />
>     <icon src="res/icon/blackberry/icon-80.png"
> gap:platform="blackberry" gap:state="hover"/>
>     <!-- ... -->
>
> When the bar file is built, the Entry-Point-Icon Manifest entry is
> incorrect
>
>     $ unzip -p platforms/blackberry10/build/device/bb10app.bar
> META-INF/MANIFEST.MF | grep Entry
>
> Entry-Point: WEBWORKS_VERSION=2.0.0 CONSOLE_MODE=slog2
> CASCADES_THEME=default app/native/wwe
> Entry-Point-Type: Qnx/WebKit
> Entry-Point-Icon:
>
> {72x72}native/icon.png:{36x36}native/res/icon/android/icon-36-ldpi.png:{48x48}native/res/icon/android/icon-48-mdpi.png:{72x72}native/res/icon/android/icon-72-hdpi.png:{96x96}native/res/icon/android/icon-96-xhdpi.png:{80x80}native/res/icon/blackberry/icon-80.png:{57x57}n
> Entry-Point-Orientation: auto
>
>
> The app looks deploys OK locally and passes blackberry-barchecker, but
> BlackBerry Enterprise Server rejected the app due to this entry.
>
> I fixed the problem by preprocessing the config.xml before the blackberry10
> build.
>
> Entry-Point: WEBWORKS_VERSION=2.0.0 CASCADES_THEME=default app/native/wwe
> Entry-Point-Type: Qnx/WebKit
> Entry-Point-Icon: native/res/icon/blackberry/icon-80.png
> Entry-Point-Orientation: auto
>
>
> Is this a problem that Cordova should handle? Or is it a problem with the
> blackberry-nativepackager?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message