ResearchKit / mPower

ResearchKit app studying Parkinson's disease, developed by Sage Bionetworks and University of Rochester.
BSD 3-Clause "New" or "Revised" License
91 stars 54 forks source link

Conform to updated APCOnboardingManagerProvider #8

Closed ghost closed 8 years ago

ghost commented 8 years ago

Objective

Enable the open source mPower app to build on the latest commit of AppCore, by conforming to the updated APCOnboardingManagerProvider protocol.

Actions

Implement -(APCPermissionsManager * __nonnull)permissionsManager in APHAppDelegate, and return an instance of APCPermissionsManager initialized with healthKitCharacteristicTypesToRead, healthKitQuantityTypesToRead, healthKitQuantityTypesToWrite, userInfoItemTypes, and signUpPermissionsTypes.

Tests

Tested by building and running, signing in, ensuring Health Access view and Permissions view appears in on-boarding, and permissions are visible in the profile.

YuanZhu-apple commented 8 years ago

r=me.