blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

Can't build and sign a BB10 app with the attached config.xml #144

Closed gtanner closed 12 years ago

gtanner commented 12 years ago

https://docs.google.com/file/d/0B0T4xfLAE41rRnhEanB6S2ZZOVk/edit?pli=1#

I was able to use this same config file to package a BB7 and PlayBook app.

Seems to be enforcing a lot more standards on the config.xml file than before.

nukulb commented 12 years ago

@gtanner - I cannot open your attachment

nukulb commented 12 years ago

download seems to work

gtanner commented 12 years ago

So you got the file? Sent on the TELUS Mobility network with BlackBerry

nukulb commented 12 years ago

@gtanner - Two issues are-

All you are missing is the ID field so change widget element to this

<widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.6.0.0" id="someID">

and bunch of your features are not valid in BB10 so you need to remove them

gtanner commented 12 years ago

Problem is for supporting cordova. I do not want to have a separate config.xml for each platform.

Sent on the TELUS Mobility network with BlackBerry

nukulb commented 12 years ago

There are a few rules that are definitely changing for BB10.

id was optional for BB and playbook - it is now mandatory

For ignoring unrecognized feature Ids there is already an issue open.

@kwallis to comment

I honestly think you should find a way to have separate config.xml for each platform in cordova but I am not familiar with the parameters you are working with.

kwallis commented 12 years ago

So the id field shouldn't be an issue for sharing config.xml.

Once we fix the issue to ignore unknown feature ids, seems like that will go away.

Closing this issue unless we find any other problems.