-
Notifications
You must be signed in to change notification settings - Fork 134
[eas-cli] fix capability syncing #3086
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Size Change: -3.19 kB (-0.01%) Total Size: 53.5 MB
|
7d8d903
to
aeabf23
Compare
// - settings are not defined in the existing capability, but usesBroadcastPushNotifications is enabled (we want to add settings for this capability) | ||
// - settings are defined in the existing capability, but usesBroadcastPushNotifications is disabled (we want to remove settings for this capability) | ||
const noSettingsAttributes = existing.attributes.settings == null; | ||
return !noSettingsAttributes === additionalOptions.usesBroadcastPushNotifications; | ||
} | ||
|
||
function shouldSkipIcloudCapabilityUpdate( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is removed in the next PR up the stack so not worth spending much time here
Subscribed to pull request
Generated by CodeMention |
aeabf23
to
c736c75
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3086 +/- ##
==========================================
+ Coverage 51.68% 51.77% +0.09%
==========================================
Files 606 607 +1
Lines 24344 24382 +38
Branches 5105 5123 +18
==========================================
+ Hits 12580 12621 +41
+ Misses 10713 10711 -2
+ Partials 1051 1050 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
4aaaa78
to
f16fa46
Compare
⏩ The changelog entry check has been skipped since the "no changelog" label is present. |
Why
This PR refactors the iOS bundle ID capabilities management to improve handling of capabilities with complex settings. The current implementation doesn't properly handle capabilities that have settings - Sign In with Apple, iCloud, and Data Protection.
How
capabilityList.ts
) to improve code organizationtoHaveBeenCalledWith
instead oftoBeCalled
)Test Plan