Turning a current native Ionic 5 app into a PWA for desktop/mobile


We currently use Ionic 5, Angular and Cordova as the stack for our mobile application. We want to explore the possibility of converting the app into a PWA, in order to move functionality from our existing web app into the PWA and take a mobile-first approach to our development.

From what I understand, in order to turn the mobile app into a PWA, we only need a few things (manifest, service worker and performance), but I was wondering how our existing code using Ionic that talks to native mobile APIs, will then start to talk to web APIs to utilise the functionality of a PWA.

Has anyone had experience converting an existing Ionic app into a PWA for use on desktop as well as mobile?