zombiebox
zombiebox copied to clipboard
Market certificates
Hello, is it possible to upload a zombiebox application to the desired market, for example the Samsung marketplace for sale? I am new to the whole TV Development thing, but I read that a certificate is required to upload an application to Samsung's marketplace, for example. How we manage these certificates for each marketplace?
Maybe a step by step multi-platform "from compilation to different marketplaces" would be nice and helpful.
It's been a while, but perhaps someone else will once stumble upon this so here's the answer:
When developing for Tizen platform, you will need to install the Tizen SDK and among other things, create a certificate which will then be used by either Tizen Studio or zombiebox CLI to sign your application upon running npx zombiebox pack tizen
. The resulting .wgt
file will then be signed with your author and distributor certificate, and as such, viable for store publishing.
Learn more about tizen platform-specific things here and about samsung/tizen certificate profiles here. As stated in the latter,
To upload the application to the store, you must select the certificate profile as Samsung. However, if you want to use the emulator and do not want to upload the application to the store, select Tizen to create certificate locally.
My advice here is to just use the Samsung profile. You'll need to create a Samsung developer account for it but Tizen profile just turned out to be a pain in the a** for me.
The whole process is actually relatively simple. The hard part is finding out which version of Tizen SDK/Studio/Emulator works best for testing zombiebox applications locally. For me, the short answer after some hours of research is: Tizen Studio 2.4 and TV extensions 4.0.
To install these, follow these steps:
- make sure you have the JDK 8 installed. Earlier versions of Tizen SDK scream at you if it's not installed. And insist on Oracle's version 8, so no OpenJDK if you don't want to (possibly) stumble upon some issues
- download and install the SDK
- open up the Tizen package manager
- click on the settings icon (upper right)
- find Tizen_Studio_2.4 in the list, single-click on it
- expand "Extension SDK" section
- deactivate everything there (if you plan to develop only for TV) except the Samsung Certificate Extension
- click on the plus sign above the Extensions SDK list
- add the following repository: http://sdf.samsungcloudcdn.com/Public/smart_tv_sdk/releases/samsung_tizen_studio_tv_sdk/stv_ext_public/4.0
- name it something like
TV Extensions-4.0
, doesn't really matter - click OK, check if that's activated and click OK again
- wait until package manager refreshes the list of packages
- under Main SDK, install
Tizen SDK tools
and4.0 TV
- under Extension SDK, install
TV Extensions-4.0
andSamsung Certificate Extensions
- restart your machine when installation is complete
- open the Emulator Manager and launch the
HD1080 TV
emulator which should already exist there (if not, create it usingtv-samsung-4.0-x86
platform andHD1080 TV
template). Check that it runs correctly. - now you can finally open the Certificate Manager and generate the certificate.
After this (maybe a bit painful but one-and-done) process, you should be up and running, ready to build, pack and run the app on the local emulator using zombiebox CLI. Just don't forget to install and correctly configure zombiebox-platform-tizen - use Tizen Studio to create a blank TV project and get the needed config.xml
P.S. maybe this issue should be moved to zombiebox-platform-tizen issues