Relative Content

Tag Archive for flutterfirebasegoogle-cloud-functions

Why do I get ‘punycode ‘deprecation warning while deploying cloud functions?

I am deploying cloud function from my flutter app, and I get the following warning:
(node:14854) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
(node:14854) [DEP0044] DeprecationWarning: The util.isArray API is deprecated. Please use Array.isArray() instead.

Flutter firebase create multiple cloud functions

I have created a cloud function in index.js. But I want to create a different function in the same app. Can I create a different file or folder and name it differently, say…(functions.js) to create the new function or do I have to create all my functions in the same file index.js?