Viveport developer console provide flexibility for the developer to submit one build and opt-in multiple platforms (i.e. Viveport consumer store and Arcade) at the same time which can save developer's publishing and maintenance effort.
However, for developers that have already submitted/published titles on Viveport consumer store, necessary changes are required for adapting consumer store build to opt-in arcade as below.
[Top Level API mode selection]
Refer to https://developer.viveport.com/documents/sdk/en/api_top.html and call Api.QueryRuntimeMode().
The callback QueryRunTimeHandler(int nResult, int nMode) of the API QueryRuntimeMode() has two return parameters:
nResult: 0 - successful, 1 - fail
nMode: 1 - VIVEPORT desktop mode, 2 - VIVEPORT arcade mode
You can use VIVEPORT Arcade API once you have switched VIVEPORT arcade mode.
For example, if nMode is 2 that means arcade mode, developer can only call Arcade Leaderboard API: https://developer.viveport.com/documents/sdk/en/api_leaderboard_arcade.html and Arcade Sessions API: https://developer.viveport.com/documents/sdk/en/api_session.html and GetUserId().
Please do not call other APIs when nMode is 2.