question

matthewpalsich avatar image
matthewpalsich asked Danielle Cox answered

Cannot Read Employees

I am unable to read employees on my emulated Clover device from the Clover API using an EmployeeConnector.

I have uploaded my APK to the Clover sandbox with the same package name I'm using during development. I have enabled the permission to read employees within my application's Clover settings. I have downloaded the application to my emulator using the Clover Marketplace which should have synchronized the permissions. My APK meets all requirements described here aside from being a production APK; I develop using a build variant with a ".debug" application Id suffix. However, I do not see a non-production APK being an issue in a non-production sandbox.

Then, as guided by Clover, I sideload my build with the same packaged name onto the emulator. Still, when calling EmployeeConnector::getEmployee(EmployeeCallback<Employee>), I receive the service failure status "FORBIDDEN" with the message "App doesn't have required permission: <package_name> does not have permission EMPLOYEES_R".

Any assistance resolving this issue is appreciated.
Thank you.
Clover Android SDKApp MarketSandboxEmployees
10 |2000

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

1 Answer

Danielle Cox avatar image
Danielle Cox answered
FYI - I get this on my "station" emulator but not the mini or later versions. (I have tried Station 2018)
10 |2000

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