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

Native Development

Reply
Developer
Posts: 543
Registered: ‎12-23-2010
My Device: Z10
My Carrier: Airtel

How can I know package ID of already approved version of App?

Hi All,

 

I have submitted one BB10 app to the appworld, Now  I want to upgrade that app,

Unfortunately I don't have the old configuration(package ID),

 

How can I know that package ID which was approved, so that I can create with same package ID.

 

Thanks.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How can I know package ID of already approved version of App?

If you have a copy of the original .bar file that you uploaded, you can unzip it and examine the META-INF/MANIFEST.MF file for the information. Possibly a bit easier is to look at the bar-descriptor.xml file, although that's technically not where the BBWorld server or BB10 would look for the information, but it is generally where the content for the MANIFEST.MF file comes from.

In the bar-descriptor, you want the <id> and <authorId> fields. If those are the same, then the signed .bar file for release should end up with the same "package id" as the original, provided you use the same signing credentials as you did before.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 243
Registered: ‎07-22-2011
My Device: BlackBerry Z10
My Carrier: AirTel

Re: How can I know package ID of already approved version of App?

Hi Peter,

 

Thanks for your reply.

 

Just for confirmation,

I have downloaded the app from app world,

And I have connected my device to system and opened Playbook app Manager.

Now I am able to see the version number like 1.0.0.4.

 

Is it the package ID?

 

Thanks.

 

 

----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How can I know package ID of already approved version of App?

No, lakshman9687, the version is the version. The version is not the package ID.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!