When using "selectContactPhone" nothing happens.
Code:
selectContactPhone()
.then(selection => {
if (!selection) {
return null;
}
let { contact, selectedPhone } = selection;
console.log(`Selected ${selectedPhone.type} phone number ${selectedPhone.number} from ${contact.name}`);
return selectedPhone.number;
});
Logs:
[reports] Main Thread Checker: UI API called on a background thread: -[UIWindow rootViewController]
PID: 450, TID: 136063, Thread name: (none), Queue name: com.facebook.react.SelectContactQueue, QoS: 0
[Assert] Cannot be called with asCopy = NO on non-main thread.
[Assert] Cannot be called with asCopy = NO on non-main thread.
Warning: Attempt to present <CNContactPickerViewController: 0x1038f5730> on <RNNStackController: 0x104005000> whose view is not in the window hierarchy!
Using RN version 0.60.4 and react-native-navigation 4.0.8
When using "selectContactPhone" nothing happens.
Code:
Logs:
Using RN version 0.60.4 and react-native-navigation 4.0.8