New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate Profiles creation #113
Comments
@Aryan210 Can you show us the code you're using to update the profile? |
mCleverTap = CleverTapAPI.getDefaultInstance(context);
|
@Aryan210 Sorry, can you also tell us which version of the CleverTap SDK are you using currently? |
com.clevertap.android:clevertap-android-sdk:3.5.1 |
@Aryan210 v3.5.1 is a very old SDK version. We've fixed a bunch of bugs and issues since then. I'd suggest you move to CleverTap Android SDK v4.0.0 soon or as per this Google Policy you won't be able to push updates to your app starting November 2nd. And since you'll be moving from a very old SDK version, I'd suggest that you please go through our Android integration documentation once again. |
Anyways that is something the team is working on. My doubt is still the same that if we change certain params (not the phone number/email), then Clevertap will create new profile on calling the push function? If yes how can we only update the profile and not create another instance of the profile. |
@Aryan210 No, |
@darshanclevertap Can I assume onUserLogin also doesn't creates new profile every time? Nothing clearly mentioned on the documentation |
@Aryan210 |
@darshanclevertap Can you clarify these two scenarios. In both the cases the identity we are passing are same for onUserLogin
|
@Aryan210 If you pass same identity then it won't create new profile in both cases. |
@piyush-kukadiya On the documentation it says - "If instead you wish to assign multiple Identity, Email, or FBID values to the same user profile, push that profile information on the current user profile (via profile.push/profilePush) rather than onUserLogin." So I suppose if email id and Identity are being passed, same id but different email, then it would create a different profile on Clevertap. Can you clarify this? |
@Aryan210 We have to consider 4 identifier here With
|
@Aryan210 Does this help in solving your issue? |
@darshanclevertap @piyush-kukadiya Can't 2 profiles have same email? We want to have multiple profiles for the same user hence the email would be same but the identity will be different. This is what we are trying to do by using onUserLogin with a unique identityID with each profile switch but it's merging the profiles basis on email even when identityID are different. |
@rd7773 It is possible but requires certain code customizations. Since this issue is already marked as completed, I would request you to raise a support ticket with our team via our Help Center and they will promptly help you out. |
@darshanclevertap I understand i need to create a separate ticket for this but just to be clear, the code customisations would be required at the client end or in the clevertap's client sdk or clevertap's backend end? |
While using Clevertap's pushProfile function, it is creating multiple profiles if I change details associated with it. Is there a way that we can update the existing profiles with new values instead of creating a new profile?
The text was updated successfully, but these errors were encountered: