Comments (11)
FYI: When trying to pass use withThumbnails:true
in getContactById
, I had the below error.
Exception 'A property was not requested when contact was fetched.' was thrown while invoking getContactById on target Contacts with params (
"105ECC31-5E65-495E-AAB4-61CFAC933A26:ABPerson",
57060,
57061
)
callstack: (
0 CoreFoundation 0x0000000196604cc0 A900B459-0127-379E-9CBA-0EAB9C5D559F + 40128
1 libobjc.A.dylib 0x000000018f6a43d0 objc_exception_throw + 60
2 CoreFoundation 0x00000001966f2224 A900B459-0127-379E-9CBA-0EAB9C5D559F + 1012260
3 Contacts 0x00000001a21ce19c DC04FB9D-0749-3FDA-BA32-43A8ED44FA3A + 119196
4 app 0x0000000105ecbbf4 -[RCTContacts getFilePathForThumbnailImage:recordID:] + 120
5 app 0x0000000105ecb940 -[RCTContacts contactToDictionary:withThumbnails:] + 5392
6 app 0x0000000105ecc8ec -[RCTContacts getContact:addressBook:withThumbnails:] + 592
7 app 0x0000000105ecc574 -[RCTContacts getContactById:resolver:rejecter:] + 480
8 CoreFoundation 0x000000019666dc04 A900B459-0127-379E-9CBA-0EAB9C5D559F + 470020
9 CoreFoundation 0x000000019661bcb4 A900B459-0127-379E-9CBA-0EAB9C5D559F + 134324
10 CoreFoundation 0x000000019661b6cc A900B459-0127-379E-9CBA-0EAB9C5D559F + 132812
11 app 0x000000010594b620 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1744
12 app 0x000000010594f464 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicEiN12_GLOBAL__N_117SchedulingContextE + 1544
13 app 0x000000010594ec80 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 144
14 app 0x000000010594ebe4 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28
15 libdispatch.dylib 0x000000019daca320 5D16936B-4E4C-3276-BA7A-69C9BC760ABA + 8992
16 libdispatch.dylib 0x000000019dacbeac 5D16936B-4E4C-3276-BA7A-69C9BC760ABA + 16044
17 libdispatch.dylib 0x000000019dad3534 5D16936B-4E4C-3276-BA7A-69C9BC760ABA + 46388
18 libdispatch.dylib 0x000000019dad40a4 5D16936B-4E4C-3276-BA7A-69C9BC760ABA + 49316
19 libdispatch.dylib 0x000000019dadecdc 5D16936B-4E4C-3276-BA7A-69C9BC760ABA + 93404
20 libsystem_pthread.dylib 0x00000001f6439ddc _pthread_wqthread + 288
21 libsystem_pthread.dylib 0x00000001f6439b7c start_wqthread + 8
)
RCTFatal
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
5D16936B-4E4C-3276-BA7A-69C9BC760ABA
5D16936B-4E4C-3276-BA7A-69C9BC760ABA
5D16936B-4E4C-3276-BA7A-69C9BC760ABA
5D16936B-4E4C-3276-BA7A-69C9BC760ABA
5D16936B-4E4C-3276-BA7A-69C9BC760ABA
_pthread_wqthread
start_wqthread`
from react-native-contacts.
not sure. Does it work on android?
from react-native-contacts.
It does; I did not have to apply the same fix on Android. Do you need more data?
from react-native-contacts.
That is a hint, the issue is only on ios.
from react-native-contacts.
This issue is stale, please provide more information about the status
from react-native-contacts.
Status: Android provides the thumbnailPath, while iOS does not for the getByID. iOS should be fixed to have the same behaviour
from react-native-contacts.
What must I do to keep this open since there was activity and it is a valid bug?
from react-native-contacts.
@dprevost-LMI comment
from react-native-contacts.
🤔
from react-native-contacts.
Is there any reason to close those automatically while they are real issues?
from react-native-contacts.
I don't think it makes sense to keep them open unless someone is working on them.
from react-native-contacts.
Related Issues (20)
- Is it possible to get all contacts along with their creation date? HOT 2
- contacts is null on initialize
- How to get or fetch real time contacts in react native HOT 2
- Show Permission Dialog when checking permission. HOT 1
- getContactsByPhoneNumber only returns after match HOT 8
- open platform depended contact list and select a specific contact from there HOT 1
- Interface of phoneNumber contains id property in it but it is not mentioned in the index.d.ts HOT 2
- Contacts Profile changes HOT 2
- [Urgent - Android/Ios] List Contacts get real device show default some phone number HOT 1
- iOS: UIColor created with component values far outside the expected range HOT 3
- isStarred is not working HOT 6
- birthday do not work HOT 2
- getContactsMatchingString search also in addresses HOT 3
- Get Call history HOT 3
- Not able to add image while creating contact HOT 1
- How to Edit or Update contact details like familyName, givenName or number HOT 4
- React Native 0.74 (Bridgeless) Support HOT 4
- Update types for contact fields that may be null HOT 3
- Contact could not be saved when thumbnailPath is invalid on iOS HOT 2
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 react-native-contacts.