Flutter - 如何查找 Google Play Console 应用访问的用户名和密码资源 ID?

Dor*_*ian 8 credentials dart flutter google-play-console

在我的 Flutter 移动应用程序的最新版本中,Google Play Console 需要应用程序访问凭据(所需操作:提供应用程序访问说明),因为该应用程序是用 Dart 编写的,我不知道如何查找用户名的资源 id文本字段和密码文本字段。谢谢。

提供测试帐户凭据

小智 0

我不确定这是否有效,但您可以尝试为您的用户名和密码小部件设置密钥,例如:

TextFormField(
   key: const Key('username'),
   decoration: InputDecoration(
      labelText: 'Username',
      errorText: 'Field required',
   onChanged: (newValue) {...},
   validator: (value) {...}
),
TextFormField(
   key: const Key('password'),
   ...
)
Run Code Online (Sandbox Code Playgroud)