Cordova plugins only works the second time the app is opened

Hello,

I have been using ionic in several projects within the last few months and never experienced this kind of issue ! In my current project the app works well except that plugins doesn’t work the first time I open the app. Plugins start to work only when I reopen it after having left the app (using the home screen on ios for exemple) !

My project uses these plugins :

  • org.apache.cordova.inappbrowser
  • de.appplant.cordova.plugin.email-composer
  • cordova-plugin-x-socialsharing
  • cordova-plugin-whitelist
  • cordova-plugin-transport-security
  • org.apache.cordova.statusbar
  • com.ionic.keyboard
  • cordova-plugin-console
  • cordova-plugin-device
  • cordova-plugin-splashscreen

Does anyone have an idea of what this might be due to ?

Thanks