Hi i am writing a script which created apk dynamically from scripts as i have package name manually on firebase Console for the apk which are created from my system.Can any body suggest how to add app dynamically in my project using CLI
There are currently no CLIs or tools for adding an app programmatically to a Firebase project. However, there is new REST API for creating and modifying projects and apps within it. You will need to learn the Firebase Management API, which is in beta. To create a new Android app in the project, you will need to call the androidApps endpoint.
Related
I'm developing a flutter app, which needs at least 2 projects for 2 different environments (development and production). My flutter app is already bound to a project, and when I tried creating another firebase project and adding the flutter app to the new project, after filling the package name and SHA, it says that OAuth2 client already exists for this package name and SHA-1 in another project, which probably refers to my first project. I'm a bit confused as to how should I start configuring the second project, I've tried going to the Firebase documentation, but the guide for android application starts with google-services.json which is only available to download after an application has been added to a firebase project. Any help would be greatly appreciated :D
I want to rename my Firebase id.
I found out that the only way to do that is to create new project
How can I rename the Firebase Project ID?
I've created a new project and pasted the same android applicationId.
I've added the correct json file into my project.
Then Firebase suggests me to run my app in order to test the connection.
I've reinstalled my app, but I have no connection.
Does it mean that I should delete the prerious app in order to make this app work?
Maybe change the default project will sove this problem.
Run this command:
firebase use --add <YOUR_NEW_PROJECT_NAME>
Or if you want to test a project in emulators which is not exist on your firebase, just delete the default project by running:
firebase use --clear
I'm working on a continuous project creation from an administrator tool. This tool is able to create a create a gitlab and jenkins project from template.
The android template use Firebase crashlytics and we all know that google-services.json file will be mandatory to use Firebase service.
After creating the project from our template using our administrator tool, jenkins build failed because of lack of google-services.json file.
So to retrieve google-services.json file, we need to create project firebase and android application. All of these actions are manual. My question is there a way to get this file using kind of Firebase APIs to create project and android application ?
Thanks
In android studio you get the option to link your Firebase Account. Double tap Shift and type Firebase You should get the assistant and then follow the instructions.
From a Windows, Android or IOS application, I would like to create a new Firebase account\project when the user installs the app.
Is that possible?
No, it's not possible
In order to create and add a project on firebase you need to upload your package name and
SHA-1(optional but still required for authenticating your client)
After that a JSON file will be generated and you have to put that file in your projects App folder and configure your Gradle files
so you can see now.
You cannot do this process on installing of app
Can I create app engine cloud endpoints backend project for my android application, so that I can manage the server and client library code in the same maven project?
Currently I have an android project in android studio, but I want to add a cloud endpoints backend to it. Dont want to manage 2 separate projects in git for these.
You can add the cloud backend using Android Studio itself. It is quiet straightforward!You need to add App Engine first to your package and then generate end points. I have tried it and it works perfectly fine.