Comments (10)
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.
@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.
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.
@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.
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.
@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.
@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.
@VictorTellez Was this resolved from your side?
from clevertap-android-sdk.
Closing the issue due to inactivity
from clevertap-android-sdk.
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)
- Support for a hook/ helper methods for listening FirebaseMessagingService HOT 2
- SDK 5.1.0's new CTWorkManager breaks custom WorkerFactory implementations and can't rollback HOT 13
- Build error : Missing Glide classes while taking release build HOT 8
- Timer template with "pt_big_img" not delivering to device HOT 4
- Implicit PendingIntent error in Pre-Launch Report Play Store HOT 2
- Upgrading play-services-ads requires ads.APPLICATION_ID to be declared in app manifest HOT 4
- Rating Template Issue HOT 10
- java.lang.ClassNotFoundException - Didn't find class "com.clevertap.android.sdk.InAppNotificationActivity" on path: DexPathList[[zip file HOT 2
- Email is merging instead of update HOT 3
- Manual Carousel: Image sequence getting messed up for release build HOT 1
- Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.clevertap.android.sdk.pushnotification.fcm.CTFirebaseMessagingReceiver: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.messaging.RemoteMessage HOT 4
- Cannot access '<init>': it is internal in 'TemplateRenderer' getting this error HOT 1
- Clevertap In App Notifications not getting for Android Tablet. HOT 5
- InApp Custom HTML doesn't render iframes HOT 2
- Profile merge issue in android HOT 11
- [ANR] CleverTap RenderMax SDK causes ANR HOT 2
- Multiple profiles merging into one HOT 5
- Fatal Exception: java.lang.RuntimeException Unable to create service com.clevertap.android.sdk.pushnotification.amp.CTBackgroundJobService: java.lang.ClassNotFoundException HOT 9
- Timer template: After timer expiry notification not getting updated HOT 7
- Small notification icon is displaying different background colour HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clevertap-android-sdk.