{"action":"created","issue":{"url":"https://api.github.com/repos/braintree/braintree_ios/issues/199","labels_url":"https://api.github.com/repos/braintree/braintree_ios/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/braintree/braintree_ios/issues/199/comments","events_url":"https://api.github.com/repos/braintree/braintree_ios/issues/199/events","html_url":"https://github.com/braintree/braintree_ios/pull/199","id":118936147,"number":199,"title":"Prevent calling requestsDismissalOfViewController","user":{"login":"Reflejo","id":232113,"avatar_url":"https://avatars.githubusercontent.com/u/232113?v=3","gravatar_id":"","url":"https://api.github.com/users/Reflejo","html_url":"https://github.com/Reflejo","followers_url":"https://api.github.com/users/Reflejo/followers","following_url":"https://api.github.com/users/Reflejo/following{/other_user}","gists_url":"https://api.github.com/users/Reflejo/gists{/gist_id}","starred_url":"https://api.github.com/users/Reflejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reflejo/subscriptions","organizations_url":"https://api.github.com/users/Reflejo/orgs","repos_url":"https://api.github.com/users/Reflejo/repos","events_url":"https://api.github.com/users/Reflejo/events{/privacy}","received_events_url":"https://api.github.com/users/Reflejo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-25T22:40:57Z","updated_at":"2015-12-02T07:56:20Z","closed_at":"2015-11-30T16:08:19Z","pull_request":{"url":"https://api.github.com/repos/braintree/braintree_ios/pulls/199","html_url":"https://github.com/braintree/braintree_ios/pull/199","diff_url":"https://github.com/braintree/braintree_ios/pull/199.diff","patch_url":"https://github.com/braintree/braintree_ios/pull/199.patch"},"body":"This fix prevents calling requestsDismissalOfViewController when there is nothing to dismiss. The same way `requestsPresentationOfViewController` is not being called when there is nothing to present.\r\n\r\nBefore this, the library was crashing on runtime when using swift and iOS < 9 as this is passing `nil` to a function signature that is marked as `non_null`."},"comment":{"url":"https://api.github.com/repos/braintree/braintree_ios/issues/comments/161213029","html_url":"https://github.com/braintree/braintree_ios/pull/199#issuecomment-161213029","issue_url":"https://api.github.com/repos/braintree/braintree_ios/issues/199","id":161213029,"user":{"login":"Reflejo","id":232113,"avatar_url":"https://avatars.githubusercontent.com/u/232113?v=3","gravatar_id":"","url":"https://api.github.com/users/Reflejo","html_url":"https://github.com/Reflejo","followers_url":"https://api.github.com/users/Reflejo/followers","following_url":"https://api.github.com/users/Reflejo/following{/other_user}","gists_url":"https://api.github.com/users/Reflejo/gists{/gist_id}","starred_url":"https://api.github.com/users/Reflejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reflejo/subscriptions","organizations_url":"https://api.github.com/users/Reflejo/orgs","repos_url":"https://api.github.com/users/Reflejo/repos","events_url":"https://api.github.com/users/Reflejo/events{/privacy}","received_events_url":"https://api.github.com/users/Reflejo/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T07:56:20Z","updated_at":"2015-12-02T07:56:20Z","body":"Ah just saw it, never mind. Thanks!"}}