I have integrated clever tap into my android app. It works fine, but how can I add notification click methods in my app code, I am not able to find the code for notifications clicks on your website. Can anyone guide me or share a reference doc?
@jack2jm You can find the documentation here - https://developer.clevertap.com/docs/android#section-custom-android-push-notifications-handling
To track the push notification clicks/events and deeplinks add the following receiver in your
<receiver android:name="com.clevertap.android.sdk.CTPushNotificationReceiver" android:exported="false" android:enabled="true"> </receiver>
It has already implemented. Also, i am getting proper data. But when i click on the notification, want to open a particular activity, where I can write code for received notification data?
We pass all the parameters to the Intent which launches the app or a particular activity. You can use the
onNewIntent() method and get the Bundle and use it
Thanx a lot. Its works.