adzerk / adzerk-ios-sdk

Access Adzerk's ad serving APIs via iOS
https://www.adzerk.com
Other
9 stars 5 forks source link

Fix issue where user key saved to key of same value #5

Closed tyten closed 8 years ago

tyten commented 8 years ago

The user key was being saved to a key that was the text of the user key instead of adzUserKey. This caused the user key to essentially be lost every time, a new key being generated, and then saved to a completely different key in the keychain. Everything pulled out of adzUserKey would always be nil.

daveyarwood commented 8 years ago

@tyten Thanks for the PR! I think it will do the trick. We hope to be able to merge it and deploy a new version of the iOS SDK to CocoaPods very soon.