This question already has answers here:
Get code from firebase console which I deployed earlier
(6 answers)
Cloud Functions for Firebase - Retrieving already deployed code? [duplicate]
(1 answer)
Closed 1 year ago.
I need to backup existing function (nodejs) on production firebase project. I have check docs and unfortunately can't find information how to do this.
You can download or backup your deployed Firebase Function by following the steps:
Go to Firebase Console, and select the project where your function deployed.
Click the Functions to go to the dashboard
Hover over the function name to show the vertical 3 dots and click the 3 dots.
Click Detailed usage stats and it will redirect to Google Cloud Cloud Function Console.
Look for SOURCE panel(between DETAILS and VARIABLE) and click.
Find the DOWNLOAD ZIP button in the right side of screen and click.
It will start to download your latest source of your function in a zip file.
Related
This question already has answers here:
Is there any way to use a script to enable a single flag on Google Admin Console?
(1 answer)
Reset a Managed Chrome Device with SDK using Google Apps Script
(1 answer)
Admin SDK Chromeosdevices method
(3 answers)
Closed last month.
I manage a schools computers that the students are using. Since its kids that are using them I need to restrict them somehow.
We are using Chromebooks with our own Google domain.
Is it possible to create a list with blocked URLs in a google spreadsheet and then run a script that update the settings for every OU in our domain (or the ones that I choses) with our blocked URLs?
So far I havent found anything that is pointing me in the right direction
This question already has answers here:
Is it possible to deploy a Google Apps Script as a web app that won't change URL on each deploy?
(1 answer)
Google Apps Script - Deploy as Webapp - new version every time?
(2 answers)
How to Re-publish Web App without changing URL
(1 answer)
Closed 5 months ago.
Testing the new Google Apps Script editor, I noticed that when I make a change to the Script and re-deploy as a Web App, the URL in the deployed Web App changes. In the old editor this did not happen, the URL of the Web App was always the same.
This makes it very difficult, because every time I do a new Web App deployment I have to change the URL in the place where that Web App is called.
Will it always be like this in the new editor or is this a bug?
How do I always have the same Web App URL when I do a new deployment?
When you click "Deploy" in the web app, make sure to then click "Manage deployments" and not "New deployment". In Manage deployments, make sure your deployment is highlighted on the left side. Click the pencil icon. From the version dropdown, select "New version". Click "Deploy". That should keep your existing web app URL.
I am trying to retrieve the source code of a website/project which was made for me on fiverr. I've been made the owner of the project.
I followed the advice on previous links (below) to get the source code:
Is it possible to get the source code of a Google Firebase (or Google Cloud Platform) project?
Is it possible to retrieve Firebase Cloud Function source code?
Get code from firebase console which I deployed earlier
For some reason my google cloud functions list does not show “source” as stated in previous answers picure with source missing in functions list.
Is there another way to access the source code from google cloud?
Appreciated
J
So its been over a year and a bit more experience with Firebase. The correct answer is you cannot technically access the source code because the source code contains the html,css and javascript files which are deployed to the Firebase server and are back-end (server side). What you view on the website is only the front-end client side code and is not the full picture.
Whenever you get a website developed for you, you should always have the developer pass on all the html,css and javascript codes so that you can always deploy it when needed.
This question already has answers here:
"Sign in with Google temporarily disabled for this app" error when trying to authorize a script
(5 answers)
Closed 2 years ago.
we have a problem with the authorization of the script in a google spreadsheet. Script downloads data from other ad platforms. After signing up we get alert:
Sign in with Google temporarily disabled for this app. This app has not been verified yet by Google in order to use Google Sign In.
Until this time, there was no problem with authorization.
This is a bug:
This is a known issue some users have been experiencing in the last few months. It was reported on Issue Tracker some time ago:
Google Apps Script unauthorizable
While this hasn't been fixed yet, Google's suggested workaround, explained in this comment, is to switch your default project to a standard GCP project, following these steps:
Switching to a different standard GCP project
I'd suggest you to star the referenced issue in order to help prioritizing it.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
HTML 5 Geo Location Prompt in Chrome
I've been looking at geolocation in Html 5. I'm using Chrome (12) and am accessing the html file using a path like this: file:///C:/_Development/Examples/Html5/boilerplate.html
I'm getting the little geolocation icon in the search bar that says that the location has been blocked from tracking your location.
Note that I don't have any exceptions setup at all...
Can this be done or do I need to host the file on a web server? If it can't be done, why can't it be done?
Thanks
This is a duplicate of this question:
HTML 5 Geo Location Prompt in Chrome
It seems that chrome has security restrictions on accessing geolocation data locally. You need to host the file to use the data. A workaround with python is available in the previous question.