Thank you for your reply , I’ve installed that but the problem still appears, I’ve tried to add another plugin and the problem is the same. I am not sure but this problem start when i’ve updated ionic cli , althoug I updated to the past version but the problem still appears . Any idea ?
Since a new version of Ionic Native was just released with Ionic 4, I think you need to include a version # when installing the wrapper. Otherwise, it will pull in Ionic Native 5.
Open your package.json and see what the version #'s are for the StatusBar and SplashScreen. You can use that to install the proper version.
I was facing the same issue, because of the update of ionic 4 compatiable plugin in @ ionic-native github repo. You need to install older version using: npm install --save @ ionic-native /plugin_of_your_choice@4.20.0
Remember - dont play with the number after, go to the repo and check for versions, and install accordingly. I