Title: [v3] Missing function for promisify (verification email) · Issue #248 · fullstackreact/react-native-firestack · GitHub
Open Graph Title: [v3] Missing function for promisify (verification email) · Issue #248 · fullstackreact/react-native-firestack
X Title: [v3] Missing function for promisify (verification email) · Issue #248 · fullstackreact/react-native-firestack
Description: I am running into following error ExceptionsManager.js:71 Error: Missing function for promisify. at index.js:235 at tryCallTwo (core.js:45) at doResolve (core.js:200) at new Promise (core.js:66) at index.js:235 at User.sendEmailVerificat...
Open Graph Description: I am running into following error ExceptionsManager.js:71 Error: Missing function for promisify. at index.js:235 at tryCallTwo (core.js:45) at doResolve (core.js:200) at new Promise (core.js:66) at...
X Description: I am running into following error ExceptionsManager.js:71 Error: Missing function for promisify. at index.js:235 at tryCallTwo (core.js:45) at doResolve (core.js:200) at new Promise (core.js:66) at...
Opengraph URL: https://github.com/fullstackreact/react-native-firestack/issues/248
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[v3] Missing function for promisify (verification email)","articleBody":"I am running into following error\r\n\r\n> ExceptionsManager.js:71 Error: Missing function for promisify.\r\n> at index.js:235\r\n> at tryCallTwo (core.js:45)\r\n> at doResolve (core.js:200)\r\n> at new Promise (core.js:66)\r\n> at index.js:235\r\n> at User.sendEmailVerification (auth.js:107)\r\n> at FsendEmailVerification (firebase.js:24)\r\n> at userSendEmailVerification (_user.js:10)\r\n> at _user.js:21\r\n> at tryCallOne (core.js:37)\r\n> reactConsoleErrorHandler @ ExceptionsManager.js:71\r\n> console.error @ YellowBox.js:61\r\n> (anonymous) @ _user.js:12\r\n> tryCallOne @ core.js:37\r\n> (anonymous) @ core.js:123\r\n> (anonymous) @ JSTimers.js:100\r\n> callTimer @ JSTimersExecution.js:95\r\n> callImmediatesPass @ JSTimersExecution.js:199\r\n> callImmediates @ JSTimersExecution.js:214\r\n> (anonymous) @ MessageQueue.js:214\r\n> guard @ MessageQueue.js:46\r\n> __callImmediates @ MessageQueue.js:214\r\n> (anonymous) @ MessageQueue.js:128\r\n> guard @ MessageQueue.js:46\r\n> invokeCallbackAndReturnFlushedQueue @ MessageQueue.js:126\r\n> (anonymous) @ debuggerWorker.js:71\r\n> index.js:7 \r\n\r\nThis started occurring after implementing `sendEmailVerification` in the following way\r\n\r\nfirebase.js\r\n---\r\n```\r\nimport Firestack from 'react-native-firestack';\r\n\r\n\r\n/**\r\n * @desc root firebase node\r\n * @type {Firestack}\r\n */\r\nexport const firebase = new Firestack();\r\n\r\n\r\n/**\r\n * @desc create user with email and password\r\n * @param {String} [email='']\r\n * @param {String} [password='']\r\n */\r\nexport const FcreateUserWithEmailAndPassword = (email = '', password = '') =>\r\n firebase.auth().createUserWithEmailAndPassword(email, password);\r\n\r\n\r\n/**\r\n * @desc send user verification email\r\n */\r\nexport const FsendEmailVerification = () =>\r\n firebase.auth().currentUser.sendEmailVerification();\r\n\r\n```\r\n\r\nredux actions (using redux-thunk) (_user.js)\r\n---\r\n```\r\nconst userSendEmailVerification = () => {\r\n FsendEmailVerification()\r\n .then(() => console.log('Email sent successfully'))\r\n .catch(err => console.error(err));\r\n};\r\n\r\nexport const userCreate = (email, password, repeatPassword) =>\r\n (dispatch) => {\r\n if (VpasswordsMatch(password, repeatPassword)) {\r\n dispatch({ type: CREATE_REQUEST });\r\n FcreateUserWithEmailAndPassword(email, password)\r\n .then((user) => {\r\n userSendEmailVerification();\r\n dispatch({ type: CREATE_SUCCESS, payload: user });\r\n })\r\n .catch(err => console.error(err));\r\n } else {\r\n console.error('Passwords do not match');\r\n }\r\n };\r\n```\r\n\r\nIssue pops up in console, user is created but no verification email is sent\r\n\r\n**Error seems to be produced by catch statement from `FsendEmailVerification`**\r\n\r\nUpdate error screenshot\r\n---\r\n","author":{"url":"https://github.com/xzilja","@type":"Person","name":"xzilja"},"datePublished":"2017-01-17T18:46:22Z","url":"https://github.com/fullstackreact/react-native-firestack/issues/248"}
| 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:2d7fffd0-3d55-ec53-b86c-c7cb36fee7c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E97A:B38D4:C9C2EF:112E950:6AFE75B4 |
| html-safe-nonce | c72ad9692aee049a8f1933e46baf45e81a2d3d70f37dc4629931e0a22a409051 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTdBOkIzOEQ0OkM5QzJFRjoxMTJFOTUwOjZBRkU3NUI0IiwidmlzaXRvcl9pZCI6IjExMjg1MDQ4Mjc3Nzc1NDU2NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 14e33e5664ff99af4358818b12514d92217df353739a18908d7bc4bd5f9a869b |
| hovercard-subject-tag | issue:201372189 |
| 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/248/issue_layout |
| twitter:image | https://opengraph.githubassets.com/00800550c8dbc32f6ea713d3b2d9036c2b9056f0a216f8f7dd5f08bfb0bf6537/fullstackreact/react-native-firestack/issues/248 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00800550c8dbc32f6ea713d3b2d9036c2b9056f0a216f8f7dd5f08bfb0bf6537/fullstackreact/react-native-firestack/issues/248 |
| og:image:alt | I am running into following error ExceptionsManager.js:71 Error: Missing function for promisify. at index.js:235 at tryCallTwo (core.js:45) at doResolve (core.js:200) at new Promise (core.js:66) at... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xzilja |
| 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