首页 > 解决方案 > Firebase Mailchimp 扩展 - 更新订阅者名称

问题描述

当用户用他们的名字/姓氏更新他们的个人资料时,有没有办法更新订阅者?如果不通过扩展,这可以通过云功能完成吗?

提前致谢

标签: firebasegoogle-cloud-firestoregoogle-cloud-functionsmailchimp

解决方案


[can this be done] when the user updates their profile with their first/last name

There is currently no Cloud Functions trigger for Firebase Authentication profile updates. This means that there is no way to do this directly with Cloud Functions, and hence also not in the Auth Mailchimp sync Extension, which is based on Cloud Functions functionality.

If you build this functionality yourself (you can use the existing extension source code for inspiration), you can trigger an update of the Mailchimp audience directly from your client-side code when you also call the Firebase Authentication API to update the profile.


推荐阅读