Uncaught TypeError: Object(...) is not a function

Hi I am new in ionic framework and i have use ionic 4 latest version for my project. but when i have used Network native api and i have install it but after install show this error :
Uncaught TypeError: Object(…) is not a function and my application crash.

please help me asap.

index.js:129 Uncaught TypeError: Object(...) is not a function
    at index.js:129
    at Object../node_modules/@ionic-native/network/index.js (index.js:205)
    at __webpack_require__ (bootstrap:81)
    at Object../src/app/app.module.ts (app.component.ts:13)
    at __webpack_require__ (bootstrap:81)
    at Object../src/main.ts (environment.ts:15)
    at __webpack_require__ (bootstrap:81)
    at Object.0 (main.ts:12)
    at __webpack_require__ (bootstrap:81)
    at checkDeferredModules (bootstrap:43)

thanks

This error is because you haven’t updated your references to the new version of Ionic Native

hi,
I have same error with facebook and google plus login ionic native plugins. could you please tell me compatible versions with ionic native plugins?
My ionic info is:

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

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) 

local packages:

    @ionic/app-scripts : 3.2.0
    Cordova Platforms  : android 6.3.0
    Ionic Framework    : ionic-angular 3.9.3

System:

    Node : v9.10.1
    npm  : 4.2.0 
    OS   : Linux 4.4

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

Please help me out of this.thanks in advance.

Look in your package.json file

"@ionic-native/facebook": "^4.20.0",