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
Move consenting setup to a consent manager #47
Comments
I have started work on this on https://github.com/chb/AppCore/tree/feature/consent_manager |
I'm skeptical about this component but willing to be convinced. What does it add to what's in ResearchKit, apart from a file format and/or helpers for locating files on disk relative to the configuration? |
@jwe-apple It allows to drop in a JSON file and some resources (especially those nice videos created for the sample apps), write a bit of code and stand up the whole consenting flow. That is very useful to have IMHO. I don't know how much that's worth, for now I'm just trying to fish it out of the bowl so I can use it standalone. |
Hm. Base ResearchKit supports loading consent from a JSON file using ORKESerialization. And it actually does all the video presentation. I'd almost rather you tried using the ResearchKit stuff directly, and we can fix that if it doesn't fill your needs. |
@jwe-apple Guess I spent too much time in AppCore! I'll take a closer look at bare ResearchKit and will update here. |
@jwe-apple Is there an update on the status of moving |
Make a good argument ;-) |
There's still some consenting logic dispersed over a few |
@p2 Sure, thanks! |
Still working on this, have been busy with backend aspects. |
As it stands currently, The other part is the eligibility check and the logic afterwards, which to date is not handled by ResearchKit. People wanting to re-use the eligibility view controller and the “yes you're eligible, join now” and “no you can't join” views – with the former starting the consent task handled by ResearchKit – currently must use In the meantime, this is what I'm using in our app. To handle the whole flow with ResearchKit alone we'd need:
|
Closing as we've moved away from AppCore for this. |
Enable localization of onboarding HTML content
Code used to setup and configure consenting could be moved to a new consent manager class. This would free up the app delegate and allow for easy customization by subclassing. For simple tie in to the app, AppCore may ask the app delegate, which should be adhering to a new consent manager provider protocol, for the consent manager.
cf. #41
The text was updated successfully, but these errors were encountered: