How to export data containing device OS version?