How long can the data be stored on the smartphone?

Indefinitely. Historical data needs to be manually cleared/deleted by the user from the device. However, if utilizing the TurfPro Cloud analytics system, after an upload of data, the data is cleared from the app and saved indefinitely in your cloud account.