Call-number plugin not working in ios 18

Hello, I had installed @awesome-cordova-plugins/call-number plugin for making call. It is working in ios less than 18 but not working in ios 18 and above.
Give error message CouldNotCallPhoneNumber in ios 18 and above.
Please help me as I am stuck on this.

The underlying Cordova plugin was archived back in 2022 so I would look for a different plugin or fork it and add support for iOS 18 - GitHub - rohfosho/CordovaCallNumberPlugin: Call a number directly from your cordova application..

Also not working for me :\

The problem in the cordova plugin version I had installed is that the dial method in PhoneDialer.m uses runInBackground. iOS 18 appears to be more sensitive about ensuring that the dial action is initiated by a user. Removing the runInBackground and letting it openUrl directly in the main thread was enough to let it bring up the call dialog in iOS 18.

The fix was incredibly simple, once I had the sense to really look at the problem instead of blindly chasing down the rabbit holes that Claude and GPT suggested. =-/

Hi, I’ve added a small fix. The original repository is archived, so I wasn’t able to submit a PR. I’ve published an updated fork here: GitHub - gallyamow/CordovaCallNumberPlugin: Forked in order to add support iOS 18.

ionic cordova plugin add https://github.com/gallyamow/CordovaCallNumberPlugin.git

After iso update a lot plugin are not working properly.