Parse-Swift
Parse-Swift copied to clipboard
Updated ParseConstants for visionOS support.
trafficstars
New Pull Request Checklist
- [x] I am not disclosing a vulnerability.
- [x] I am creating this PR in reference to an issue.
Issue Description
Updates ParseConstants as the SDK currently cannot be built when imported and tried to be built against visionOS target
Closes: #449
Approach
Adds visionOS platform to ParseConstants.
#elseif os(visionOS)
static let deviceType = "visionos"
TODOs before merging
- [ ] Add tests
- [ ] Add entry to changelog
- [ ] Add changes to documentation (guides, repository pages, in-code descriptions)
Thanks for opening this pull request!
- 🎉 We are excited about your hands-on contribution!
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.42%. Comparing base (
3d4bb13) to head (9064c2f).
Additional details and impacted files
@@ Coverage Diff @@
## main #450 +/- ##
==========================================
- Coverage 90.37% 87.42% -2.95%
==========================================
Files 161 161
Lines 16267 16208 -59
==========================================
- Hits 14701 14170 -531
- Misses 1566 2038 +472
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.