Solved

WHy are my attributes not updating via the iOS SDK?

  • 30 May 2023
  • 1 reply
  • 35 views

I have noticed the platform is displaying inconsistent data for the App Version. For example, the customer profile shows the App Version 1.5. But when I view the recent activity, the application shows 1.6. Is the app_version something we have to pass on our side?

icon

Best answer by Ryan_cio 30 May 2023, 16:14

View original

1 reply

Userlevel 2

Hi Kristine, 

Hope that you’re doing well today!

Device attributes can be collected automatically OR manually added via the SDK. If you’re collecting these automatically, then the device attributes should be automatically updated every time the app is opened.

Can you confirm if you're calling the method below each time the app is starts, as recommended in Step 1 in the docs?

     // It's a good practice to register for remote push when the app starts.
// This asserts that the Customer.io SDK always has a valid device token.
UIApplication.shared.registerForRemoteNotifications()

If so, there may be something else going on here. Would you be able to replicate the issue with “logLevel” set to “debug” so that we can take a closer look? More detail on how to troubleshoot with our SDK can be found here.

Thanks,

Ryan

Reply