Team work with same Firebase account - firebase

It's the first time I'm developing an app not by myself, but together with another guy. This app uses Firebase backend and we both need access to realtime database to modify nodes related to those parts which we're developing.
Is there a way to provide access to a single Firebase project to different users without me sharing my Google account credentials? Something like collaborators on GitHub?

Permissions is actually used for this.
Go to your Firebase Console and select the specific project.
Click on Settings (Cog button beside Overview) and select Permissions. This will redirect you to the Google Cloud Console, IAM & Admin part.
Click on ADD. Under Members, type in the Gmail of the other user, and in Roles, select Project > Editor.
Click on ADD.
From there, the corresponding Firebase Project should be visible on the other user's Firebase Console in a few hours. (However, if you're in a hurry, you could just copy-paste the link of the project with the other user logged-in on Google and they would still be able to access it).
From there, they'd be able to edit out the Database part or whichever you needed.

Related

Unable to give Cloud Functions Admin role to my account on Firebase's project setting

I'm trying to set up the Firebase setting to link to FlutterFlow. I've followed the instruction, but I am unable to add the role for Cloud Functions Admin. When I started typing Cloud Functions in the search box, I could only come up with Cloud Functions Agent which is not the same thing. Please can anyone give me some advice on this? Many thanks!!
This is the screenshot of it shows when I tried to find Could Functions Admin
I tried typing Cloud Functions Admin in the search box and the item should come up in the list as shown in the tutorial video, but it didn't happen on the Firebase list. I am just unable to find find the item. I could find the other item 'Service Account User' to add as a role, but not 'Cloud Functions Admin'.
The origin of this issue is unknow. You can go to Manage roles, find Cloud Functions Admin and create a custom role out of it. Then you can add this role instead.
Check if functions is enabled for your project
https://console.firebase.google.com/u/0/project//functions
I even had to press the 'Get Started' button.
Before that I had to upgrade my project plan from Spark (free plan) to Blaze (Pay as you go)
Then 'Cloud Functions Admin' appeared in the list.
I hope this helps

Unable to create New User Property in Firebase

I am unable to create a new user property on Firebase because in this project the button "Create new user property" doesn't appear as it does in other projects, even having Firebase Admin Permissions.
Is it a bug? Can be something related to the project setup? I have no idea what else can be as there is no documentation about it.
Screenshot of the project with no button available:
Screenshot of another project with the button available:
Per Firebase-level predefined roles, Firebase Admin role should have full read/write access to all Firebase services. I tried to replicate this issue on my end, but I am able to see the 'New user property' button with Firebase Admin, Grow Admin, Owner and Editor roles.
I suggest you visit the users and permissions tab under project settings in the Firebase console and double check if you indeed have the correct permission. If so and still not able to see the 'New user property' button, then file a bug on Firebase support.

Firebase Dynamic links Analytics not shown?

I am exploring the dynamic links in firebase. My requirement is I will have an sms in my cell phone, which will have a short link and upon click of this link I will open a web page (later we might integrate this with a page in the app)
So I created fire base account and setup an app using my personal gmail account.
Am using their post api with the right api key to generate short urls. (getting warning about the phishing issues which I am ignoring for the time being)
Upon clicking the urls (short link/preview link) I can go to the appropriate URL I have configured.
now I am trying to see the analytics around this dynamic url but dont know why I cannot see anything.
I am checking Grow -->DynamicLink--> Selected My app and I expect the dynamic link generated in above steps to appear here but I cannot see anything.
I am going to analytics -->Events it is asking me to add an app to see the analytics which is not the case for now as I am just hitting the url on the browser directly.
Please let me know if I am doing the right thing?
One of the main use cases (as mentioned in firebase docs) of the firebase dynamic links is web to app conversion and your app must contain the firebase SDK. Once the user comes to the app through the dynamic link, firebase SDK fires the appropriate events. These events can be tracked from analytics -> Events.
But your use case is different you are creating dynamic links for the SMS and after clicking user comes to the website and there is no firebase SDK installed in your website hence no analytics (although firebase will measure some events like click, etc) on the analytics -> Events.
If you want to see the analytics, you will need to create a dynamic link in the firebase console manually or use the dynamic link analytics api.
In short, API created dynamic links can only be tracked if firebase SDK is installed in your app and after that, you need to add that app to firebase analytics -> events section. According to your use case, my suggestion would be to either create dynamic links from console manually or use the dynamic link analytics api

Firebase permission: Create links

I'm trying to integrate Firebase with Crashlytics for my app. When I click the "Link apps" button on the Fabric / Firebase linking page, I get a Unable to create link, you do not have the required Firebase permissions to create links error.
The question is: exactly what kind of permission is needed? (I've got editing privileges - I'm not the owner of the project).
Mike from Firebase and Fabric here. You need to be an owner in Firebase and an admin/owner within Fabric in order to set up the linking flow.

Cant add a collaborator via (email address)

I am trying to add a collaborator on firebase.But the issue when the other team member insert the link that got from email he cant see the app. It's opens new firebase site and not the old one.
Any idea how can I add him to my firebase app to db?
It is no longer possible to invite non-firebase users to a classic Firebase project (where you access the dashboard through .firebase.com).
Inviting existing Firebase users to such a project should still be possible. But if the developer you want to add is not yet a Firebase user, the way to give them access is by upgrading your project to the new Firebase console (firebase.google.com) and add them there.

Resources