ResearchKit / AppCore

Core code shared by the initial ResearchKit apps.
Other
262 stars 82 forks source link

Use ORKFileResult+Filename for upload filename #104

Closed ghost closed 9 years ago

ghost commented 9 years ago

Remove use of the [ORKFileResult fileURL] in determining filenames. Use ORKFileResult+Filename category's filenameForFileResultIdentifier method to get a filename or a translated filename by creating a FilenameTranslation.json file at the app level.

Tested using Apple Cardiology built on RK Stable branch.

@peculiar This change will also involve providing a FilenameTranslation.json file in any app that uses ORKFileResult such as Parkinson to maintain the Sage required filenames when building on Stable.

YuanZhu-apple commented 9 years ago

r=me.