Hi @mseth,
In order to better assist you, can you clarify what technologies/SDK you are using to build your applications? Can you also explain the customer/merchant flow of your application and POS?
Furthermore, can you confirm that your aim is to have your application launch and take up the screen until the device locks and is logged into again?
Thanks,
Keith Wong
Using Android Studio (Java), with API Level 22. Clover SDK version is 168.
As for the flow, the server/waiter pulls table information from the POS (not on the Clover device), and then proceeds with the payment. After the payment is processed, we send the payment information back to the POS.
And yes you got that right, that is exactly what we are aiming for. I.e. basically all employees get to our application only by default.
The admins (managers) should be able to get to the home screen upon logging in.
To have your application launch on unlock you can set up a BroadcastReceiver to detect when a user is present. Example here. In combination with the Customer Mode, this should achieve the desired affect.
From there, you can also use the EmployeeConnector interface to check which employee has logged in and decide what to do with that information. If it's an admin, you could either close the application, turn off Customer Mode, or both.
1 Person is following this question.