Is there any way that I could change the directory for firebase deploy?
I want to change the 'notificationtest...' into another firebase directory name:
I hope I am giving a clear question here though because I don't know how to explain it in proper words.
That notificationtest-59f94 is your project ID, which you can't change after your project was created. If you want to deploy to a different URL, you will have to create another project.
Note that the console adds a suffix ("59f94" in your case) to new projects if another project already exists with the name you picked. So you will have to pick a unique name to prevent getting such a suffix.
And last I checked the project name had to have a - in it. So if you don' specify one yourself, the console will also add a suffix. Note though that these rules occasionally change, so be sure to check what the console says your project ID will become.
Related
It is probably an easy question but I am not able to figure it out. I have a project that I have configured in Firestore to have a domain like "loremipsum.web.app". However, when I do the firebase init and then firebase deploy, it is hosted in "loremipsum-9dd7.web.app" which is the project id. I would like to have it without the hyphen and that id number. How can I do it?
Here’s a screenshot of the hosting section of my project. The first one is the one I want to host in and the second one is where it is hosting.
That is something you can't do. The reason there are those numbers is that someone else already is using that app name loremipsum for his project. When you have choosen your Firebase project name you had the same and Firebase added those numbers to make your project name unique.
Just to make it clear. Even if your name is as you tiped it the "real" project name will be the one with the numbers as you can see on this example:
I can see in most places the name I tiped in but Firebase will use the one with the numbers for hosting.
So if you would use the domain without the numbers you would land on his project and not yours.
To have a nice domain just connect a custom one to your Firebase project. You can read more about it here.
It looks like you manually added a second site to your project. You should check this documentation on how to handle such situations. You need to change your firebase configuration and defined on witch target to deploy your site.
I would like to know how can I prevent somebody who has my google-services.json file associated with one of my Firebase Firestore projects from accessing my project.
you don't need to create a new google-service.json after you make any changes to console,
it will be automatically created,
you just need to download it from
settings -> Project settings -> select your package/bundle-id -> click the download icon
I don't there's a way to you can change those credentials for the same project. Even if you delete that app and recreate it in Firebase project, it'll change the mobilesdk_app_id only. Creating a new project maybe the only way to get a completely new google-services.json
I'm not sure which SSH keys you are referring to but if you are just re-configuring your application then you can visit https://console.firebase.google.com/project/_/settings/general and then select the app name you are looking for. You'll have an option to download google-services.json there. The rest of configuration process should remain the same.
We had created the multiple databases. Now, we need to rename the database that is used for testing purpose. So, Is it possible to rename check-12cc0-test database? Please check out the image below.
You can change your project name from here
I have it in Spanish, but at the right of project overview, project configuration you should see the pencil to edit your project name.
Note you can't change your database name since it's the ID of the project, you will need to create a new one and delete the one you have to change the database name. You can only change your children and keys inside your database main tree node.
Since the id of the project can't change, this is what Firebase tells to us about it:
ID of the project
It is the unique identifier of your Firebase project. You can find it in the project URL: https://console.firebase.google.com/project/<projectId>
Remember that for edit the nodes and keys you can't do it directly from Firebase, instead you should export your JSON Database and edit it, then reupload it, or do it programmatically.
I have an ECommerece site which had some issues regarding Nuget Updates. I did all kind of updates but now I am facing another Issues at RunTime which i never faced before.
A route named 'Admin_default' is already in the route collection. Route names must be unique.
Parameter name: name
I checked my Entire solution, there is no any other Route name 'Admin_default'.
It has only one Route. I tried to Rename the Route and Run, It Run successfully for the first time.
but when i Stop it. Rebuild the Solution and then Run again. then It Again give me the same issue with new Name of Route.
Also I checked all of other posts related to my issue. but can't fix my bug.
Edit:
I did all kind of Deletion of folder bin and Obj. It works only for the first time when I Run. for the 2nd time I get same issue again with new name of Route.
The main issue is that. I need to Clean my Solution each time before Run.
If I do not Clean it before Run, it will give me this issue.
But I want It should automatically be Replaced with old dll file on Build command. and do not need to Clean Manually.
But It need to Delete ( Clean ) the previous dll manually before Rebuild.
Can I have any technique through which i don't need to clean solution manually and I Rebuild solution successfully and Replace old dll automatically.?
Seems a similar problem has been logged on the nopcommerce site.
Read it and let us know if the described solution(s) worked for you.
I want to set a push notification for a folder in google drive using google api such that any changed made to any file inside that folder than i get a call -back.
What I know is that its not possible at this moment. Instead of that you can create changes hook and get informed if ANY file on drive is changed. After theat run file search request to find all files within given folder by passing its ID, ie:
"'<folder_id>' in parents"
where <folder_id> is id of the folder where you want to look for changes. You can then look for last modified date and compare to your own cache, for example stored on your server in cache files. If file is newer than do with it whatever you want (and of course update cache).
please refer to:
https://developers.google.com/drive/v2/reference/changes/watch
https://developers.google.com/drive/web/search-parameters