账户类型

了解不同类型的 Expo 账户以及如何使用它们。


Expo 账户是一个用于存放 Expo 项目的容器,并允许不同程度的协作。Expo 账户有两种类型:个人组织

🌐 An Expo account is a container that holds Expo projects and allows for different amounts of collaboration. There are two types of Expo accounts: Personal, and Organization.

你选择将新项目放在哪种账户上取决于项目的性质。如果你希望与他人协作或为你的开发团队建立工作流程,最好创建一个组织账户。对于个人或兴趣项目,个人账户就足够了。

🌐 The type of account you choose to put a new project depends on the nature of the project. If you are looking to collaborate or set up a workflow for your development team, always create an Organization account. For personal or hobby projects, a Personal account is sufficient.

个人账户

🌐 Personal accounts

当你注册Expo账户时,会自动为你创建一个个人账户。这个账户是开展个人项目的好地方。

🌐 When you sign up for an account with Expo, a Personal account is automatically created for you. This account is a good place to work on your personal projects.

警告 请勿以任何理由与他人分享你的个人账户认证信息。

组织机构

🌐 Organizations

组织账户最适合用来保存你希望与公司其他成员或一组开发者共享的项目。它作为一个共享的容器,你的团队可以在一个或多个项目上进行协作,并访问共享的凭据。

🌐 An Organization account is best used to hold projects that you wish to share with other members of a company or a group of developers. It serves as a shared container where your team can collaborate on one or multiple projects and have access to shared credentials.

你可以邀请其他成员加入你的组织账户,然后为这些成员分配不同的角色,从而授予他们在组织内的访问权限。欲了解更多信息,请参阅管理访问中的角色权限

🌐 You can invite other members to your Organization account, and then give these members different roles that grant a level of access within the organization. For more information, see role privileges in Manage access.

在以下情况下,创建组织账户很有用:

🌐 Creating an organization account is useful when:

  • 你认为你将来可能需要转移对该组织项目的控制权。
  • 与一组协作者共享一个或多个项目。
  • 需要分配多个所有者
  • 费用需要隔离。
  • 通过为组织的每个成员分配角色来授予不同级别的访问权限。
  • 为不同的情境构建项目。例如,在为不同客户工作时,可以为每个客户创建一个新的组织结构。
  • 分享一个 EAS 订阅

创建新组织

🌐 Create a new Organization

如果你登录到个人账户,则可以从仪表板创建一个新组织:

🌐 If you are logged in to your Personal account, you can create a new Organization from the dashboard:

  • 在导航菜单中选择你账户的用户名以打开下拉菜单。
  • 在下拉菜单中的“组织”下选择创建组织
  • 为你的组织添加一个名称,然后选择 创建 按钮。

创建新组织后,你将被重定向到该组织的新仪表板页面。要将新项目与组织关联,你需要在项目的 app.json 文件中在 expo 键下添加 owner key

🌐 After creating a new Organization, you are redirected to the new dashboard page for the organization. To associate a new project with the Organization, you have to add the owner key under the expo key to your project's app.json.

将个人账户转换为组织

🌐 Convert a Personal account into an Organization

当你想要与其他成员共享项目访问权限并为每个成员分配基于角色的权限时,你可以将个人账户转换为组织账户。

🌐 You can convert your Personal account into an Organization when you want to share access to projects with other members and assign each member a role-based privilege.

在你的个人账户的用户设置中,前往将你的账户转换为组织部分以开始该流程。

🌐 From the User settings of your Personal account, go to Convert your account into an organization section to start the process.

当你经历此过程时,我们会非常小心地确保你和你的用户依赖的所有功能将继续按预期工作:

🌐 When you are going through this process, we take a lot of care to make sure that all of the functionality that you and your users rely on will continue to work as expected:

  • 你可以继续向用户提供更新和推送通知。
  • 你仍然可以使用 Expo 服务器上存储的任何 Android 或 iOS 凭据。
  • 使用你的个人访问令牌或网络钩子的任何集成都将继续运行并转移给新的指定所有者。
  • 你的 EAS 订阅将继续而不会中断。
  • 你的生产应用将继续运行而不会中断。

