Coder Social home page Coder Social logo

Comments (9)

duncan-c avatar duncan-c commented on September 21, 2024 9

This is to do with the way that Android now handles app permissions. I've forked the repository and updated the ContactManager.java file to fix the issue: https://github.com/duncan-c/cordova-plugin-contacts/blob/master/src/android/ContactManager.java
It seems to work fine for me now - however I haven't been able to debug it on an earlier version of Android yet (but don't see any reason for it not to work).

from cordova-plugin-contacts.

Bramzor avatar Bramzor commented on September 21, 2024

If I read between the lines, your crash is related to not asking permission to access the contacts first right?

from cordova-plugin-contacts.

rhanesoghlyan avatar rhanesoghlyan commented on September 21, 2024

I've used @duncan-c updated ContactManager.java code. It works fine. Bug has fixed

from cordova-plugin-contacts.

janpio avatar janpio commented on September 21, 2024

@duncan-c Please open a PR that contributes your changes back to this repository if you didn't do so yet. Thanks.

from cordova-plugin-contacts.

duncan-c avatar duncan-c commented on September 21, 2024

Have done now: #180
I wasn't sure if I should as the plugin is marked as deprecated.

from cordova-plugin-contacts.

OmarHassan25 avatar OmarHassan25 commented on September 21, 2024

@duncan-c updated ContactManager.java solves the problem

from cordova-plugin-contacts.

D4rkMindz avatar D4rkMindz commented on September 21, 2024

When is the PR going to be merged?

from cordova-plugin-contacts.

lechediaz avatar lechediaz commented on September 21, 2024

I'm waiting too :(

from cordova-plugin-contacts.

timbru31 avatar timbru31 commented on September 21, 2024

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.

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.