question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

takeSnapshot function does not exist

See original GitHub issue

Hello, In my ionic 3 app I’m trying to use the takeSnapshot function in place of the takePicture but I’m getting an error (funcrtion does not exist).

In my package.json I have:

"@ionic-native/camera-preview": "^4.20.0"

and

"cordova-plugin-camera-preview": "git+https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview.git",

thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
AleCat83commented, Apr 5, 2019

The problem is that the ionicNative wrapper (“^4.20.0”) is still not updated to use this new function. I manually added the function to the ionicWrapper and now I’m able to use the function.

0reactions
hrithiktyagi23commented, Jun 7, 2019

these steps are not working for me the error says Cannot read property ‘then’ of undefined’ can anyone help me out

Read more comments on GitHub >

github_iconTop Results From Across the Web

Applitools error - browser.takeSnapshot is not a function #5244
So if you have an in-house Selenium // grid with only 5 firefox instances available you can make sure that not more than...
Read more >
Take Snapshot path is not working
i enabled takesnapshot in begin error handling,but when the error throws the screen shot is not capturing and not avilable in the folder....
Read more >
Getting an error mesasge "this.TakeScreenshot is not a ...
This function will take a screenshot if element is present/not present on UI. The implementation is as below: this.isTrulyPresent = function( ...
Read more >
How to get back the snapshot/camera tool in Adobe Reader DC
Hi JennyMMD,. 1- Try right-clicking on the Toolbar. 2- Under "Show Edit tools" select Take Snapshot. Below is the screenshot:.
Read more >
Where does WebUI.takeScreenshot() actually save the ...
You can tell it where to put the screenshot and if the folder doesn't exist it makes it. for example: WebUI.takeScreenshot('\\\C:\\Katalon ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found