Closed atreat closed 1 month ago
✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.
Package | Version | Score | Details |
---|
Warnings | |
---|---|
:warning: | No CHANGELOG entry added. |
:warning: | **Sources/EmbraceCore/Embrace.swift#L261** - Files should have a single trailing newline (`trailing_newline`) |
:warning: | **Tests/TestSupport/TestConstants.swift#L13** - Prefer non-optional `Data(_:)` initializer when converting `String` to `Data` (`non_optional_string_data_conversion`) |
Generated by :no_entry_sign: Danger Swift against 0148e21b60ded93652d51285f101e7c41228ccf2
Attention: Patch coverage is 91.98370%
with 59 lines
in your changes missing coverage. Please review.
Project coverage is 91.94%. Comparing base (
fe3675e
) to head (0148e21
). Report is 9 commits behind head on main.
The existing
EmbraceConfig
object becomes a pass through to the underlying implementation/delegate. This is an object that conforms to theEmbraceConfigurable
protocol. This protocol declares the properties that the SDK uses during its runtime. It also includes anupdate
method that is used if/when the implementation should refresh its values (if necessary).This PR includes a static implementation of EmbraceConfigurable called
DefaultConfig
, which is the default object when initializingEmbrace.Options
without an Embrace appId.It also includes an implementation,
RemoteConfig
, which implements the retrieval of config from the Embrace Config service. This is only available when an Embrace appId is present.