Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
How do I create 2 Cloud Functions for 1 project? Currently, I'm only able to deploy one.
No you can deploy many Fuctions
Your index.js
exports.firstfunction= functions.database
.ref('').onWrite(event => {
};
exports.secondfunction= functions.database
.ref('').onWrite(event => {
}
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 months ago.
Improve this question
Gaving an issue with the add of Scaffoolding item. Getting an error like this..
this the error
this is solution files.
Any tips ?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to upload array of data into firebase using flutter I do not know how to upload array of data from firebase please help me to solve this by providing some examples of codes.
Here is a example to upload data to Firestore using Dart (Flutter):
static example() async {
var array = ["item1", "item2"];
await FirebaseFirestore.instance.ref
.collection("myCollection")
.doc("myDocument")
.set({"myArray": array});
}
Find more about data types and firestore here: https://firebase.google.com/docs/firestore/manage-data/data-types
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
**Undefined class 'StorageReference'. while uploading image in firebase using flutter **
According to this changelog, StorageReference has been renamed to Reference since 5.0.0-dev.1
Perform the change accordingly, also go through the changelog as there are some other breaking changes as well
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
Please I need some help:
Can I do "Collection group queries" to Firestore from Cloud Function using firebase_functions_interop?
firebase_functions_interop: https://github.com/pulyaevskiy/firebase-functions-interop
Thanks in advance.
At a quick glance the firebase_functions_interop library does't seem to yet implement Collection Group Queries. I noticed that you also filed an issue on the repo, which should probably be turned into a feature request.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I can get Latitude and Longitude using Xamarin.Essentials but is there any way to check the status of GPS for Xamarin forms. I have used the following code but didn't get any result:
https://github.com/jamesmontemagno/PermissionsPlugin
Have a try with GeolocatorPlugin ,this plugin can help check whether GPS is ON or Off easily.
public bool IsLocationAvailable()
{
if (!CrossGeolocator.IsSupported)
return false;
return CrossGeolocator.Current.IsGeolocationAvailable;
}
https://github.com/jamesmontemagno/GeolocatorPlugin