telenordigital / connect-android-sdk

Android SDK for CONNECT ID
https://telenordigital.github.io/id-docs.telenordigital.com/
Other
16 stars 14 forks source link

As a user I want to be able to go from Connect to my sms app and then back to the same stage in Connect, so that I can enter my pin #12

Closed jorunfa closed 6 years ago

jorunfa commented 8 years ago

There is a technical aspect of this issue which complicates things quite a bit.

When you leave an app, and you're phone is low enough on memory (or you have enabled developer options to act like you always are) the app's Activity will be destroyed. Thus the next time you start the app the given Activity wil be created again. That in and of itself isn't a problem, but it will have to reload any web page it was on before the app was left, to restore it's state.

Here's the problem: We will then send the user a new sms, which might make the user leave the app again, the Activity will be destroyed again, and the cycle will repeat forever.

The only way I see to solve this for all (edge) cases and scenarios, would be to change the flow so that the user is not sent a new sms when the user loads the page to enter the pin.

I don't think this should be on top of the priority list, since the pin autofill feature solves this issue, given the user agrees to the permissions needed to use it. Also, on most devices the user can see the pin in a notification when one gets the sms, which eliminates the need to change apps. And in addition, if the phone is not low on memory (or in debug mode) this issue won't be triggered.

jorunfa commented 6 years ago

Haven't heard of anyone actually complaining about this, so closing issue.