Skip to content

Null safety required for Firebase AppInstanceId retrieval #1

@pavitrapandey

Description

@pavitrapandey

The code in LauncherActivity uses FirebaseAnalytics.getAppInstanceId() without checking if task.getResult() is null. If the result is null, adding it to mQueryParams could lead to a crash or incorrect behavior. Adding a null check would make this code more robust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions