Skip to content

Dependency audit & update — fix Play Core crash + general housekeeping #162

Description

@sande11

Context

A crash was reported in Crashlytics (issue 5a34e9320c9c52a9d8dc5d1e21b24d49, v2.0 build 56) where PlayCoreDialogWrapperActivity from play-core-common:2.0.2 crashes with a NullPointerException on Bundle.get() in onCreate. This is a known bug fixed in 2.0.3+. The library is a transitive dependency not currently declared in app/build.gradle.

Required fix (crash)

implementation 'com.google.android.play:core-common:2.0.3'

Recommended cleanup

Two dependencies are deprecated and should be removed:

androidx.lifecycle:lifecycle-extensions:2.2.0 — deprecated since 2020; already covered by lifecycle-livedata-ktx and lifecycle-viewmodel-ktx
com.google.firebase:firebase-core:21.1.1 — superseded by firebase-analytics which is already a direct dependency

General dependency audit

All dependencies should be reviewed against their latest stable releases. Notable ones to check:

  • firebase-crashlytics:20.0.4
  • firebase-database-ktx:21.0.0
  • firebase-dynamic-links-ktx:22.1.0
  • firebase-storage:22.0.1
  • firebase-config:23.0.1
  • generativeai:0.9.0
  • glide:5.0.5
  • hilt-android:2.57.2
  • pendoIO:3.11.3.8950

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions