I recently uploaded my first ionic app on google play. I started exploring the google play console and came across the Pre-launch tests.
We need to provide android resource name for the text-field for login, password and button for Sign-In button to make it work.
Any idea on how I could get this android resource names, or attach them to my elements. Or a way to get the resource name out of a built apk. I am not much familiar with the tools available for android development.
Not works with Ionic.
Note: Credentials can only be automatically inserted into Android apps that use standard Android widgets. Credentials can't be used in apps that use OpenGL to render custom controls or apps that use a WebView for a web-based authentication flow.
https://support.google.com/googleplay/android-developer/answer/7002270?hl=en#signin
Todo this you need access to the xml layout file for the apps login page.
This will be located in: project -> app -> src -> main -> res -> layout
Within that file you can get the following information needed.
Username resource name: Name of your username (email) EditText resource, skipping the R.id
part, so for R.id.edit_text_email
input edit_text_email
Password resource name: Same as above, but for password. Again, skip the R.id
, e.g. edit_text_password
Sign-in button resource name: Same as above, but for the login Button. Again, skip the R.id
, e.g. btn_login
Username: username or email you'd use for testing, e.g. [email protected]
Password: password you'd use for testing, e.g. testTEST123
This information will have to be entered in the apps Pre-launch report settings: Google Play Console -> All applications -> <app> -> Release management -> Pre-launch report -> Settings
Addition to this, here are some helpful Google links:
Referenced from Voy's answer here.
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