How I should provide id of EditText for filling credentials for pre-launch reports on Google Play (Beta/Alpha versions of the app)?
I tried
@+id/editTextLogin
, editTextLogin
, R.id.editTextLogin
and always get description "wrong resource name".
What is correct schema for resource name there?
A pre-launch report is automatically generated when you publish an app to internal, closed, or open testing. It helps to identify issues proactively before your app reaches users. It includes tests for: Stability issues. Android compatibility issues.
As information icon says:
The Android resource name of the text field within your app where the given username should be entered.
AND Android Resources documentations says:
<resource name>
is either the resource filename without the extension or the android:name attribute value in the XML element (for simple values).
So in your case editTextLogin
will go in that field.
I would like to share my case as it is quite different than normal sign-in:
It is quite similar to Google sign-in. I am asking for username first and after validating it, on next fragment I am showing his/her name and designation and asking for password.
For above scenario I used two fragments. In Username fragment I kept one EditText
with resource name username
and next Button
with resource name login
and in other fragment (Password fragment) I used EditText
with resource name password
and again one Button
with resource name login
.
And this is how I provided my credentials:
Example Username field:
<android.support.v7.widget.AppCompatEditText
android:id="@+id/username"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
Example Password field:
<android.support.v7.widget.AppCompatEditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword" />
Example Login button:
<android.support.v7.widget.AppCompatButton
android:id="@+id/login"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp" />
EDIT
Reference of new Google Play Store console
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With