1226 results found
-
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…
4 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.
5 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.
3 votes -
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.…
29 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
FirebaseMessagingExceptionclass issealedwith aninternalconstructor 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.4 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.
5 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.
4 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…
9 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.5 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);
},
);5 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.13 votes -
Compatibility testing
Hello, a large number of real devices (test mobile phones) need to be used for Robo script compatibility testing. The number is 600. See the screenshot for details.
Samsung devices:['SM-J737T', 'SM-A536U1', 'SM-M127G', 'SM-T820', 'SM-F721U1', 'SM-A325M', 'SM-T875', 'SM-A315N', 'SM-J330L', 'SM-A6050', 'SM-G986U1', 'SM-N970F', 'SM-J530F', 'SM-M305M', 'SM-A5460', 'SM-J600F', 'SM-J5008', 'SM-J810M', 'SM-G9550', 'SM-G7508Q', 'SM-G9287', 'SM-A426B', 'SM-G8850', 'SM-F946N', 'SM-A013F', 'SM-N9005', 'SM-A505YN', 'SM-J415FN', 'SM-T805', 'SM-A600G', 'SM-M215F', 'SM-P350', 'SM-A226L', 'SM-T295', 'SM-A032F', 'SM-A225F', 'SM-T505', 'SM-A305F', 'SM-A127F', 'SM-J737V', 'SM-A8000', 'SM-A115M', 'SM-N950F', 'SM-G960X', 'SM-N9200', 'SM-A260F', 'SM-T290', 'SM-N935F', 'SM-S918U', 'SM-G950U1', 'SM-A307FN', 'SM-G9960', 'SM-N981B', 'SM-N9860', 'SM-S9010', 'SM-G6200', 'SM-A505FM', 'SM-T810', 'SM-F9000', 'SM-G973U1', 'SM-F936B', 'SM-J730FM', 'SM-G950F', 'SM-A235N', 'SM-G975U1', 'SM-N970U', 'SM-G975F', 'SM-M205G', 'SM-M135FU', 'SM-G970U1', 'SM-A215U',…4 votes -
Auth onUpdate trigger for v1 and v2 functions
In the same way, we have onCreate and onDelete, it will be very helpful to have an onUpdate option. For example, so we can react to an email address change.
70 votes -
Add custom permissions claims to access tokens via Firebase web interface
Firebase currently only allows you to add custom claims to ID tokens, and it suggests adding role based access control (RBAC) permissions in those ID token claims.
RBAC custom claims should be added to the access token which is already included in the Authorization header in all API requests, so the API already has access to the token that it needs. Additionally including an ID token in API requests so that the API can read permissions from it is overly complicated and superfluous.
Furthermore, you should be able to add these claims to access tokens for specific users via the…
4 votes -
Need support for linked list
We need to be able to insert a new document, update an existing document or delete a document in an ordered list of about 1000 documents. We are doing this using a linked list. Firebase does not offer linked list functionality.
1 vote
- Don't see your idea?