Hello Everyone,
I can’t read image after selected
he is show me this error
http://localhost:8080/: Line 0 : Not allowed to load local resource:
file:///data/user/0/io.ionic.wwstarter/cache/tmp_IMG-20180903-WA0003961011065.jpg
Can you please help me
Thank you
getImage() {
let options = {
title: "Select picture",
message: 'Select min 1',
outType: 0,
maximumImagesCount: 1,
};
let that = this;
this.imagePicker.getPictures(options).then((results) => {
for (var i = 0; i < results.length; i++) {
console.log('Image URI: ' + normalizeURL(results[i]));
that.image = normalizeURL(results[i]);
}
}, (err) => {
alert(err);
});
}
uddyvky
5
are you using livereload??
No i use my phone for testing
uddyvky
7
are you using Android or ios??
1 Like
i’m usign android platform
Sujan12
9
What is your ionic info
output?
Is this Ionic Native?
Yeah is ionic native
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.2.0
Cordova Platforms : android 7.0.0
Ionic Framework : ionic-angular 3.9.2
System:
Node : v8.11.1
npm : 6.0.1
OS : Windows 10
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro
Sujan12
11
Update that to the current version please, its ionic info
output will give other important information.
i upgrade ionic but not working
not showing picture after selected
Sujan12
13
Post your now updated ionic info
again please.
Hello i fixed with changing imagePicker and i use camera
Thank you anyway i will close topics Now