Coder Social home page Coder Social logo

Comments (10)

DydjyZ avatar DydjyZ commented on June 20, 2024 1

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

from cordova-plugin-contacts.

janpio avatar janpio commented on June 20, 2024

Here is some code that definitely used to work: https://github.com/janpio/ionic-native-contacts/blob/master/src/pages/home/home.ts#L29

from cordova-plugin-contacts.

DydjyZ avatar DydjyZ commented on June 20, 2024

Hello, thanks you for your answer, i already tried to solve my problem with this repo but it's the same...

Not allowed to load local resource: content://com.android.contacts/contacts/381/photo (index):1 Not allowed to load local resource: content://com.android.contacts/contacts/542/photo (index):1 Not allowed to load local resource: content://com.android.contacts/contacts/543/photo (index):1 Not allowed to load local resource: content://com.android.contacts/contacts/730/photo

I tried with the emulator, with two different android phones, without livereload...

from cordova-plugin-contacts.

janpio avatar janpio commented on June 20, 2024

What is your ionic info output?
Did you download the app I linked to, install it and run it with the configuration there is?

from cordova-plugin-contacts.

DydjyZ avatar DydjyZ commented on June 20, 2024

Here's my ionic info :

✔ Gathering environment info - done!

Ionic:

   ionic (Ionic CLI)  : 4.1.1 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.0

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.0.0
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.0, (and 6 other plugins)

System:

   ios-deploy : 1.9.2
   NodeJS     : v8.9.3 (/usr/local/bin/node)
   npm        : 5.6.0
   OS         : macOS High Sierra
   Xcode      : Xcode 9.4.1 Build version 9F2000

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..

from cordova-plugin-contacts.

janpio avatar janpio commented on June 20, 2024

Compare ionic cordova platform list, ionic cordova plugin list and package.json in total - my guess it's a plugin.

from cordova-plugin-contacts.

DydjyZ avatar DydjyZ commented on June 20, 2024

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..

from cordova-plugin-contacts.

janpio avatar janpio commented on June 20, 2024

Your ionic info output shows cordova-plugin-ionic-webview 2.1.0 which did not exist back when I created the demo repository.

from cordova-plugin-contacts.

Pezhvak avatar Pezhvak commented on June 20, 2024

i tried everything i just removed the webview plugin as well. can't make it to work

from cordova-plugin-contacts.

1AbhinavMaurya avatar 1AbhinavMaurya commented on June 20, 2024

yup i also tried everything but img is not display

from cordova-plugin-contacts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.