语言

Menu
Sites
Language
The app update with an added Service Application project cannot be submited to Samsung store

Hello, I have a .NET project (Xamarin.Forms) Tizen app. This app is published on the Samsung store and users can download it.

I have added a "service-application" project into my solution, according to this official guide: https://developer.samsung.com/tizen/blog/en-us/2019/01/04/how-to-package-ui-and-service-applications-together-and-perform-them

So I have the main app (com.xyz.app) and the background service application (com.xyz.app.service) packaged together. It works on my device when installed locally.

But the Samsung store does not accept the .tpk package. It says: "The binary is invalid. The app type must be identical to that of the other registered binaries."

The main package ID is still the same, also the certificates are also the same. Why is this happening? This is most likely just a wrong check on the store, it should accept my update. How this can be fixed?

Thank you, Tomas

响应

3 回复
Tizen .NET

Hello,
Thank you for contacting us.
About the app store related issues, Galaxy Store's customer support is more appropriate.
(Galaxy Store Seller Portal >> Assitance >> My Question >> 1:1 Enquiry)
If you share the information about content ID and content name of your app and the binary file you want to upload with us,
we can ask Galaxy Store apps team to check this problem.
Please send the information and the new tpk file to tizen.net@samsung.com or directly contact customer support at Galaxy Store.
 

Tomas Slavicek

Thank you for your message. The Galaxy Store's support did not give me the answer.

But I found the issue. It's not related to service apps. You can add a background service app to an existing project as expected, and the update can be published on the store.

The problem is when you add a reference to Samsung.RemoteAppControl nugget package to the project:

<PackageReference Include="Samsung.RemoteAppControl" Version="1.0.1" />

And this privilege into manifest:

<privilege>http://developer.samsung.com/tizen/privilege/accessoryprotocol</privilege>

I wanted to open the website on the phone, when user taps on the button in the Tizen watch app:

var control = new RemoteAppControl
{
    Operation = RemoteAppControl.OPERATION_VIEW,
    Uri = "https://google.com"
};
RemoteAppControl.SendLaunchRequest(control, null);

But this cannot be done :) If you do this, the validation on the Samsung Store fails and your app update will not be accepted. Not sure what does the Samsung.RemoteAppControl add to the package, but it must be changing the application type, which is prohibited. If this is not intended, it should be most likely fixed in the package.

Tizen .NET

I asked Galaxy Store team and they need the following information to check this issue.
 - contentID
 - contentName
 - The tpk file you want to upload