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
Developer
pawanchowdary
Posts: 22
Registered: ‎07-21-2010
My Device: Z10
My Carrier: T-Mobile
Accepted Solution

BB Webworks - Package-Id Issue

Hello Devs,

 

Here is my situation, Hope some one can help me out here

I've developed web app in Sencha and compiled using BB Webworks for BB10(Z10 and Q10) and that app is live already in App World, so far it works great

http://appworld.blackberry.com/webstore/content/32189889/

 

Now, I'm planning to extend this app for Playbook, I've downloaded Playbook Webworks and compiled the same source code (ZIP file) which i've used for BB10, it compiled and everything looks so far good, then problem comes when i upload this bar file to App world as new release for playbook, I'm getting this error.

  • File bundle (bb1.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.

 

When i open manifest using WinZip i see this difference in Package-Id

z10
Package-Id: gYABgE8x-WV3R7hHb_Xoojb8yxU

tab
Package-Id: gYABgMlfpFkFcbQxavvO780EUZ0

 

I use the same laptop and same keys, for BB playbook i've copied the author.p12 into C:\Program Files (x86)\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\bin as sigtool.p12 then i issue this command 

bbwp <<zipname>> -g <<password>> -gcsk <<password>> -gp12 <<password>> -buildId 10 -o <<path>>

 

Am I doing anything wrong, please help me, I'm stuck here, even i try to upload as seperate product, but BB rejected and asked me to use the same app and add new release for Playbook instead of as new product.

 

Thanks

Pavan

Please use plain text.
Developer
neemliu
Posts: 40
Registered: ‎07-19-2013
My Device: BlackBerry 9790, 9800, Playbook
My Carrier: TELUS

Re: BB Webworks - Package-Id Issue

I think you need copy all 3 files not only Arthur file.

Please use plain text.
Developer
pawanchowdary
Posts: 22
Registered: ‎07-21-2010
My Device: Z10
My Carrier: T-Mobile

Re: BB Webworks - Package-Id Issue

Thanks for your reply

Can you be more specific on the 3 files? I didnt get what are all those 3 files.

BB will send 2 CSJ Files

client-PBDT-1990318.csj

client-RDK-1990318.csj

 

And i've installed these files via following command

blackberry-keytool -genkeypair -keystore (output file name) -storepass (another password) -dname "cn=(your company name)" -alias author

 

it generate author.p12, i've copied this file. 

 

Thanks

Pavan

Please use plain text.
Developer
pawanchowdary
Posts: 22
Registered: ‎07-21-2010
My Device: Z10
My Carrier: T-Mobile

Re: BB Webworks - Package-Id Issue

I've copied these files

author.p12 as sigtool.p12

barsigner.csk and barsigner.db in the folder and issued bbwp command, still i got the same issue with appID

 

Any thoughts/ help?

Please use plain text.
Developer
pawanchowdary
Posts: 22
Registered: ‎07-21-2010
My Device: Z10
My Carrier: T-Mobile

Re: BB Webworks - Package-Id Issue

Any help?
Please use plain text.
BlackBerry Development Advisor (Retired)
mimendoza
Posts: 64
Registered: ‎06-04-2012
My Device: Blackberry Z10
My Carrier: Bell

Re: BB Webworks - Package-Id Issue

If you've been using the same keys as the ones you used when creating your initial PB app, then it might be a problem between the package name of your first PB app and of the updated PB app.

 

The package id is the 'id' property here: 

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

 

You can check this post for more information:

What to do if your Package ID has been rejected by BlackBerry App World

 

Or check the solution for a similar problem : http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Package-ID-must-match-Package-ID...

----------------------------------------------------------------------------------
- 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
Please use plain text.
Developer
pawanchowdary
Posts: 22
Registered: ‎07-21-2010
My Device: Z10
My Carrier: T-Mobile

Re: BB Webworks - Package-Id Issue

Thanks for your reply

But, my first App is not playbook, 

I've developed for BB10 (Z10,Q10) not i want to extend the same to Playbook.

 

and here is the config.xml code

 

<widget xmlns="http://www.w3.org/ns/widgets"  xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.1.2.0" id="CineTalk" xml:lang="en">

 

So, CineTalk is the ID for both, becuase im using the same config.xml

 

please help me.

Pavan

 

Please use plain text.
Trusted Contributor
imre_m
Posts: 158
Registered: ‎11-17-2010
My Device: PlayBook, Z10

Re: BB Webworks - Package-Id Issue

Hi,

 

Did you eventually used the blackberry-keytool twice: to generate your keys for BB10, and then again for the PlayBook OS?

I believe this would cause to have different package-ids because exactly the same keys are required, not simply keys generated with the same csj files.

 

As a solution you could create a new application and publish the PlayBook version separately. In BB World it wouldn't show up twice on the devices anyway because you would have a different list of supported devices: one app for BB10 and a different one supporting only PB.

 

As a last resort, you can also contact appworldvendorsupport@blackberry.com and ask them to enable the second package-id for the same application. However in this case you have to be very careful to always publish updates for BB10 signed with exactly the same keys as the first release, respectively to publish updates for the PlayBook OS signed with the second set of keys with the slightly different package-id.

 

Regards,

Imre

 

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Please use plain text.
BlackBerry Development Advisor
twindsor
Posts: 816
Registered: ‎07-15-2008
My Device: Z10
My Carrier: Bell

Re: BB Webworks - Package-Id Issue

This KB explains all that you need to do:

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Porting-BB10-WebWorks-apps-to-Ta...

Tim Windsor
Application Development Advisor II
Please use plain text.
Developer
pawanchowdary
Posts: 22
Registered: ‎07-21-2010
My Device: Z10
My Carrier: T-Mobile

Re: BB Webworks - Package-Id Issue

Awesome :Clap:

It worked perfectly

Now i've published my app for review in BB Vendor portal

 

Thanks a lot

Pavan

Please use plain text.