Did UAKeychainUtils.h get deprecated?


I'm trying to upgrade UA from 6.0.2 to 7.0.4.

I'm having trouble because it appears that "UAKeychainUtils.h" was deprecated, or no longer in the files once I did a pod install.


This affects statements like:

[UAKeychainUtils getDeviceID];


since it appears that UAKeychainUtils is no longer supported.


Checking this library hierarchy, http://docs.urbanairship.com/reference/libraries/ios/7.0.4/hierarchy.html, seems to confirm that this is indeed the case.

What is the best way to move forward from here? 

I don't see note of this change in the migration guide.

Didn't find what you were looking for?

New post


1 comment

  • Hi Kim,
    UAKeychainUtils is not deprecated, but it is an internal class that is not meant to be used by the developer.

    I would recommend using UAirship.push().channelId to identify the device instead. The Channel ID is different, but it the identifier we prefer, and it can be used to send a unicast push that a single device.

    Please let me know if you have any other questions or concerns.

    Thank you,
    Sean Conlin
    Urban Airship Technical Support
    Portland, Oregon


Please sign in to leave a comment.