I built a Hybrid application consisting from a Native Service and a Web Application. I’m packaging the applications together with
tizen build-app CLI command.
The Web config.xml file targets the Tizen 3.0 version: required_version=“3.0”.
The Native tizen-manifest.xml file also targets the Tizen 3.0 version: api-version=“3.0”.
During Hybrid packaging both Web and Native privileges are merged and the result .wgt archive contains these privileges in Web’s config.xml as follow:
The package is installed fine on Real devices and Emulators with Tizen 4.0 or above, however, it fails to install to an Emulator with Tizen 3.0 and a real device with Tizen 3.0 version with following error:
…key[error] val[-14] error message: :Check config.xml|
- Current required_version(=api version) = 3.0, | certificate signature level = public||[NO_EXIST_PRIVILEGE]|
- http://tizen.org/privilege/alarm.get| >> Check spelling or remove the privilege.|
- http://tizen.org/privilege/alarm.set| >> Check spelling or remove the privilege. >> Check spelling or remove the privilege.||:<-7>
What I found is that these privileges are only supported by Native, and I specified them to Native manifest file, however, during the Hybrid packaging, the privileges are added to the Web manifest file. I didn’t find any solution to fix this issue and I can’t remove those privileges as I will need them on Native side.
Any help is greatly appreciated!
Thanks in advance!