import { Market } from '@ionic-native/market/ngx';
constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,
private market: Market
) {
this.initializeApp();
this.market.open('io.ionic.expensemanager2018');
}
this.market.open('io.ionic.expensemanager2018');
The issue I'm facing is:
DetailsPage.html:95 ERROR TypeError: Object(...) is not a function
at Market.open (index.js:27)
at DetailsPage.webpackJsonp.52.DetailsPage.faq (details.ts:29)
at Object.eval [as handleEvent] (DetailsPage.html:95)
at handleEvent (core.js:13589)
at callWithDebugCon(core.js:15098)
at Object.debugHandleEvent [as handleEvent] (core.js:14685)
at dispatchEvent (core.js:10004)
at core.js:10629
at HTMLElement.<anonymous> (platform-browser.js:2628)
at t.invokeTask (polyfills.js:3)
I've tried downgrading the version but it hasn't resolved the problem. Any assistance would be appreciated.