HyperPlay fails if the game default channel is not expected #767
Labels
Severity: 2 - Medium
Moderate impact affecting a smaller subset of users or non-critical functionality.
Type: Bug
Something isn't working
Happened with Coinracer when they uploaded thei build that they used the channel called 'Stage'. Because of that HP was failing to download it with the error:
export const getInstallInfo = async (
appName: string,
platformToInstall: InstallPlatform,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
lang = 'en',
channelNameToInstall = 'Stage'
): Promise<HyperPlayInstallInfo | undefined> => {
const gameInfo = getGamesGameInfo(appName)```
So Ideally Hyperplay should be able to continue the download using the value from the key (in this case
Stage
) from the JSON instead of failing or if not possible maybe showing a warning or error on the screen.for more context, this was the JSON part from the API:
The text was updated successfully, but these errors were encountered: