Camera in ionic-v4

anyone checked Camera plugin in ionic-v4? I m getting error.

i added Camera in app.module.ts in providers also after importing.

ionic-native v5-beta14?

import {Camera} from '@ionic-native/camera/ngx';?

1 Like

i tried this also but not found error

and my first question…ionic-native v5-beta14? package.json, ionic-native, camera…

1 Like
"@ionic-native/camera": "^4.11.0",
"@ionic-native/core": "5.0.0-beta.14",

So, I mean I can just repeat my self…4.11.0 != 5.0.0-beta.14

i mean i cant upgrade camera forcefully to v5, because in repository last is v4. any solution in ur mind?

ok so this gonna be my last msg here, I mean can’t do more. Here’s my package.json

"@ionic-native/camera": "^5.0.0-beta.14",
"@ionic-native/core": "^5.0.0-beta.14"
1 Like

thanks :slight_smile:

sorry my bad on above :slight_smile:

Uncaught TypeError: Object(…) is not a function
at Module…/node_modules/@ionic-native/paytm/ngx/index.js (vendor.js:79026)
at webpack_require (runtime.js:84)
at Module…/src/app/app.module.ts (main.js:1066)
at webpack_require (runtime.js:84)
at Module…/src/main.ts (main.js:1161)
at webpack_require (runtime.js:84)
at Object.0 (main.js:1184)
at webpack_require (runtime.js:84)
at checkDeferredModules (runtime.js:46)
at Array.webpackJsonpCallback [as push] (runtime.js:33)

i got an error while integrating the paytm gateway ,will please provide any solution urgent required

match version of paytm with @ionic-native/core version in package.json

while using ionic 4 match version of paytm with @ionic-native/core version in package.json getting error(a package version that doesn’t exist.)

error log :

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @viraj77/paytm@5.0.0-beta.14
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn’t exist.

Hi Anup
I am trying to integrate the paytm payment gateway for my ionic 3 or ionic 4 App, Will you please provide any reference links or documentation

https://developer.paytm.com/docs
https://business.paytm.com/payment-gateway