it's showing onRequest() not onCall(). any idea? I have added screenshot.
Asked
Active
Viewed 130 times
0
-
can anyone help me? I am trying to resolve this issue for very long. – Abhijeet Arya Oct 20 '21 at 15:02
1 Answers
0
onCall is usually invoked from the client app rather than the backend, that's why you only see onRequest as a suggestion and not onCall. You should use onRequest here. Read this for more on their differences: Firebase Cloud Functions: Difference between onRequest and onCall

Yusuf
- 3
- 2
-
callable functions are deployed using functions.https.onCall. I can use onRequest with http, but I need onCall method. – Abhijeet Arya Sep 18 '21 at 18:38