How to integrate a custom .aar file into my ionic's workflow to communicate through a proprietary BLE device

I have an ionic application which needs to call a proprietary code my customer provided, but they only have .aar for android and a folder project for iOS.

I need to integrate its functions to communicate via bluetooth BLE, but using only their proprietary library to communicate. How can I do this wrapping to make it works in my Ionic / capacitor environment?