-
Notifications
You must be signed in to change notification settings - Fork 44
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
User attributes not registering when running Flutter app on iOS #76
Comments
Hi @CamronLDNF I verified the aforementioned behaviour for the iOS platform and appears that if you pass the date format as follows then it should work as expected.
|
@Aditi3 thanks for your response. Per your suggestion, I passed in the profile as follows (removed the attributes we don't use and added communication preferences). var dob = new DateTime(2010, 5, 5);
var profile = {
'Name': 'John Doe',
'Identity': 10001,
'Email': 'johndoe10001@mail.com',
'Gender': 'Female',
'DOB': CleverTapPlugin.getCleverTapDate(dob),
'MSG-push': true,
'MSG-email': true,
};
CleverTapPlugin.onUserLogin(profile); Although this solves the date issue, it produces a set of other issues now, both in iOS and Android. I've flagged them in the screenshots below. Please let me know. Also, I am using the On iOSOn Android |
For iOS Mobile Push communication preferences, can you please check if the push token is present on the profile? If the push token is not present then also the communication preference is marked as false. Once, the token gets updated for the user, the user will be subscribed to push. |
@CamronLDNF Is this resolved? |
I'm using
clevertap_plugin: 1.3.0
.To register the user properties, I'm using the
onUserLogin
method. This is what the code looks like (with sample values).When I run the app on Android, the user properties are registered correctly. When I run the app on iOS (both in emulator and on physical device), the top-level properties (name, email, etc.) and communication preferences are registered correctly BUT the properties that are meant to show up in the User properties table do not appear. Again, it works fine with Android but not with iOS. What could be wrong? I have gone through your documentation for Flutter, iOS, and Android, but to no avail.
Here are the screenshots:
On Android - OK
On iOS - properties not registering
The text was updated successfully, but these errors were encountered: