Pokemon Go's Adventure Sync function allows you to track your steps and collect rewards without opening the app. The feature was added to the game in late-2018 with Version 1.93. One update, and it is free to use.