Here you can find a sample showcasing the problem: https://github.com/gmarizy/interactive_crop_sample. First commit is a working version with version 1.1.0, second commit is migration to 2.0.0.
While the version with 1.1.0 is working fine, that is image returned with onCropped correspond to selected area, after migrating to 2.0.0 it's not the case anymore.
Target area:

Resulting image:

Tested on web and Android, regression is observed on both.
Here you can find a sample showcasing the problem: https://github.com/gmarizy/interactive_crop_sample. First commit is a working version with version 1.1.0, second commit is migration to 2.0.0.
While the version with 1.1.0 is working fine, that is image returned with
onCroppedcorrespond to selected area, after migrating to 2.0.0 it's not the case anymore.Target area:
Resulting image:
Tested on web and Android, regression is observed on both.