skip to Main Content

why is on_call firebase function returning INTERNAL exception

firebase local emulation side: initialize_app() @https_fn.on_call( cors=options.CorsOptions( cors_origins="*", cors_methods=["get", "post", "options"],)) def validateEmail(req: https_fn.CallableRequest) -> Any : return {"text":{"valid:":"true"}} The android app side. val func = Firebase.functions private fun validateEmail(str:String): Task<String> { val data = hashMapOf( "email" to str )…

VIEW QUESTION
Back To Top
Search