Comments (8)
If you look at the iOS log files I bet you will find a bunch of deprecation notices. Scan for CDVcontact.h and you'll find a whole bunch of stuff was deprecated starting with iOS9.0 and the authors of this never thought of updating this stuff when iOS 9.0 was released back in 2015.
from cordova-plugin-contacts.
Currently there is no alternative so we are stuck with it and I'm pretty sure its a small issue as I found out that it works when I place a breakpoint in the native code so it seems some kind of race condition. So thats not related to all the deprecation notices or old code, it's just a bug.
from cordova-plugin-contacts.
Deprecation notices are never the source for a bug - they are just notices, that something might be removed in the future. They cause absolutely no harm, so your observation @Bramzor is not surprising.
from cordova-plugin-contacts.
But no one that uses this plugin and modifies these arrays just to confirm they have the same behavior on iOS?
from cordova-plugin-contacts.
This plugin is not returning email addresses on iOS 11.x (haven't tested on 9/10/12 yet) and seems to be ignoring that little part where it just returns the fields you want.
@janpio Yeah, buy me a nice new Macbook Pro, install xCode and get Cordova apps compiling (for both platforms) and then ship the box to me and I'll fix all those niggling little bugs. ;-) Until then, I think the project I'm investigating may be my first Flutter project.
from cordova-plugin-contacts.
This plugin is not returning email addresses on iOS 11.x (haven't tested on 9/10/12 yet) and seems to be ignoring that little part where it just returns the fields you want.
Think you might be doing something wrong. Just checked logs and I do get email addresses on iOS 11.2 , same for iOS 12.1 . The problem is not retrieving information because all of that works. It is just when you try to UPDATE an array these updates are just ignored when I run it without a breakpoint. I work around the issue currently by removing a contact and inserting a clone of that contact again but I can only do that for new contacts as the clone itself might not have all the information the contact had.
So conclusion is that UPDATE functionality is currently broken in the plugin on iOS (havent tested it specifically on Android). Combination CREATE & REMOVE works but not ideal. We really need to get it fixed.
from cordova-plugin-contacts.
Ok, I'll double check what I'm doing in my code... I don't need to update any information, just let grandma and grandpa pick their next of kin.
from cordova-plugin-contacts.
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)
- ionic contacts error: Cannot read property 'split' of undefined HOT 4
- Contact loading too slow when user has more than 3000 contacts in his phone. HOT 13
- All the fields are giving null value but count is correct. Ionic 4. HOT 1
- modify the contact picture HOT 2
- NullInjectorError: No provider for Contacts! HOT 3
- conduct contact.save() twice on Android, but only get one contact. HOT 3
- Plugin skip birthday without year on android HOT 1
- Best approach for searching on phone number HOT 5
- displayName:Null for android and ios HOT 2
- iOS 13 note field of contact is null HOT 3
- Support multiple find contact inside a Loop HOT 7
- No way to display single contact that I just added with this plugin? HOT 1
- App Crash after save the new contact in Android 9 HOT 2
- Localized Phone Label (iOS) HOT 1
- App crashed HOT 4
- Possible deadlock in iOS queue management code HOT 2
- Ios-9 : AddressBook is deprecated. Consider migrating to Contacts/ContactsUI. in ionic 4/5 HOT 3
- App crash in android 10 HOT 5
- App Crash with iOS 14 HOT 3
- Not able to fetch newly added contacts and contact last updated timestamp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-contacts.