Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in ORKCatalog Sample related to Saving Tasks?? #1540

Open
cmetts opened this issue Jan 27, 2023 · 0 comments
Open

Error in ORKCatalog Sample related to Saving Tasks?? #1540

cmetts opened this issue Jan 27, 2023 · 0 comments

Comments

@cmetts
Copy link

cmetts commented Jan 27, 2023

I cannot get TaskViewController to present the "Save" button when the "Cancel" button is pressed mid-survey.
This is a major issue for me, which I first reported about a year ago, and again a month ago. I have no responses from either, which is surprising to me since this seems like necessary functionality in most cases to me. I am surprised others aren't having issues.

I can reproduce the error in ResearchKit's ORKCatalog project as outlined below:

1 - Download latest stable release of ResearchKit

2- open research kit project, and compile

3- copy the research kit project file into ORKCatalog sample project

4- Modify TaskViewController swift file by adding the following:

func taskViewControllerSupportsSaveAndRestore(_ taskViewController: ORKTaskViewController) -> Bool {
return true
}

Run ANY of the surveys or single interactions.

Click 'Cancel' top right

You are NEVER given the opportunity to save a task even though the delegate method is called repeatedly and returns true.

What am I missing here? Thanks so much for reading.

@cmetts cmetts changed the title IS ResearchKit Dead? - Sure looks like it. Major Error in UICatalog Sample related to Saving Tasks? Jan 27, 2023
@cmetts cmetts changed the title Major Error in UICatalog Sample related to Saving Tasks? Error in UICatalog Sample related to Saving Tasks? Jan 27, 2023
@cmetts cmetts changed the title Error in UICatalog Sample related to Saving Tasks? Error in ORKCatalog Sample related to Saving Tasks? Jan 27, 2023
@cmetts cmetts changed the title Error in ORKCatalog Sample related to Saving Tasks? Error in ORKCatalog Sample related to Saving Tasks?? Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant