Why is Ionic own tutorial about camera not working?


If I copy-paste from this tutorial adding the right dependencies, it is not working:

I got this error:

file://storage/emulated/O/Android/DATA/COMIONIC exposed Beyond app data through clipdata.item.getUrl()


Could you please copy the whole error with correct spelling? This doesn’t look like the exact error one would get.
Does it refer to a line of code?
What is your ionic info output?
How are you testing this?


I am trying with Ionic View on Samsung Galaxy S7.

Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 3.1.1
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 1.3.12
ios-deploy version: 1.8.6
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.2
Xcode version: Xcode 8.3.3 Build version 8E3004b

You should upgrade at least these:

Current versions here are 7.0.1 (cordova), 3.8.1 (Ionic CLI) and 2.x something (app-scripts, read the changelog for breaking changes).