Proxy Mail QA

Test sign-up for people in mainland China

Sign-up in mainland China starts with a phone number, often has to check who the person really is, and runs on a network where Google's services don't load. Test each of those without a real person's number or ID, and from a mainland network.

Updated

What’s different about sign-up in China

  • Phone first. Most apps sign people up with an 11-digit mobile number and an SMS code. An email address, if asked for at all, often comes later, to bind to the account.
  • Real-name rules. Services that publish information or offer messaging must check a new user’s real identity (Cybersecurity Law, article 24). The 2022 account rules name the ways to do it: by mobile number, by ID number, or by unified social credit code for an organisation (互联网用户账号信息管理规定, article 9). Most apps rely on the phone number, since a SIM card is registered to its holder’s ID. Some, such as games, payments and lending, also check a name and 身份证 number with a verification service.
  • What doesn’t load. Google sign-in, reCAPTCHA, Google Fonts and Firebase don’t work from mainland networks. A sign-up page that waits for any of them looks stuck or broken. Test from a mainland network with any VPN turned off, as your users will be.
  • Social sign-in is WeChat, Alipay or QQ, not Google or Apple. Proxy Mail QA doesn’t sign in with them: test those with accounts your team controls.

Real-name checks without a real person

Never put a real 身份证 number in a test account. Not yours, not a colleague’s, not one found online. It’s someone’s identity: China’s personal information standard lists ID numbers as sensitive personal information (GB/T 35273-2020, appendix B), and the Personal Information Protection Law sets stricter rules for handling it. A test database is copied to laptops, logged and pasted into bug reports, and every copy would hold that person’s number.

A made-up number isn’t safe just because it’s made up. A 身份证 number has 18 characters: a 6-digit region code, the date of birth (8 digits), a 3-digit sequence (odd for men, even for women) and a check character, 0 to 9 or X. The check character is a simple sum anyone can work out, so random digits with a real region code and date can belong to a real person.

Two kinds of number can’t be anyone’s:

  • The standard’s own example, 11010519491231002X, from GB 11643-1999.
  • Region code 99, which no province has, with the persona’s date of birth and a correct check character.

When a lead adds the ready-made National ID number field in Project settings → Custom fields, Proxy Mail QA puts one of these in a 身份证 field: it follows the format and never matches a real person. A form that only checks the pattern and the check character takes it. A form that also checks the region code refuses the second kind, so test that path with the standard’s example. The full list of formats is on field formats.

For the verification itself, where the app sends a name and number to a verification service:

  1. Don’t call the real service from test. Put the check behind a setting, and in development and staging answer it from a stub that passes or fails as the test asks.
  2. Test both answers. A number the service accepts lets the person in; one it refuses shows a clear message and lets them try again.
  3. Test the limits. A person under 18 gets the experience the rules ask for (games limit playing time for minors), and the same number can’t make a second account if the app allows only one.

Phone-first sign-up

Mainland China has no phone numbers set aside for fiction, so Proxy Mail QA leaves phone fields empty rather than make up digits that could reach someone. Use your provider’s test numbers, added to the project’s Phone number for China, or a test-mode code (万能验证码) that works only for listed numbers and never in a release build. The phone-first guide covers both.

A project lead adds the number once, as China’s test number on the project’s Phone number: in Project settings → Custom fields, or through an agent with save_custom_field and the Phone number’s phones. form_values then puts the same number in every phone field for a test account from China.

Names, addresses and dates

  • One 姓名 field. A Chinese name is a family name then a given name, two to four characters with no space: 王伟, 欧阳子涵. Make the test account with China as its country (in the app’s New address or country: "CN" for agents and tests) and the persona gets a name from Chinese lists. Check that the app keeps all four characters of a compound family name such as 欧阳 and doesn’t split the name on a space that isn’t there.
  • Province, city and district. Chinese forms ask for 省, 市 and 区, usually as menus, then 详细地址. The persona’s answers agree with each other and with the 邮编: 广东省, 深圳市, 福田区 and 518000, for example, with a made-up street, 测试路1号, so nothing is ever sent to a real door.
  • Dates. 出生日期 and 生日 are read as a date of birth, and an example such as 1990年1月22日 gets the same format.

Email in Chinese

Verification and reset emails in Chinese are read like any others: the code after 验证码, the link, and how long it lasts (10分钟内有效). Make sure the email’s subject and sender name read well in Chinese mail apps, and that the code isn’t only in an image, which some clients block.

Try it on your next sign-up test

Free plan, no credit card. Create an address and watch the code or link arrive.

Create a free accountOpen the app

Questions

Can a test account use my own 身份证 number, just once?

No. Test data is copied, logged and shared far more than real data, and every copy would hold your number. An ID number is sensitive personal information in China, with stricter rules than a name or an email address. Use a number that follows the format and can't be anyone's.

If I make up 18 digits with the right check character, is that safe?

Not on its own. The check character is easy to work out, so a made-up number with a real region code and a plausible date of birth can belong to someone. Use region code 99, which no province has, or the worked example in the standard.

Can Proxy Mail QA receive the SMS code?

No. Proxy Mail QA receives email only. Use your provider's test numbers or a test-mode code, as the phone-first guide describes, and Proxy Mail QA for any email step.

Are the Chinese names real people's names?

They're combined from lists of common family and given names, never taken from anyone's record. A common name such as 王伟 is shared by many people, as any common name is.

Can I use Proxy Mail QA from mainland China?

Yes. The app, the site and the tools work without a VPN, if more slowly than elsewhere. Sign in with an email code: Google sign-in doesn't work from the mainland.

Built your app with an AI tool? Pick yours