Ionic capacitor Error on Api / Http Call - cap.nativePromise

Hi All

I have created a capacitor app, where am trying to call javascripts before my app root loads, but, after it loads, it gives cap.nativePromise is not a function, whenever I give any api call, and api call fails after some time giving “timeout” error, any solution for this?

I am using latest version of ionic v6 with capacitor and angular 14


is this resolved? I am also facing same issue. it is working as expected in android/chrome/safari but not working in ios device