FAQ
On this page
- Frequently asked questions
- How to update the Platfone Firebase Backend?
- Where can I find logs for the Platfone Firebase Backend?
- Where can I find variables and secrets that the Platfone Firebase Backend uses?
- Which Firebase resources the Platfone Firebase Backend uses?
- How to configure non-default location for Firestore Database
Frequently asked questions
How to update the Platfone Firebase Backend?
To update the Platfone Firebase Backend, you need to run the installer again. The installer will update the backend to the latest version, update settings and deploy it to your Firebase project.
Where can I find logs for the Platfone Firebase Backend?
You can find logs for the Platfone Firebase Backend in the Firebase Console. Navigate to the Build > Functions section, select the three dots next to the function you’re interested in, and then click View logs.
Where can I find variables and secrets that the Platfone Firebase Backend uses?
You can find the variables and secrets used by the Platfone Firebase Backend for a Cloud Function in the Firebase Console. Navigate to the Build > Functions section, select the three dots next to the function you’re interested in, and click Detailed usage stats. This will open the Cloud Run functions page, where you can find the variables and secrets under the VARIABLES tab.
Which Firebase resources the Platfone Firebase Backend uses?
- Firebase Cloud Functions: The backend uses Cloud Functions to handle HTTP requests, background tasks, and other server-side logic.
- Secrets Manager: The backend uses Secrets Manager to store sensitive information, such as API keys and payment gateway keys, etc.
- Firebase Firestore: The backend uses Firestore to store user data.
- Firebase Authentication: The backend uses Firebase Authentication to authenticate users.
How to configure non-default location for Firestore Database
You can choose a location for your Firestore database during initial Firebase project setup. The location should be as close as possible to your users for optimal performance.
The same location should be used for:
- The Firestore database during setup.
- The Platfone Firebase Backend variable
CLOUD_FUNCTIONS_LOCATIONduring installation to deploy Cloud Functions to the same region. - Application code when initializing Firebase SDK. For more information, see Firebase Functions regions