I use this plugin
https://www.npmjs.com/package/cordova-plugin-photoeditorsdk
with the newest capacitor and angular but when building an andr