如何基于客户端平台运行firebase云功能?
我有一个Ionic 5 web应用程序,它运行云函数如何基于客户端平台运行firebase云功能?,firebase,ionic-framework,google-cloud-functions,Firebase,Ionic Framework,Google Cloud Functions,我有一个Ionic 5 web应用程序,它运行云函数onUserCreate(),创建一个条带客户 我想将我的ionic应用程序部署到iOS上,并触发一个不同的firebase云功能与apple pay交互,而不是运行该功能来创建一个具有stripe的客户 如何根据平台有条件地运行此功能?在创建用户时传递一个指示源平台的标志
onUserCreate()
,创建一个条带客户
我想将我的ionic应用程序部署到iOS上,并触发一个不同的firebase云功能与apple pay交互,而不是运行该功能来创建一个具有stripe的客户
如何根据平台有条件地运行此功能?在创建用户时传递一个指示源平台的标志