Title: signInWithProvider argument mismatch · Issue #282 · fullstackreact/react-native-firestack · GitHub
Open Graph Title: signInWithProvider argument mismatch · Issue #282 · fullstackreact/react-native-firestack
X Title: signInWithProvider argument mismatch · Issue #282 · fullstackreact/react-native-firestack
Description: I'm getting an argument mismatch on the signInWithProvider function, expected 4, received 2. I'm using the v3 branch. The Java code expects 4 arguments (3 + callback/promise). react-native-firestack/android/src/main/java/io/fullstack/fir...
Open Graph Description: I'm getting an argument mismatch on the signInWithProvider function, expected 4, received 2. I'm using the v3 branch. The Java code expects 4 arguments (3 + callback/promise). react-native-firestac...
X Description: I'm getting an argument mismatch on the signInWithProvider function, expected 4, received 2. I'm using the v3 branch. The Java code expects 4 arguments (3 + callback/promise). react-native-...
Opengraph URL: https://github.com/fullstackreact/react-native-firestack/issues/282
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"signInWithProvider argument mismatch","articleBody":"I'm getting an argument mismatch on the `signInWithProvider` function, expected 4, received 2.\r\nI'm using the v3 branch.\r\n\r\nThe Java code expects 4 arguments (3 + callback/promise).\r\nhttps://github.com/fullstackreact/react-native-firestack/blob/8db8b5040b90e990816ede8b749e24ca9a486a11/android/src/main/java/io/fullstack/firestack/auth/FirestackAuth.java#L161\r\n\r\nBut the JS code sends an object as first argument.\r\nhttps://github.com/fullstackreact/react-native-firestack/blob/8db8b5040b90e990816ede8b749e24ca9a486a11/lib/modules/auth/index.js#L154\r\n\r\nThe `link` function seems to be correctly updated:\r\nhttps://github.com/fullstackreact/react-native-firestack/blob/8db8b5040b90e990816ede8b749e24ca9a486a11/lib/modules/auth/index.js#L137\r\n\r\nChanging the code to this seems to work:\r\n```\r\nsignInWithCredential(credential: any): Promise\u003cObject> {\r\n return promisify('signInWithProvider', FirestackAuth)(credential.provider, credential.token, credential.secret);\r\n}\r\n```","author":{"url":"https://github.com/ThaNarie","@type":"Person","name":"ThaNarie"},"datePublished":"2017-02-06T13:53:28Z","url":"https://github.com/fullstackreact/react-native-firestack/issues/282"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d68d9062-58b8-70df-b143-50fcd4acf975 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3CC:214941:B5D5E5:F755E0:6AFE6C6B |
| html-safe-nonce | 8d6d75fb89514ae82291920d35bcfbb01a18412c25991d01ae238cd1dcdb2e3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0NDOjIxNDk0MTpCNUQ1RTU6Rjc1NUUwOjZBRkU2QzZCIiwidmlzaXRvcl9pZCI6IjI2MjQxMDQ0MzMxMjQ5MTYyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b6d1a88e0d28b1e0f4e22b603c7eb4f5ae98f868a766224544cf17ba3edda401 |
| hovercard-subject-tag | issue:205589685 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fullstackreact/react-native-firestack/282/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b7c278380a62c4fbda40289e3deffaaaf060abb74597834d3d0f66071e7b31f/fullstackreact/react-native-firestack/issues/282 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b7c278380a62c4fbda40289e3deffaaaf060abb74597834d3d0f66071e7b31f/fullstackreact/react-native-firestack/issues/282 |
| og:image:alt | I'm getting an argument mismatch on the signInWithProvider function, expected 4, received 2. I'm using the v3 branch. The Java code expects 4 arguments (3 + callback/promise). react-native-firestac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ThaNarie |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/fullstackreact/react-native-firestack git https://github.com/fullstackreact/react-native-firestack.git |
| octolytics-dimension-user_id | 16674738 |
| octolytics-dimension-user_login | fullstackreact |
| octolytics-dimension-repository_id | 60655868 |
| octolytics-dimension-repository_nwo | fullstackreact/react-native-firestack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 60655868 |
| octolytics-dimension-repository_network_root_nwo | fullstackreact/react-native-firestack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width