-
Notifications
You must be signed in to change notification settings - Fork 373
Ionic 3 - Can't get android contact photo #165
Comments
Here is some code that definitely used to work: https://github.com/janpio/ionic-native-contacts/blob/master/src/pages/home/home.ts#L29 |
Hello, thanks you for your answer, i already tried to solve my problem with this repo but it's the same...
I tried with the emulator, with two different android phones, without livereload... |
What is your |
Here's my ionic info :
I just saw when i download your code and start into my smartphone the app, it work, but when I copy the home.ts/.html code into my app, it won't work... I didn't see any difference between these two apps except there is not the same version of ionic.. |
Compare |
I think it's not a plugin error because it's a blank projets.. so I anyway inspect the plugins and there is no difference between the two apps except the ionic version.. |
Your |
Hello, Thanks you it effectively was the cordova-plugin-ionic-webview plugin, when i removed it it worked ! Thanks you ou saved me a lot of time 👍 Dylan |
i tried everything i just removed the webview plugin as well. can't make it to work |
yup i also tried everything but img is not display |
There is some days that i search a solution to my problem.
I use the Ionic Contacts plugin ( https://ionicframework.com/docs/native/contacts/ ) and i need to get the photos of my contact list. In iOS it work but in android it won't.
I tried to sanitize,normalizeURL, and all that i found on the internet but it won't work.
Here's my code ;
home.ts
home.html
The error that i got in Chrome inspector:
Not allowed to load local resource: content://com.android.contacts/contacts/1/photo
Does you have any solution ?
Thanks you,
Dylan
The text was updated successfully, but these errors were encountered: