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

Compile Tests & Improve Availability #16

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

PSchmiedmayer
Copy link
Member

Compile Tests & Improve Availability

⚙️ Release Notes

  • Compiles Tests & Improves Availability of RK for visionOS

Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

@PSchmiedmayer PSchmiedmayer added the enhancement New feature or request label Feb 6, 2024
@PSchmiedmayer PSchmiedmayer self-assigned this Feb 6, 2024
@PSchmiedmayer PSchmiedmayer merged commit 0836d63 into main Feb 6, 2024
3 of 8 checks passed
@PSchmiedmayer PSchmiedmayer deleted the feature/testsAndImprovements branch February 6, 2024 01:33
@Supereg
Copy link
Member

Supereg commented Feb 23, 2024

What was the reason to increase the minimum deployment target here? Is there anything that is functionally different?

@Supereg Supereg mentioned this pull request Feb 23, 2024
1 task
@PSchmiedmayer
Copy link
Member Author

Yes, any iOS API that was deprecated before iOS 14 won't be available on visionOS so I pulled it up from the original RK deployment target. We could even pull it up or down further as needed. I looked at the number of warnings and tried to pull it up as much as possible before I got a lot of warnings.

Supereg added a commit that referenced this pull request Feb 23, 2024
# Disable SensorKit support by default

## ♻️ Current situation & Problem
As discussed in #17, SensorKit is not available on iPadOS even though it
is annotated to be available. This results SensorKit being linked for
iOS but the app crashing when run on iPad as the framework cannot be
dynamically linked.
This issue was induced due to the change in #16 that raised the
deployment target to iOS 15. Even conditionally importing SensorKit does
not work as it is reported to be available for iPadOS to the compiler.

This PR disables SensorKit integration by default, controlled via the
`USE_SENSOR_KIT` macro. While the `ORKSensorPermissionType` is still
there it shows up as unavailable for the platform in ResearchKit UI.

## ⚙️ Release Notes 
* Fixed crash on iPadOS by disabling SensorKit integration by default.


## 📚 Documentation
--


## ✅ Testing
Verified locally.


### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants