ecency / esteem

eSteem Mobile - Application for Android and iOS users, start earning cryptocurrency!
https://esteem.app
MIT License
85 stars 58 forks source link

iOS eSteem App | Pin Code Screen Comes Behind Submit Story Form #236

Open dheerajsharma14 opened 6 years ago

dheerajsharma14 commented 6 years ago

In day to day use of eSteem Mobile app for iOS, today I found a bug where you do not get to see the pin code page if you had opened Submit Story page previously. I hope when this bug is fixed, it will not let the user submit a story without entering the pin code. I feel finding these bugs help me do my bit to support the endeavors of @good-karma and this app used by 1000s of users.

In the previous version of the eSteem Mobile app as well there was similar issue/bug but in that bug you can actually open the Submit Story form without entering the Pin Code. However, in this version the old context menu has been replaced by the Submit Story button/icon and Search button/icon, however, still user can trick the method by opening the submit story form first and then continuing with it. The symptom of the issue is simialr, however, the scenario to produce the issue is different now in the new version of the app. Hence, I believe this scenario must also be fixed in order to fix the whole problem from all angles.

image.png

Expected behavior

Pin Code screen should always be on top of all other screens as pin code must always be entered before entering any app including eSteem Mobile app.

Actual behavior

Pin code screen comes behind the Submit Story screen/page thereby allowing the user to submit a story without even entering the Pin Code.

How to reproduce

  1. Open eSteem Mobile app v1.5.0 on iOS 11.2.2 on an iPhone 6 device.
  2. Make sure you are logged in and have the Pin Code enabled in settings of the app.
  3. Minimize the app by pressing the Home button of iPhone and reopen the eSteem Mobile app again.
  4. Confirm that Pin Code is being asked to you when you hide and reopen the app in general. This will confirm the functionality of asking the user the Pin Code is working fine in all such cases.
  5. Now, click on the Submit Story button/icon on top right corner of the app (A little pencil icon next to lens/search icon)
  6. Now, write some text in the subject and body of the Submit Story screen and press the Home button again to minimize the eSteem Mobile app.
  7. Reopen the eSteem Mobile app and you will see that Submit Story form is still visible to you where you can continue writing the story and submit it.
  8. However, press the back button (top left corner) and see the Pin Code screen is visible behind the Submit Story screen causing the bug. The Pin Code screen should always come on top of all screens in such cases so that user cannot use the functionality of eSteem Mobile app without entering the Pin Code as that is the intended purpose of the Pin Code.

Recording Of The Bug

To reproduce the issue, I have created a screen recording as well which can be found at the link: Screen Recording Link



Posted on Utopian.io - Rewarding Open Source Contributors