Onesignal-cordova-plugin Error [ERR_UNHANDLED_ERROR]: Uh oh!

Hello, what is the minimum version aceppted for onesignal-cordova-plugin on IOS Build? I tried version 2.4.1 but I get Error [ERR_UNHANDLED_ERROR]: Uh oh!

they wrote:

“Ensure the Deployment Target is set to the same value as your Main Application Target.** Unless you have a specific reason not to, you should set the Deployment Target to be iOS 11 or above.”


If you post more details of the error, we may be able to help further, but it’s generally always best practice to use the latest version.