Languages

Menu
Sites
Language
Installing native service app from two packages

Hi List,

I have a situation where in my two packages are dependent on a native service.

I want to install the native service when I install my package. I can have any one of the packages installed or even both can be installed.

 

In second case, i.e. both packages are installed. I would have installed the service thru 1st package. 

Now when I install second package, it reports of the error that APPID is not unique and aborts the installation process.

What can I do so that the 2nd installation doesn't abort, instead it can see is the service is already installed, then ignore the same.

OR.. can Alias be helpful here? I don't know how aliases work?

 

regards,

Ashwini

Responses

3 Replies
Alex Dem

Hi,
I think it is not possible to use the same service (with the same id) in different packages.
Even it could be possible to install such apps - it is not clear how to ununstall such app and how to submit it into Tizen Store: as I know there should be apps with unique AppIds.
Alexey.

Alex Dem

Also,
If it is possible from your requirements:
Try to package all 3 apps (2 UI  apps and one service) into one package. It should works.
Then you will able to use the same service for both!
Alexey.

Palitsyna

Hello,

I agree with Alex Dem, I don't think that it is possible. Application ID must be unique as written here: https://developer.tizen.org/dev-guide/web/2.3.0/org.tizen.mobile.web.appprogramming/html/ide_sdk_tools/web_config_ext.htm#application