CleverTap / clevertap-android-sdk

CleverTap Android SDK
MIT License
80 stars 74 forks source link

Clevertap In App Notifications not getting for Android Tablet. #504

Closed parvez08 closed 7 months ago

parvez08 commented 1 year ago

I am using Clevertap for sending In App notification for Android Mobile / Tablet. In App notifications are displayed in the App for Android Mobile Devices but not for Android Tablet devices. My Tablet is running on Android 13 version and Android Mobile is running on Android 11 version.

Please help me in resolving this issue for Tablet devices.

//Code MyActivity :

final CleverTapAPI cleverTapAPI = CleverTapAPI.getDefaultInstance(this);
if (cleverTapAPI != null) {
   cleverTapAPI.resumeInAppNotifications();
}

Clevertap SDK version used : implementation 'com.clevertap.android:clevertap-android-sdk:4.7.2'

darshanclevertap commented 1 year ago

@parvez08 When you are creating the InApp Campaign have you selected "Tablet" as per the screenshot shared in the "WHO" section?

Screenshot 2023-11-10 at 11 14 35 AM
parvez08 commented 1 year ago

@darshanclevertap Yes i have selected the "Tablet" in the devices section. Also i have selected for both IOS and Android operating systems. This issue is for IOS Ipad devices also. We are getting In App Notifications for Iphone Mobile devices but not for Ipad or Tablet devices. Please help out with this issue.

Screenshot 2023-11-10 at 12 04 44 PM
darshanclevertap commented 1 year ago

@parvez08 Then I would suggest you raise an issue to our support team for this via this link. Please share the SDK version you are using and a debug APK of your app. If you cannot share the debug APK, then enable the VERBOSE logs by using this line before setting the ActivityLifecycleCallback -> CleverTapAPI.setDebugLevel(3)

We think the problem is with the backend in qualifying the Tablet devices to be able to send the payload for InApp campaigns.

parvez08 commented 1 year ago

@darshanclevertap Thanks for the quick response. Surely i ll raise a ticket to the support team.

Anush-Shand commented 7 months ago

Closing this due to inactivity. Feel free to reopen if required