-
Notifications
You must be signed in to change notification settings - Fork 9
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
chore: ensure Android component is initialized from services #451
Conversation
Sample app builds 📱Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/react-native-cdp #451 +/- ##
==============================================================
- Coverage 52.25% 52.18% -0.07%
Complexity 291 291
==============================================================
Files 96 96
Lines 2258 2261 +3
Branches 352 352
==============================================================
Hits 1180 1180
- Misses 974 977 +3
Partials 104 104 ☔ View full report in Codecov by Sentry. |
|
||
// TODO: Remove deprecated functions after all usages are removed. | ||
@Deprecated("Use overrideDependency<Dependency> instead", ReplaceWith("overrideDependency<Dependency>(value)")) | ||
fun <Dependency : Any> overrideDependency(dependency: Class<Dependency>, value: Dependency) { |
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.
Removed these as they were deprecated and are no longer used by any DI graph in the SDK
*/ | ||
fun SDKComponent.registerAndroidSDKComponent( |
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.
Since the method is intended for internal SDK use only, I renamed it to provide more clarity on its purpose and function.
Build available to test |
📏 SDK Binary Size Comparison ReportNo changes detected in SDK binary size ✅ |
Changes
registerAndroidSDKComponent
toensureAndroidComponent
for clearer purposeDiGraph
, as they were intended for SDK use only