Skip to content

Custom_FirebaseMessagingService checks for wrong key? #4

@Stenopolz

Description

@Stenopolz

Custom_FirebaseMessagingService.java contains the following code:
boolean isLeanPlumPushNotification = (remoteMessage.getData().containsKey("lp_version"));
to check if push message is intended for leanplum, but leanplum SDK has another check inside: messageMap.containsKey("lp_message").
So, it looks like the sample and the actual SDK code are not aligned.
Which of the keys should I use?

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