We were told by the App Market Operations person at Clover that we need to redo our login implementation on Android to use oAuth without having the user physically login. We have searched and have been unable to find a way of doing this on Android through the documentation. The only example (linked from the docs) is here:
https://github.com/clover/android-examples/tree/master/oauthexample
This example has no way for the Android app to login without user intervention. So let me just quote what we were told:
"The app should use OAuth to automatically sign in the merchant, requiring a manual login each time will can be frustrating for the merchants"
Our response:
"In regards to oAuth, we only require this one time. Assuming the user never clears the cache/data of the app, they will never have to do this again. We tried to use the oAuth to auto login, but it doesn’t appear to work in our case. Our back-end does a daily download of the merchant’s data, this is in order for the app to show the reports. We have to do this on the back-end, because this is not possible on the app (the process is too complicated, and these mobile devices are not capable of processing it fast enough). So using the token that’s provided for Android, does not work."
Final response from Clover:
"The online OAuth is working properly, but the device OAuth process is not. It seems like the information is being dropped on your end rather than validating. I did check with one of my dev team members and the OAuth process is definitely doable on your end. I would recommend reading through the OAuth documentation at docs.clover.com, and posting any question you have at devask.clover.com."
I'm not sure if we're understanding correctly, but how can make this automatic? We're going to review about this problem, but if we're understanding this wrong I would just prefer to get a confirmation from a dev of the Clover team here.