{"action":"created","issue":{"url":"https://api.github.com/repos/BranchMetrics/Branch-iOS-SDK/issues/121","labels_url":"https://api.github.com/repos/BranchMetrics/Branch-iOS-SDK/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/BranchMetrics/Branch-iOS-SDK/issues/121/comments","events_url":"https://api.github.com/repos/BranchMetrics/Branch-iOS-SDK/issues/121/events","html_url":"https://github.com/BranchMetrics/Branch-iOS-SDK/issues/121","id":85032497,"number":121,"title":"Crash in - (void)setIdentity:(NSString *)userId","user":{"login":"ralonsocf","id":11819411,"avatar_url":"https://avatars.githubusercontent.com/u/11819411?v=3","gravatar_id":"","url":"https://api.github.com/users/ralonsocf","html_url":"https://github.com/ralonsocf","followers_url":"https://api.github.com/users/ralonsocf/followers","following_url":"https://api.github.com/users/ralonsocf/following{/other_user}","gists_url":"https://api.github.com/users/ralonsocf/gists{/gist_id}","starred_url":"https://api.github.com/users/ralonsocf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralonsocf/subscriptions","organizations_url":"https://api.github.com/users/ralonsocf/orgs","repos_url":"https://api.github.com/users/ralonsocf/repos","events_url":"https://api.github.com/users/ralonsocf/events{/privacy}","received_events_url":"https://api.github.com/users/ralonsocf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-04T10:35:27Z","updated_at":"2015-06-04T14:55:33Z","closed_at":null,"body":"If user session is not yet initialized when call to setIdentity the app crash trying to create the post dictionary because [BNCPreferenceHelper getDeviceFingerprintID], [BNCPreferenceHelper getSessionID], [BNCPreferenceHelper getIdentityID] return nil values."},"comment":{"url":"https://api.github.com/repos/BranchMetrics/Branch-iOS-SDK/issues/comments/108923841","html_url":"https://github.com/BranchMetrics/Branch-iOS-SDK/issues/121#issuecomment-108923841","issue_url":"https://api.github.com/repos/BranchMetrics/Branch-iOS-SDK/issues/121","id":108923841,"user":{"login":"shortstuffsushi","id":1016147,"avatar_url":"https://avatars.githubusercontent.com/u/1016147?v=3","gravatar_id":"","url":"https://api.github.com/users/shortstuffsushi","html_url":"https://github.com/shortstuffsushi","followers_url":"https://api.github.com/users/shortstuffsushi/followers","following_url":"https://api.github.com/users/shortstuffsushi/following{/other_user}","gists_url":"https://api.github.com/users/shortstuffsushi/gists{/gist_id}","starred_url":"https://api.github.com/users/shortstuffsushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shortstuffsushi/subscriptions","organizations_url":"https://api.github.com/users/shortstuffsushi/orgs","repos_url":"https://api.github.com/users/shortstuffsushi/repos","events_url":"https://api.github.com/users/shortstuffsushi/events{/privacy}","received_events_url":"https://api.github.com/users/shortstuffsushi/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T14:55:33Z","updated_at":"2015-06-04T14:55:33Z","body":"Ah, there is a check, but the request bodies are being constructed too early. This will be fixed by an outstanding pull request, which should be in this afternoon I hope."}}