CleverTap / clevertap-android-sdk

CleverTap Android SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rating Template Issue

ravirajjak opened this issue · comments

Describe the bug
Rating Template : On Click of any star nothing happens even though the parameter pt_dl1 is passed with deep link

To Reproduce
Steps to reproduce the behavior:

  1. Send pt_rating Push to Android SDK

Expected behavior
on click of any star navigate to respective deeplink

Screenshots/Logs
If applicable, add screenshots to help explain your problem.
In case of crashes, share the entire crash logs as a .txt file

Environment (please complete the following information):

  • Device: Google
  • OS: Android 14
  • CleverTap SDK Version : 4.6.0
  • Android Studio Version : Giraffe

@ravirajjak This issue has been identified and we are looking into it. In the meantime, if you could provide us the sample json for this push-template and the logs, it would provide further clarity

@Anush-Shand
according to documentation
https://developer.clevertap.com/docs/push-templates-android#rating-template

I have added mandatory parameters

pt_id = pt_rating
pt_title = Title
pt_msg = Required | Message
pt_default_dl = Default Deep Link for Push Notification
pt_dl1 = https://www.google.com/images
pt_bg =#FFFFFF

That's it once I receive the notification I click on any of the stars. so let's take star 1 ideally it should redirect or at least give a callback that one is selected

@ravirajjak Thanks for the details. Could you please also confirm the version of clevertap-push-templates sdk used and the logs when you click any one of the stars

@ravirajjak This seems to be the version for the com.clevertap.android:clevertap-android-sdk. The version for com.clevertap.android:push-templates will be different

@ravirajjak This was a known issue in push-templates v1.0.4 and was fixed in v1.0.9
Please upgrade the com.clevertap.android:push-templates to v1.0.9 or above and then confirm if the issue persists.
https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev5.0.0_ptv1.0.9

@Anush-Shand does 1.0.9 target Android SDK 33? if yes then it's not getting compiled with our project.
Will it be possible to downgrade the SDK to 31 ?

@ravirajjak 1.0.9 does target API Level 33. As per Google New apps must target Android 13 (API level 33) or higher and hence we don't plan to support this on API level 31 as of now

Closing this issue due to inactivity