{"action":"created","issue":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1249","repository_url":"https://api.github.com/repos/invertase/react-native-firebase","labels_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1249/labels{/name}","comments_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1249/comments","events_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1249/events","html_url":"https://github.com/invertase/react-native-firebase/issues/1249","id":335643348,"node_id":"MDU6SXNzdWUzMzU2NDMzNDg=","number":1249,"title":"Crashing on signInAndRetrieveDataWithCredential()","user":{"login":"0paIescent","id":35069603,"node_id":"MDQ6VXNlcjM1MDY5NjAz","avatar_url":"https://avatars1.githubusercontent.com/u/35069603?v=4","gravatar_id":"","url":"https://api.github.com/users/0paIescent","html_url":"https://github.com/0paIescent","followers_url":"https://api.github.com/users/0paIescent/followers","following_url":"https://api.github.com/users/0paIescent/following{/other_user}","gists_url":"https://api.github.com/users/0paIescent/gists{/gist_id}","starred_url":"https://api.github.com/users/0paIescent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0paIescent/subscriptions","organizations_url":"https://api.github.com/users/0paIescent/orgs","repos_url":"https://api.github.com/users/0paIescent/repos","events_url":"https://api.github.com/users/0paIescent/events{/privacy}","received_events_url":"https://api.github.com/users/0paIescent/received_events","type":"User","site_admin":false},"labels":[{"id":565970758,"node_id":"MDU6TGFiZWw1NjU5NzA3NTg=","url":"https://api.github.com/repos/invertase/react-native-firebase/labels/android","name":"android","color":"c2e0c6","default":false},{"id":576624277,"node_id":"MDU6TGFiZWw1NzY2MjQyNzc=","url":"https://api.github.com/repos/invertase/react-native-firebase/labels/auth","name":"auth","color":"d4c5f9","default":false},{"id":566539156,"node_id":"MDU6TGFiZWw1NjY1MzkxNTY=","url":"https://api.github.com/repos/invertase/react-native-firebase/labels/awaiting-user-feedback","name":"awaiting-user-feedback","color":"5319e7","default":false},{"id":529942681,"node_id":"MDU6TGFiZWw1Mjk5NDI2ODE=","url":"https://api.github.com/repos/invertase/react-native-firebase/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"Salakar","id":5347038,"node_id":"MDQ6VXNlcjUzNDcwMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5347038?v=4","gravatar_id":"","url":"https://api.github.com/users/Salakar","html_url":"https://github.com/Salakar","followers_url":"https://api.github.com/users/Salakar/followers","following_url":"https://api.github.com/users/Salakar/following{/other_user}","gists_url":"https://api.github.com/users/Salakar/gists{/gist_id}","starred_url":"https://api.github.com/users/Salakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salakar/subscriptions","organizations_url":"https://api.github.com/users/Salakar/orgs","repos_url":"https://api.github.com/users/Salakar/repos","events_url":"https://api.github.com/users/Salakar/events{/privacy}","received_events_url":"https://api.github.com/users/Salakar/received_events","type":"User","site_admin":false},"assignees":[{"login":"Salakar","id":5347038,"node_id":"MDQ6VXNlcjUzNDcwMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5347038?v=4","gravatar_id":"","url":"https://api.github.com/users/Salakar","html_url":"https://github.com/Salakar","followers_url":"https://api.github.com/users/Salakar/followers","following_url":"https://api.github.com/users/Salakar/following{/other_user}","gists_url":"https://api.github.com/users/Salakar/gists{/gist_id}","starred_url":"https://api.github.com/users/Salakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salakar/subscriptions","organizations_url":"https://api.github.com/users/Salakar/orgs","repos_url":"https://api.github.com/users/Salakar/repos","events_url":"https://api.github.com/users/Salakar/events{/privacy}","received_events_url":"https://api.github.com/users/Salakar/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/invertase/react-native-firebase/milestones/7","html_url":"https://github.com/invertase/react-native-firebase/milestone/7","labels_url":"https://api.github.com/repos/invertase/react-native-firebase/milestones/7/labels","id":3153301,"node_id":"MDk6TWlsZXN0b25lMzE1MzMwMQ==","number":7,"title":"v4.3.0 Release","description":"Main focus of this release is Storage rework/improvements and bug fixes for other modules","creator":{"login":"Salakar","id":5347038,"node_id":"MDQ6VXNlcjUzNDcwMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/5347038?v=4","gravatar_id":"","url":"https://api.github.com/users/Salakar","html_url":"https://github.com/Salakar","followers_url":"https://api.github.com/users/Salakar/followers","following_url":"https://api.github.com/users/Salakar/following{/other_user}","gists_url":"https://api.github.com/users/Salakar/gists{/gist_id}","starred_url":"https://api.github.com/users/Salakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salakar/subscriptions","organizations_url":"https://api.github.com/users/Salakar/orgs","repos_url":"https://api.github.com/users/Salakar/repos","events_url":"https://api.github.com/users/Salakar/events{/privacy}","received_events_url":"https://api.github.com/users/Salakar/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":4,"state":"open","created_at":"2018-03-01T11:23:00Z","updated_at":"2018-07-09T11:52:20Z","due_on":"2018-07-17T07:00:00Z","closed_at":null},"comments":14,"created_at":"2018-06-26T03:19:08Z","updated_at":"2018-07-10T01:34:22Z","closed_at":null,"author_association":"NONE","body":"Target Platform: Android\r\nOS: Solus 3.9999\r\n\r\nBuild Tools: 27.0.3\r\nRN: 0.55.4\r\nRNFirebase: 4.2.0\r\n\r\nIssue:\r\n\r\n\r\nWhen running `firebase.auth().signInAndRetrieveDataWithCredential()`, the app crashes. But it only crashes when I pass in a credential from `firebase.auth.TwitterAuthProvider.credential()`. It works just fine when I run it with a Facebook or Google credential, but it doesn't like the one from Twitter.\r\n\r\nCode:\r\n\r\n```\r\nimport { NativeModules } from 'react-native';\r\nconst { RNTwitterSignIn } = NativeModules;\r\nimport firebase from 'react-native-firebase';\r\n\r\nasync function signInWithTwitter() {\r\n    try {\r\n        RNTwitterSignIn.init(<key>, <secret>);\r\n        const { authToken, authTokenSecret } = await RNTwitterSignIn.logIn();\r\n        const credential = firebase.auth.TwitterAuthProvider.credential(authToken, authTokenSecret);\r\n        const resp = await firebase.auth().signInAndRetrieveDataWithCredential(credential);\r\n        // ^^^ crashes here ^^^ //\r\n    } catch (err) {\r\n        console.log(err)\r\n    }\r\n}\r\n```\r\n\r\nBoth the token and secret are coming back from twitter just fine, and the credential is created properly too, so I'm not quite sure what else the issue could be. I can post any other files if needed to identify the problem, just let me know and I'll add them as soon as I can."},"comment":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/comments/403670808","html_url":"https://github.com/invertase/react-native-firebase/issues/1249#issuecomment-403670808","issue_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1249","id":403670808,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzY3MDgwOA==","user":{"login":"itome","id":24409457,"node_id":"MDQ6VXNlcjI0NDA5NDU3","avatar_url":"https://avatars0.githubusercontent.com/u/24409457?v=4","gravatar_id":"","url":"https://api.github.com/users/itome","html_url":"https://github.com/itome","followers_url":"https://api.github.com/users/itome/followers","following_url":"https://api.github.com/users/itome/following{/other_user}","gists_url":"https://api.github.com/users/itome/gists{/gist_id}","starred_url":"https://api.github.com/users/itome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itome/subscriptions","organizations_url":"https://api.github.com/users/itome/orgs","repos_url":"https://api.github.com/users/itome/repos","events_url":"https://api.github.com/users/itome/events{/privacy}","received_events_url":"https://api.github.com/users/itome/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T01:34:22Z","updated_at":"2018-07-10T01:34:22Z","author_association":"NONE","body":"@Salakar Thank you for fixing. I downloaded the commit and every thing works well in my local computer!!"}}
{"actor":{"display_login":"itome"}}