question

sonu avatar image
sonu asked

Cash drawer not working with clover station jelly bean(4.2.2) android version?


We have tried to configured with clover station having below system configuration (see attachment)

versionanddetails.pngsrno.png


But it is not configured with above configuration of clover station as we have tried below things.


Added dependancy latest .

  1. implementation 'com.clover.sdk:clover-android-sdk:228.3'
  2. implementation 'com.clover.sdk:clover-android-connector-sdk:191.4'

Implemention use : -

  1. public void onOpenCashDrawerClick() {
  2. Context appCt = getApplicationContext();
  3. CashDrawers cds = new CashDrawers(appCt);
  4. Log.i("onOpenCashDrawerClick", String.valueOf(cds.list().size()));
  5. for (int i = 0; i < cds.list().size(); i++)
  6. {
  7. Log.i("inside1for",String.valueOf(i));
  8. cds.list().iterator().next().pop();
  9. }
  10. Set<CashDrawer> drawers = new CashDrawers(appCt).list();
  11. for (CashDrawer cd : drawers) {
  12. Log.i("inside2for", String.valueOf(cd.getDrawerNumber()));
  13. cd.pop();
  14. }


we getting greater the zero in list but nothing happen with cash drawer.

Please suggest how we can open cash drawer with above configuration.

Clover Android SDKClover Station
srno.png (74.2 KiB)
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community