Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Screenshot plugin does not compile #134

Open
goldengel opened this issue Jul 7, 2019 · 0 comments
Open

Screenshot plugin does not compile #134

goldengel opened this issue Jul 7, 2019 · 0 comments

Comments

@goldengel
Copy link

goldengel commented Jul 7, 2019

I updated to latest version now

ionic cordova plugin add com.darktalker.cordova.screenshot
npm install @ionic-native/screenshot

I inserted the Screenshot in providers.

providers: [ StatusBar, SplashScreen, { provide: RouteReuseStrategy, useClass: IonicRouteStrategy }, { provide: FirestoreSettingsToken, useValue: {} }, QRScanner, FoxDevService, AppSettingController, CouponController, PartyEventController, StorageController, UserProfileController, AuthenticateService, OpenNativeSettings, Screenshot ],
Expection after 'ionic serve'
got error in console
Uncaught TypeError: Object(...) is not a function at index.js:139 at Module../node_modules/@ionic-native/screenshot/index.js (index.js:148) at __webpack_require__ (bootstrap:83) at Module../src/app/app.module.ts (app.component.ts:11) at __webpack_require__ (bootstrap:83) at Module../src/main.ts (main.ts:1) at __webpack_require__ (bootstrap:83) at Object.0 (main.ts:12)

Any idea how to get it work?

See screenshot of chrome debugger

@goldengel goldengel changed the title Screenshot does not compile Screenshot plugin does not compile Jul 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant