Title: setPersistence in AngularFire _BrowserLocalPersistence cannot be invoked without 'new'` · Issue #3550 · angular/angularfire · GitHub
Open Graph Title: setPersistence in AngularFire _BrowserLocalPersistence cannot be invoked without 'new'` · Issue #3550 · angular/angularfire
X Title: setPersistence in AngularFire _BrowserLocalPersistence cannot be invoked without 'new'` · Issue #3550 · angular/angularfire
Description: Problem The setPersistence method does not work when imported from @angular/fire/auth, leading to a TypeError. However, it works when imported from firebase/auth. Error When using the import from @angular/fire/auth, the following error i...
Open Graph Description: Problem The setPersistence method does not work when imported from @angular/fire/auth, leading to a TypeError. However, it works when imported from firebase/auth. Error When using the import from @...
X Description: Problem The setPersistence method does not work when imported from @angular/fire/auth, leading to a TypeError. However, it works when imported from firebase/auth. Error When using the import from @...
Opengraph URL: https://github.com/angular/angularfire/issues/3550
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" setPersistence in AngularFire _BrowserLocalPersistence cannot be invoked without 'new'`","articleBody":"Problem\r\nThe setPersistence method does not work when imported from @angular/fire/auth, leading to a TypeError. However, it works when imported from firebase/auth.\r\n\r\nError\r\nWhen using the import from @angular/fire/auth, the following error is encountered:\r\n\r\n`ERROR TypeError: Class constructor _BrowserLocalPersistence cannot be invoked without 'new'`\r\nCode Example\r\n\r\n- Non-functional:\r\n`import { setPersistence, browserLocalPersistence } from '@angular/fire/auth';`\r\n`await setPersistence(this.auth, browserLocalPersistence);`\r\n\r\n- Functional:\r\n`import { setPersistence, browserLocalPersistence } from 'firebase/auth';`\r\n`await setPersistence(this.auth, browserLocalPersistence);`\r\n\r\n","author":{"url":"https://github.com/omtagline","@type":"Person","name":"omtagline"},"datePublished":"2024-06-20T06:55:45Z","url":"https://github.com/angular/angularfire/issues/3550"}
| 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:8fa41f46-e2bd-ca89-30b2-3c9303e49a87 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D150:1E74B0:8BFC43:B1DF04:6B035FFF |
| html-safe-nonce | a858612e63b8c388d07981ef0bf813cffa6ecaed7c1e838aacf1c70f414382f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTUwOjFFNzRCMDo4QkZDNDM6QjFERjA0OjZCMDM1RkZGIiwidmlzaXRvcl9pZCI6IjQyNTAwMDgzMjc0NjUxNjQ3OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3df86117a25bab4ce8279acf3d21bbcc946f459a76eba261c9082e2aa167b7b5 |
| hovercard-subject-tag | issue:2363670539 |
| 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/angular/angularfire/3550/issue_layout |
| twitter:image | https://opengraph.githubassets.com/84994b6870e3453dfe994b15ed3ad12cf1cf57043414a4465cb759997960a276/angular/angularfire/issues/3550 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84994b6870e3453dfe994b15ed3ad12cf1cf57043414a4465cb759997960a276/angular/angularfire/issues/3550 |
| og:image:alt | Problem The setPersistence method does not work when imported from @angular/fire/auth, leading to a TypeError. However, it works when imported from firebase/auth. Error When using the import from @... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | omtagline |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width