11-07-2012 05:33 AM
Guys, I made this app and uploaded to AppWorld using Android platform. The app runs well.
I started working on an upgrade a few weeks pack and instead of making it in Android, I made it in WebWorks and both simulator and real devices are running it great.
The only issue is the App-World itself. When I upload this WebWorks app as an upgrade now, I get following Error Message:
File bundle (my_bar_file.bar) has been rejected. Package ID is required for all .bar file. If this is an upgrade, Package ID must match Package ID in original file bundle.
I tried unzipping the .bar and reading the manifest, and Package ID is a random hex string. How to ensure that the new package id is the same as the old one?
<I've yet to find the old bar file that i made >
Any help is highly appreciated.
11-07-2012 01:48 PM
Did you change the name of the application at all?
Please refer to this post for more information: http://devblog.blackberry.com/2012/03/package-id-r
And also refer to the "Id" element on this page: https://developer.blackberry.com/html5/documentati
11-07-2012 02:16 PM
Well, as I said, the app was originally made using Android and signed using different keys.
Webworks keys as far as I can understand are different from Android signing keys.
Do we have a way to upgrade a bar (made in android) with a bar (made in webworks)?
11-07-2012 03:24 PM
The same signing keys must be used - these stay the same regardlesss of the development platform. When upgrading any app, you must also use the same package name and package id.
Upgrading an app from Android to Native/WebWorks is currently being looked at and you can follow along in our Issue Tracker: https://www.blackberry.com/jira/browse/BBTEN-401