smartdevicelink / sdl_requirements

Collection of requirements/technical tasks for new sdl_core features
BSD 3-Clause "New" or "Revised" License
2 stars 7 forks source link

Support running the same app from multiple devices at the same time #120

Open KhrystynaDubovyk opened 5 years ago

KhrystynaDubovyk commented 5 years ago

Description:

As a mobile application, I want SDL to support running the same app from multiple devices at the same time.

Detailed description:

When an app registers app interface, SDL checks if there is any existing app that has the same app_policy_id. If the result is no, SDL allows registering (as before). If the result is yes, SDL compares the device information to those of already registered apps that have the same app_policy_id. If it is not the same as any of those devices, SDL continues as before (allow register). If the device has been found, SDL rejects the request.

App MULTIPLE DEVICES
Actual Behaviour
MULTIPLE DEVICES
Expected Result
SINGLE DEVICE
same appID, same appName APPLICATION_REGISTERED_ALREADY SUCCESS APPLICATION_REGISTERED_ALREADY
same appID, different appName APPLICATION_REGISTERED_ALREADY SUCCESS APPLICATION_REGISTERED_ALREADY
different appID, same appName DUPLICATE_NAME SUCCESS DUPLICATE_NAME

Diagram:

N/A

Links: