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.

inside custom component

Web and WebWorks Development

Reply
Trusted Contributor
Posts: 107
Registered: ‎04-08-2011
My Device: BlackBerry Q10
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.

 

 

Get Speedometer on your phone. http://www.speedometer.mobi
Highlighted
Retired
Posts: 64
Registered: ‎06-04-2012
My Device: Blackberry Z10
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

----------------------------------------------------------------------------------
- Did this post help solve the issue? Click on "Accept as Solution"
- Was the content of this post helpful? Please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev
Trusted Contributor
Posts: 107
Registered: ‎04-08-2011
My Device: BlackBerry Q10
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)?

Get Speedometer on your phone. http://www.speedometer.mobi
Retired
Posts: 64
Registered: ‎06-04-2012
My Device: Blackberry Z10
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

----------------------------------------------------------------------------------
- Did this post help solve the issue? Click on "Accept as Solution"
- Was the content of this post helpful? Please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev