snippets-web icon indicating copy to clipboard operation
snippets-web copied to clipboard

Web snippets for firebase.google.com

Results 41 snippets-web issues
Sort by recently updated
recently updated
newest added

Brought to you by your friendly [Repository Gardener](https://github.com/GoogleCloudPlatform/repository-gardener).

https://github.com/firebase/snippets-web/blob/1abb6ce1a784ae5552946dff5f1f5aab7dcbda30/snippets/firestore-next/test-firestore/get_custom_object.js#L16 The `toString()` method exists on each `Object` already, so it is not a great example to highlight that we get a custom object type back when using `withConverter`. I...

https://github.com/firebase/snippets-web/blob/1abb6ce1a784ae5552946dff5f1f5aab7dcbda30/snippets/firestore-next/test-firestore/update_delete_field.js#L8-L15

It should be as ``` console.log(doc.id, "=>", doc.data()) ``` https://github.com/firebase/snippets-web/blob/e74e8fd9591f70007a44c58580ff0f1fcd1c7959/snippets/firestore-next/test-firestore/get_all_users.js#L8-L13

I have added the `await` keyword that was missing before the `setDoc()` function.

Hello, this code for updating password is not working to my JavaScript app. It always send that "getASecureRandomPassword" is not defined. Here is the code : const user = auth.currentUser;...

I'm trying to replicate the example of merging two existing accounts, but I think that the problem is that the docs doesn't explicit says that the `prevUser` needs to be...

I sign in the users Anonymously for the first time and when they opt to sign in using tiktok I'm using the custom token sign in flow. how do I...

Where does the "googleUser" variable come from? How do i get it? https://github.com/firebase/snippets-web/blob/509769a817d7437616bcfcb816f783b29aaca843/snippets/auth-next/index/auth_make_google_credential.js#L8-L11 The snippet of code mentions a variable called "googleUser" which has googleUser.getAuthResponse().id_token I do not know where...

## What steps will reproduce the problem: 1. Start the service worker session in the auth-next snippet. 2. Attempt to upload a file using a form with enctype="multipart/form-data". 3. Observe...