I had being experimenting this issue since I made some updates and upgrades in gradle. I migrated the project from AppCompat to Android X also.
I already had this code in my app, but now is not working.
- Roles.isPermissionAllowed("ADD_CUSTOM_DISCOUNT", "com.clover.register", activeEmployee.getId(), null)
But Roles cannot be resolved since I update clover SDK to a CFP compatible version. I tried to solve this by other way, but is not clear to me what can I do.
Thanks in advance