We have tried to configured with clover station having below system configuration (see attachment)
But it is not configured with above configuration of clover station as we have tried below things.
Added dependancy latest .
- implementation 'com.clover.sdk:clover-android-sdk:228.3'
- implementation 'com.clover.sdk:clover-android-connector-sdk:191.4'
Implemention use : -
- public void onOpenCashDrawerClick() {
- Context appCt = getApplicationContext();
- CashDrawers cds = new CashDrawers(appCt);
- Log.i("onOpenCashDrawerClick", String.valueOf(cds.list().size()));
- for (int i = 0; i < cds.list().size(); i++)
- {
- Log.i("inside1for",String.valueOf(i));
- cds.list().iterator().next().pop();
- }
- Set<CashDrawer> drawers = new CashDrawers(appCt).list();
- for (CashDrawer cd : drawers) {
- Log.i("inside2for", String.valueOf(cd.getDrawerNumber()));
- cd.pop();
- }
we getting greater the zero in list but nothing happen with cash drawer.
Please suggest how we can open cash drawer with above configuration.