Relative Content

Tag Archive for databasemobile

Alternative to storing hardcoded (daily challenge) database row IDs in the frontend?

Suppose I have a mobile app which has a Daily Challenge System similar to that of Clash Royale or Duolingo. Each daily challenge is different, for example one might require a user to complete a game, whereas another might require a user to stay on the app for a period of time. When the criteria to increment a users progress for a specific daily challenge is met, a request is issued to an API to update the users daily challenges in the database.