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

RUM-7005: updating dependencies, adjusting detekt rules, fix tests #2463

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

satween
Copy link
Contributor

@satween satween commented Dec 18, 2024

What does this PR do?

We’re updating androidx.navigation to 2.8.0. Our goal is to maintain a balance between using stable library versions and minimizing disruptive changes to our customers’ codebases.

Motivation

This update motivated by contributor request

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@satween satween requested a review from xgouchet December 18, 2024 17:21
@@ -57,23 +58,17 @@ internal open class AndroidXFragmentLifecycleCallbacks(
}

// endregion
override fun onFragmentViewCreated(fm: FragmentManager, f: Fragment, v: View, savedInstanceState: Bundle?) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

onFragmentActivityCreated is now deprecated and according to comment here it seems we can safely move its logic into onFragmentViewCreated.

@xgouchet, please let me know if I'm mistaken.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good to me 👍

@satween satween force-pushed the tvaleev/rum-7005/updating-android-navigation-dependencies branch from ab4b2bc to 474a55b Compare December 18, 2024 19:00
Copy link
Member

@xgouchet xgouchet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Nice work, one question I have is, do we need to upgrade other AndroidX dependencies?
As a rule of thumb, I'd suggest upgrading our dependencies to the other AndroidX dependencies to versions released around the same time as 2.7.7 (i.e.: February 2024).

@@ -57,23 +58,17 @@ internal open class AndroidXFragmentLifecycleCallbacks(
}

// endregion
override fun onFragmentViewCreated(fm: FragmentManager, f: Fragment, v: View, savedInstanceState: Bundle?) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good to me 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants