I have tried, but it always returns a failure when deploying. Even when I create a very simple function like the onCallFunction in your video, it fails. Many people are facing this problem, and I still cannot find out how to solve it. Can you share if you have encountered this error and how you solved it?
I recommend you go down this 'master list' on the FF community. Possibly adding region to match your Firebase region may help. community.flutterflow.io/discussions/post/how-to-fix-cloud-function-deployment-errors-all-solutions-discussion-wgfMLgpLrBlmnUI
@@StevenNoCode Yes, I tried all the solutions here and no luck. I decided to use google cloud function instead at this moment but it's not a good idea!
You write the cloud function in flutterflow? I thought a cloud function is on the cloud, and you call it from the app so the function itself is invisible to the users? Is this visible to the users?
You can deploy it from FlutterFlow. It's deployed to Google Cloud and code is not visible from the app user. App user can trigger onCall cloud functions. Please see doc here: docs.flutterflow.io/customizing-your-app/cloud-functions
This is so good. Thank you!
Thank you! :)
💯🤘
how can I use cloud functions for 2FA in fluttterflow app. the 2FA should work with google authenticator app, I need the code
I have tried, but it always returns a failure when deploying. Even when I create a very simple function like the onCallFunction in your video, it fails. Many people are facing this problem, and I still cannot find out how to solve it. Can you share if you have encountered this error and how you solved it?
I recommend you go down this 'master list' on the FF community. Possibly adding region to match your Firebase region may help.
community.flutterflow.io/discussions/post/how-to-fix-cloud-function-deployment-errors-all-solutions-discussion-wgfMLgpLrBlmnUI
@@StevenNoCode Yes, I tried all the solutions here and no luck. I decided to use google cloud function instead at this moment but it's not a good idea!
@@StevenNoCode Can you help to show me your package.json? Thank you!
You write the cloud function in flutterflow? I thought a cloud function is on the cloud, and you call it from the app so the function itself is invisible to the users? Is this visible to the users?
You can deploy it from FlutterFlow. It's deployed to Google Cloud and code is not visible from the app user. App user can trigger onCall cloud functions.
Please see doc here: docs.flutterflow.io/customizing-your-app/cloud-functions
@@StevenNoCodegreat feature! Thank you. Looking forward to part 2