Try removing plugins from plugins/ and reinstalling them

After viewing this in my Xcode console. I manually removed all the native plugins and Installed them again to avoid this warning.

But still I am getting this warning

WARN: Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.

Ionic info :

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : ios 4.4.0
    Ionic Framework    : ionic-angular 3.6.1


    ios-deploy : 1.9.2
    Node       : v6.11.3
    npm        : 5.4.1
    OS         : macOS High Sierra
    Xcode      : Xcode 8.3.2 Build version 8E2002

Ionic Cordova plugin list :

com.darktalker.cordova.screenshot 0.1.5 "Screenshot"
com.googlemaps.ios 2.4.0 "Google Maps SDK for iOS"
com.jcesarmobile.filepicker 1.1.1 "File Picker"
cordova-plugin-add-swift-support 1.7.0 "AddSwiftSupport"
cordova-plugin-appavailability 0.4.2 "AppAvailability"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.5 "Console"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-opener2 2.0.19 "File Opener2"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-filechooser 1.0.1 "File Chooser"
cordova-plugin-filepath 1.0.2 "FilePath"
cordova-plugin-googlemaps 2.0.7-beta-20170911-2303 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-photo-library 2.1.0 "Photo Library"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-plugin-x-socialsharing 5.1.8 "SocialSharing"
cordova-plugin-x-toast 2.6.0 "Toast"
cordova-sqlite-storage 2.0.4 "Cordova sqlite storage plugin"
es6-promise-plugin 4.1.0 "Promise"
ionic-plugin-keyboard 2.2.1 "Keyboard"

Is there actually anything not working or are you working only on this console output?

You have a lot of plugins. Do you need all of those?
Does the console output go away if you remove some of them?

App is working fine. But In the console it is giving me this warning which I posted above. Yes I need all of these plugins.

Is there any other thing which can reduce the size of plugins ?

I think so because of this warning Splash Screen Takes too much time.

I am building my app through this command “Cordova build iOS --prod

I think this is just caused by the amount of plugins:

Uninstall them one by one and see which one improves the startup time.

What are we talking about here? How long does it take?

Wrong command. ionic cordova build ios --prod would be the correct one. --prod is a parameter to ionic that makes it build an optimized production build. cordova can’t do anything with it.

After updating all I figured out all the errors.

Updated Ionic CLI.
Updated my angular version from 2 to 4.
Updated app scripts.

Why is that when we use more plugins in our app the apk size or ipa size is quite enough ?

I think so native plugins should not effect the size of ipa/apk and It should not effect the performance of the app.

You want to access functionality that is not available in a WebView where your Ionic app runs. That means you need Cordova plugins and Ionic Native plugins that help build a bridge between this native functionality and the WebView and Ionic inside the webview.

These plugins contain code that has to be shipped with the app and executed for it to work.

If you find a way to do that without increasing the app size and startup time, let us know…

Sir are u fixed above issue actually I got same error in my console and I have used multiple plugin so tell me sir how to identify which plugin we have to remove?