I am using below mentioned code to fetch device id and in other devices it is working fine.
Let me know if below mentioned code will be able to fetch device id of clover device C500 or C550 or not ? And if not then please let me know how to get device id of devices C500 or C550 without calling RESTApi "/devices" ?
Please find below attached code to get device id which I am using for android app.
Let me know if anything else needs to be done for the same.
Hoping to hear from you soon.
Thank you.
MerchantConnector mMerchantConnector; mMerchantConnector = new MerchantConnector(SplashActivity.this, mAccount, null); mMerchantConnector.getMerchant(new ServiceConnector.Callback<Merchant>() { @Override public void onServiceSuccess(Merchant result, ResultStatus status) { String device_id = ""; try { device_id = result.getDeviceId(); } catch (Exception e) { // TODO: handle exception device_id = ""; } } });