I would like to create a leaderboard, which will display how many times user started the app. There should be all-time and weekly leaderboards. Let's say I count number of apps start locally and with each change submit incremented number:
Games.Leaderboards.submitScore(getApiClient(), LEADERBOARD_ID, 10);
But it will work for one week only - let's say user run the app for 10 times on week 1. Next week, once app is started, I will have to submit 11. It is OK for all-time leaderboard, but will not work for weekly leaderboard.
What should I do to achieve what I want?
The only idea I have is to have two different leaderboards:
Games.Leaderboards.submitScore(getApiClient(), WEEKLY_LEADERBOARD_ID, 1);
Games.Leaderboards.submitScore(getApiClient(), ALLTIME_LEADERBOARD_ID, 11);
But would it be possible to show weekly results only in WEEKLY_LEADERBOARD_ID and all-time results in ALLTIME_LEADERBOARD_ID? Would it be user friendly? Or, is there any other better option?