邀请成员

🌐 Invite a member

可以邀请其他 Expo 用户加入你的组织。要邀请新成员,请执行以下操作:

🌐 Other Expo users can be invited to join your Organization. To invite a new member:

  • 在 EAS 仪表板的 组织设置 下导航到 成员
  • 点击按钮 邀请。这将打开一个表单,用于邀请成员加入组织。
  • 在表格中输入你想邀请的用户的电子邮件,并选择他们加入组织后应拥有的角色。更多信息,请参见管理访问中的角色权限

邀请新成员时,请记住:

🌐 When inviting a new member, keep in mind:

  • 只有具有所有者或管理员角色的成员才能邀请其他人。
  • 具有所有者角色的成员可以向成员和受邀者授予任何角色。
  • 具有管理员角色的成员只能授予成员和被邀请者最高级别(包括管理员角色)(除所有者之外的所有角色)。

更改成员角色

🌐 Change the role of a member

要更改成员的角色权限,请确保你拥有所有者管理员角色,然后按照以下步骤操作:

🌐 To change the role privileges of a member, make sure you have either an Owner or Admin role and follow the steps below:

  • 在 EAS 仪表板的 组织设置 下导航到 成员
  • 在你要更改其角色的成员旁边,单击三点菜单图标并更改角色。

删除成员

🌐 Remove a member

要移除成员,请确保你拥有 所有者管理员 角色,然后按照以下步骤操作:

🌐 To remove a member, make sure you have either an Owner or Admin role and follow the steps below:

  • 在 EAS 仪表板的 组织设置 下导航到 成员
  • 在要删除的成员旁边,单击三点菜单图标。
  • 点击 移除成员

重命名账户

🌐 Rename an account

账户可以被重命名有限次数。只有所有者可以重命名账户。要重命名账户,请访问 组织设置 > 概览,然后按照 重命名账户 下的步骤操作。

🌐 Accounts can be renamed a limited number of times. Only Owners can rename accounts. To rename an account, visit Organization settings > Overview and follow the steps under Rename account.

在账户之间转移项目

🌐 Transfer projects between accounts

项目可以有限次数转让。用户必须在源账户和目标账户中都是所有者或管理员,才能在它们之间转让项目。访问 项目设置 > 常规,然后按照 转让项目 下的步骤操作。

🌐 Projects can be transferred a limited number of times. A user must be an Owner or Admin on both source and destination accounts to transfer projects between them. Visit Project settings > General and follow the steps under Transfer project.

注意事项

🌐 Caveats

如果你想将一个项目的所有权从你的个人或组织账户(源账户)转移给另一个人或公司(目标账户),而你在目标账户上没有“所有者”或“管理员”权限,你可以创建一个托管账户(一个新的组织账户)。这样可以解决用户必须在源账户上是“所有者”,并且在目标账户上是“所有者”或“管理员”才能在两者之间转移项目的问题。一旦创建了托管账户,你可以将最终目标账户成员授予托管账户的所有者角色,并安全地将项目转移到托管账户。从托管账户上接收的人或公司然后可以将项目转移到他们的目标账户,而无需访问目标账户本身。

管理访问权限

🌐 Manage access

会员访问通过基于角色的系统进行管理。用户可以在组织账户中拥有 owneradmindeveloperviewer 角色。

🌐 Access for members is managed through a role-based system. Users can have the owner, admin, developer, or viewer roles within an Organization account.

RoleDescription
OwnerCan take any action on an account or any projects, including deleting them.
AdminCan control most settings on your account, including signing up for paid services, changing permissions of other users, and managing programmatic access.
DeveloperCan create new projects, make new builds, release updates, and manage credentials.
ViewerCan only view your projects through Expo Go but cannot modify your projects in any way.

安全活动

🌐 Security activity

安全活动是指账户资料发生的更改列表。它包括密码、电子邮件和双重身份验证设置等方面的更改。

🌐 Security activity is a list of changes that happened to an account's profile. It includes changes to password, email, and 2FA authentication setup, among others.

可以在 概览 > 用户设置 下找到。

🌐 It can be found under Overview > User settings.