Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Regular Contributor
basitj
Posts: 80
Registered: ‎04-08-2011
My Carrier: Mobilink

Webworks app as an android app upgradepac

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.

 

 

Please use plain text.
BlackBerry Development Advisor
mimendoza
Posts: 54
Registered: ‎06-04-2012
My Carrier: Bell

Re: Webworks app as an android app upgradepac

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-rejected-by-app-world/

 

And also refer to the "Id" element on this page: https://developer.blackberry.com/html5/documentation/widget_element_834671_11.html

--------
- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev
Please use plain text.
Regular Contributor
basitj
Posts: 80
Registered: ‎04-08-2011
My Carrier: Mobilink

Re: Webworks app as an android app upgradepac

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)?

Please use plain text.
BlackBerry Development Advisor
mimendoza
Posts: 54
Registered: ‎06-04-2012
My Carrier: Bell

Re: Webworks app as an android app upgradepac

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

--------
- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev
Please use plain text.