App Store rejection because they can't log into app 😳

Hello. I am getting a weird rejection from Apple.

Guideline 2.1 - Performance - App Completeness

We discovered one or more bugs in your app when reviewed on iPhone running iOS 12.3.1 on Wi-Fi.

An error occurred when the user attempted to login.

Next Steps

To resolve this issue, please run your app on a device to identify any issues, then revise and resubmit your app for review.

If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.

For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates , install the new version as an update to the previous version, then follow the steps to reproduce the issue.

It looks like its not entering the password properly in the password field as the mask/label is not moving. I am not sure what they are using to emulate the device because I am not having any of these issues on all the iOS devices that I am testing on.

Here is the code for the form below.

<form (ngSubmit)="loginUser()" [formGroup]="loginForm" class="frm-field-based" #form="ngForm">
                            <div class="composite email">
                                <ion-item>
                                    <ion-label floating>Email address</ion-label>
                                    <ion-input type="email" formControlName="email"></ion-input>
                                </ion-item>
                                <div *ngIf="emailError != ''">
                                    <p class="error">{{ emailError }}</p>
                                </div>
                            </div>

                            <div class="composite">
                                <ion-item>
                                    <ion-label class="prompt" floating>Password</ion-label>
                                    <ion-input type="password" class="password-input" formControlName="password">
                                    </ion-input>
                                </ion-item>
                                <ion-label (click)="showResetPassword()" class="forgot" item-right text-right
                                    color="light">Forgot?</ion-label>
                                <div *ngIf="passwordError != ''">
                                    <p class="error">{{ passwordError }}</p>
                                </div>
                            </div>

                            <button ion-button type="submit" color="primary" block>Login</button>
                        </form>

I heard we have to give test user name and password then they will approve, they will test your app itself

Yes, we have given in them the username and password. If you look at the password input you can see that they have entered something but for some reason it doesn’t seem to be registering.