When I send a notification from the Firebase cloud messaging console, my device receives it without a problem, but when I send it via a cloud functions, the function...
<pre class="lang-dart prettyprint-override"><code>// OK, it works! void global_1() => global_2(); void global_2() => global_1(); void main() { // ERROR Local v...
I am trying to use the <code>List.map</code> function but I can't make it work. Here I have a <code>data</code> variable of type <code>List<List<dynamic>><...
I have several buttons, images to which I pass through the Map collection. When clicking on the button, I would like to receive the transmitted image key and write it...
i am trying to do firebase realtime messaging code in node.js,but i am confuce about how to do that? const doc = snap.data() console.log(doc) <pre><code>cons...
How to declare a variable depending on if statement in Dart? In Kotlin it would look like this: <pre><code> val max = if (a > b) { a } else {...
I'd like to get the auth token from firebase (email and password auth) to authenticate in my firebase cloud function. It seems like the functions getIdToken() and getT...
I want to call a function that would return another function to be used as onChange event handler for a Textfield input. I am trying the code below, but for so...
` <pre><code>DataTable( showBottomBorder: true, columnSpacing: 60, border: TableBorder.symmetric(...
This is the cloud function that I'm using <em>to send notification to the shopkeepers when an order is accepted by the shipper.</em> <strong>But sometimes it takes at...
I M building a social media app similar to Instagram and new to NodeJS And Firebase. I want app to have a similar privacy setting to that of Instagram like private pr...
How can I run a method only if it exists? I tried the following but it didn't work: <code>widget.onChangeHandler ?? widget.onChangeHandler(selectedItem);</code>...
I have integrated <strong>flutter_stripe 2.0.1</strong> plugins in my flutter application using Firebase CLI. getting a successful response of paymentIntent from fireb...
After setting up my project with a local Firebase functions emulator as my backend, and calling my Firebase onCall function from my Android emulator, I get this very n...
Here is the code I use in my flutter app to send JSON data to my server written in nodejs: <pre><code> if (DEBUG) print('*: ' + jsonEncode({'order': Provider.of...