LaunchNavigator Error in Beta version

So I just created a brand new ionic project without adding anything else but LauchNavigator using the spteps provided here: https://beta.ionicframework.com/docs/native/launch-navigator. until here the app works fine. But as soon as I import the LauchNavigator in the app module "import { LaunchNavigator } from “@ionic-native/launch-navigator”; ", the App crashes and throws the following error:

index.js:293 Uncaught TypeError: Object(…) is not a function
at index.js:293
at Object…/node_modules/@ionic-native/launch-navigator/index.js (index.js:412)
at webpack_require (bootstrap:81)
at Object…/src/app/app.module.ts (app.component.ts:11)

You can reproduce this error by just creating a new ionic project and Add LauchNavigator plugin

Any idea why? is this a bug?

Beta of what?

What is your ionic info output?

Beta of ionic/angular: “@ionic/angular”: “^4.0.0-beta.0”
This is also true for InAppBrowser plugin.
These errors can be reproduced by following the doc here: https://beta.ionicframework.com/docs/native/in-app-browser

Output:

“dependencies”: {
@angular/common”: “~6.1.1”,
@angular/core”: “~6.1.1”,
@angular/forms”: “~6.1.1”,
@angular/http”: “~6.1.1”,
@angular/platform-browser”: “~6.1.1”,
@angular/platform-browser-dynamic”: “~6.1.1”,
@angular/router”: “~6.1.1”,
@ionic-native/core”: “5.0.0-beta.14”,
@ionic-native/in-app-browser”: “^4.11.0”,
@ionic-native/launch-navigator”: “^4.11.0”,
@ionic-native/splash-screen”: “5.0.0-beta.14”,
@ionic-native/status-bar”: “5.0.0-beta.14”,
@ionic/angular”: “^4.0.0-beta.0”,
@ionic/ng-toolkit”: “^1.0.0”,
@ionic/schematics-angular”: “^1.0.0”,
“cordova-android”: “6.3.0”,
“cordova-plugin-device”: “^2.0.2”,
“cordova-plugin-inappbrowser”: “^3.0.0”,
“cordova-plugin-ionic-keyboard”: “^2.1.2”,
“cordova-plugin-ionic-webview”: “^2.0.2”,
“cordova-plugin-splashscreen”: “^5.0.2”,
“cordova-plugin-whitelist”: “^1.3.3”,
“core-js”: “^2.5.3”,
“esri-loader”: “^2.4.0”,
“moment”: “^2.22.2”,
“ngx-moment”: “^3.1.0”,
“rxjs”: “6.2.2”,
“zone.js”: “^0.8.26”,
“uk.co.workingedge.phonegap.plugin.launchnavigator”: “~4.2.1”
},
“devDependencies”: {
@angular-devkit/architect”: “~0.7.2”,
@angular-devkit/build-angular”: “~0.7.2”,
@angular-devkit/core”: “~0.7.2”,
@angular-devkit/schematics”: “~0.7.2”,
@angular/cli”: “~6.1.1”,
@angular/compiler”: “~6.1.1”,
@angular/compiler-cli”: “~6.1.1”,
@angular/language-service”: “~6.1.1”,
@ionic/lab”: “1.0.6”,
@types/jasmine”: “~2.8.6”,
@types/jasminewd2”: “~2.0.3”,
@types/node”: “~10.5.2”,
“codelyzer”: “~4.4.2”,
“jasmine-core”: “~2.99.1”,
“jasmine-spec-reporter”: “~4.2.1”,
“karma”: “~2.0.2”,
“karma-chrome-launcher”: “~2.2.0”,
“karma-coverage-istanbul-reporter”: “~2.0.0”,
“karma-jasmine”: “~1.1.1”,
“karma-jasmine-html-reporter”: “^0.2.2”,
“protractor”: “~5.4.0”,
“ts-node”: “~7.0.0”,
“tslint”: “~5.11.0”,
“typescript”: “~2.7.2”
},
“description”: “A PRF Forum Tracking System”,
“cordova”: {
“plugins”: {
“cordova-plugin-whitelist”: {},
“cordova-plugin-device”: {},
“cordova-plugin-splashscreen”: {},
“cordova-plugin-ionic-webview”: {},
“cordova-plugin-ionic-keyboard”: {},
“uk.co.workingedge.phonegap.plugin.launchnavigator”: {},
“cordova-plugin-inappbrowser”: {}
},
“platforms”: [
“android”
]
}

I am also got caught on this issue. My app crashing with no errors in console while startup after installing navigation plugin. Please put answer if your problem solved

I do believe this is a bug in version 4 and this is true for both plugins I’ve tried (LaunchNavigator and InAppBrowser). I ended up reversing back to use version 3 instead. You may avoid using version 4 until fully released. unless you are just exploring. I do like the new routing module in ionic4 with angular 6. This will be a huge plus.