762 results found
-
Export event state to BigQuery
Currently the events exported from Firebase to BigQuery don't have the issue state, which requires additional work to check the issue state without the information on when the state was updated.
The proposal is that real-time exporting can consider the issue state at the time of receiving the event.
E.g.
- Issue ID 1 currently has an open state
- Issue ID 1 receives event ID A at 10:30am
- Issue ID 1 is set to a closed state at 10:31am
- Issue ID 1 receives event ID B at 10:32am
- BigQuery has event ID A set as open…7 votes -
Transactions should allow exponential backoff retries like pub sub
Transactions allow passing an options object with maxRetries, but all retries are immediate. If there are many other functions writing the same document, transactions will fail after all retries (lock will time out). Maybe a better strategy would be to delay with exponential backoff like pub sub does.
3 votes -
Make wonderful gaming apps
Gaming apps is the importance for everyone who are interested on playing games in online
2 votes -
custom gpt to firestore
I wanted to create my own GPT using OpenAI's new GPT builder which has "Functions" in it, and I wanted it to be able to use Firestore API to perform CRUD operations, but unfortunately I struggled to find documentation on how to do that.
2 votes -
Firebase messaging SDK with proper error response message in emulator
I encountered an issue while attempting to emulate the sending of push notifications with a Firestore Cloud Function. Despite having valid tokens set up, I received an error response. The error messages I received after attempting to send two push notifications individually were as follows:
"Error: Requested entity was not found."
"Error: The registration token is not a valid FCM registration token."Ideally, I would expect to receive a 200 or 403 response along with a message indicating that the message was sent successfully, but that this is only an emulation environment. Upon deploying the latest version of my script…
3 votes -
Full-stack preview channels
Hosting preview channels are great, and work well for client-side code, however for full-stack apps that require a server (either for SSR or API routes), the preview channel uses to the 'main' server as a backend. It would be great if the server side code also got deployed to a new firebase function and was managed alongside the hosting preview.
3 votes -
Allow developers to use the local Firestore database for free
It'd be really nice if you could allow users to create local drafts, of small documents, for instance, and save them locally for free with Firestore.
This way you wouldn't have to coordinate Firestore and its rules with some other database and client code nor would you have to choose the simpler option of getting charged for writes and reads on remote database documents that really only one user is supposed to write and read.
Please note that while you could use the realtime database to save drafts, 1 it's not always easy to figure out whether that'd actually be…
1 vote -
Allow 'is not' operator for Language and Country condition rule type
We sometimes want to target all countries or languages apart from a select few with things we are delivering through remote config. Currently to do this we have to select all other countries and languages and then make sure the one we don't want to serve to is unticked.
Instead it would be much easier to just target the language we don't want to send it to.
1 vote -
Automatic SMS OTP read with English templates
For automatic SMS retrieval to work, SMS length has to be under 64 bytes. This means currently that for English SMS template, the app name has to be 11-14 characters. Play Console allows max 30 characters. Firebase doesn't allow customers to modify the SMS template contents themselves. Now I'm working around by utilizing some other languages, that will fit below 64 bytes with current app name.
Two options I suggest to achieve this:
1) Modify the English SMS template: remove unnecessary filler words and make it shorter, so that it will fit to 64bytes with max 30 char app names.…
6 votes -
Support offset-based document access and pagination
There should be an easy way to get a specific document by index in a query:
// this query should work as it's read, if i wanted to use gte i'd use a where
query(this.collection, orderBy('anything', 'asc'), startAt(index), limit(1))
5 votes -
Support named database data retention with import and export-on-exit flags
Now that we can create named databases and see those databases in the firestore emulator, it would be nice if the import and export-on-exit flags also respected these named databases and imported the data previously exported into the correct database.
2 votes -
Use of FirebaseMessagingException should be possible in unit tests
The
FirebaseMessagingException
class issealed
with aninternal
constructor and no interface. This means we cannot test our code that handles this exception because we can't create this type of exception nor can we mock it due to the lack of an interface.3 votes -
"<Product> User" roles (in addition to Viewer & Admin roles)
Right now, there are two levels of pre-defined roles: "Viewer" and "Admin".
However, sometimes you don't need all of the Admin permissions, but you still need to make some changes in the system as normal operations.
This has been already done for App Check but not other products.
Cloud Firestore:
Let's take the Firestore roles as an example:- Cloud Datastore Viewer (A generic Firestore viewer permission)
- Cloud Datastore User (A service account for manipulating data in the Firestore databases)
- Cloud Datastore Owner (A generic Firestore owner permission).
And then, there are specialized roles with viewer/admin level access for certain types…
3 votes -
Firestore : Throw error access data with offline cache without enable persistence
When retrieving documents from Firebase's Firestore on the web, if you attempt to read the value from the cache, it will return an empty result.
This seems to be an issue because Firestore's database does not use offline data when accessed from the web by default.
To make developers aware of this, should throw some error if Firestore's database is set to not use offline data, and attempting to read the cache value.
3 votes -
Performance Network Request Integration with DIO Flutter Package
Flutter applications that use https://pub.dev/packages/dio should be able to get automatic network logging to Performance Monitoring.
2 votes -
Improve firestore explorer UI - it is too small
The UX when reading large objects in the firestore explorer UI requires too much scrolling in small windows to find the information you are after. I'd propose to:
Note: "window" here refers to where the container where the data of a document can be found or alternatively where all the collection can be found. So the firestore explorer contains usually, a collection window, a document window, (a sub collections window, a document window,...).
- collapse maps by default, or collapse maps if the object is larger than the current window. When dealing with large objects it's currently annoying to find the…
7 votes -
Duplicate document in collection in Firestore
Duplicate document in collection in Firestore
4 votes -
Web API Key
In Firebase Console -> Project settings:
Add (?) for "Web API Key" what it is used for or maybe provide a link to docs.3 votes -
Deploy Private HTTP Firebase Functions without "Allow unauthenticated"
By default HTTP Firebase Functions are made public. In Google Console they are marked as "Allow unauthenticated" because they will allow all callers, without checking authentication.
I would like an option to deploy them privately.
Example:
const privateFunction = onRequest(
{
allowUnauthenticated: false,
},
(req, res) => {
res.status(200).send(req.body);
},
);3 votes -
Firestore return document when it gets updated
As we get the whole document when it is created, it would be nice to get it as well when it gets updated.
Example:
Online game where 4 people join together. In document, we have a list of players with their names. These names should be displayed for all players. Last user joins closing the session. To get the rest of the names after update the document with this last player, I need to do an extra read.Problem:
I am making an entra call for every player, affecting my quota limitation.Solution:
Return updated document.11 votes
- Don't see your idea?