mars885 / gamedge

An Android application for browsing video games and checking the latest gaming news from around the world.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep the `igdb-api` JSON schema in sync with the backend

mars885 opened this issue · comments

The video entities coming from the IGDB API do not contain name field sometimes, which causes an error when trying to load a game inside the game info screen, since that field is required in the JSON schema.

Another issue arises in terms of what to show on the UI side. Two solutions:

  • Display some kind of placeholder text, like Video or Trailer.
  • Make the video's thumbnail take the height of the missing title