GithubHelp home page GithubHelp logo

Comments (10)

darshanclevertap avatar darshanclevertap commented on June 15, 2024

Hi @VictorTellez
Were you sending the Push Notification by creating a campaign or directly from the user's profile page on the CleverTap Dashboard?

from clevertap-android-sdk.

WillReyez avatar WillReyez commented on June 15, 2024

@darshanclevertap I have sent it from: Segments->Find people -> Find by Identity -> Profile -> Push notification. Also I'm using Android 9.

from clevertap-android-sdk.

darshanclevertap avatar darshanclevertap commented on June 15, 2024

If you send a Push Notification via the above route you mentioned, we do not send the wzrk_pid key. This key will be present if you send out a Push Notification via our Campaigns.
We use this key to ensure that every push notification that reaches the device is unique. May I ask why are you concerned about this key?

from clevertap-android-sdk.

WillReyez avatar WillReyez commented on June 15, 2024

@darshanclevertap Because I used your createNotification method, and it didn’t show the notification.
So, I used our own method to create and show notification and used hard-coded key “nt” and “nm” to get title and message. Do you think this is because I use this way
Segments -> Find people -> Find by Identity -> Profile -> Push notification?
The point about this key is that is the one who is check to show the notification when you use
CleverTapAPI.createNotification().

from clevertap-android-sdk.

darshanclevertap avatar darshanclevertap commented on June 15, 2024

The point about this key is that is the one who is check to show the notification when you use
CleverTapAPI.createNotification().

The key to check whether the Push Notification is from CleverTap is wzrk_pn and not wzrk_pid i can see in the screenshot provided by you that wzrk_pn is being sent to you

from clevertap-android-sdk.

WillReyez avatar WillReyez commented on June 15, 2024

@darshanclevertap The check that is not working in CleverTapApi is this one:

if (extras.getString(Constants.WZRK_PUSH_ID) != null) 
static final String WZRK_PUSH_ID = "wzrk_pid";

This is why the notification is not shown.

from clevertap-android-sdk.

darshanclevertap avatar darshanclevertap commented on June 15, 2024

@VictorTellez
If you send out a Push Notification using Segments -> Find people -> Find by Identity -> Profile -> Push notification we don't send the wzrk_pid key.
The if statement you have mentioned only checks for the key if present. If it is not present then it proceeds without stopping the flow. I think there is confusion over here regarding why a Push Notification is not showing up on your device. Why don't we take this up on a formal channel? Please write in to us at [email protected] and someone from our support team can get on a call with you and help you with this. Please do mention this Github ticket when you mail to us so that we can take it on priority.

from clevertap-android-sdk.

darshanclevertap avatar darshanclevertap commented on June 15, 2024

@VictorTellez Was this resolved from your side?

from clevertap-android-sdk.

kratuldev avatar kratuldev commented on June 15, 2024

Closing the issue due to inactivity

from clevertap-android-sdk.

TVasundhra1 avatar TVasundhra1 commented on June 15, 2024

Is it possible to get the campaign_name in campaign related push notification.

Specifications:
Android Os 12
CleverTap SDK 4.4.0

Requirements:
Needed this for tracking purpose

from clevertap-android-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.