Quality parameter in cameraOptions for ionic native camera plugin

I am using this camera plugin: https://ionicframework.com/docs/native/camera/

The quality parameter in cameraOptions doesn’t seem to be working on my Android phone. No matter value is use (between 0 and 100) for quality parameter, it doesn’t work. The image is being taken in same quality all the time.

Has anyone come across this issue?