Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
PickContact returning null

Trying to use the pickContact, but when I click on a contact on my iphone data is null. I'm using the example given. And demo2 shows as true too and the other lines do not execute. It's hard to debug since pickContact can only be used within the mobile banking app and can't see logging there.

tecton.sources.pickContact().then((data) => {
   document.getElementById("demo2").innerHTML = data == null;
  document.querySelector('#recipient-name').value = data.name;
  document.querySelector('#recipient-phone').value = data.phone[0];
  document.querySelector('#recipient-email').value = data.email[0];
});
Posted 3 years ago
Votes Newest

Answers


Hi Draden!

Which mobile app are you using for testing? Apple and Google are very strict in making sure only the permissions used are enabled, going as far as to remove apps that are not set with with the correct permissions. I believe contact access is defaulted to off on mobile app builds and may need to be configured on.

Posted 3 years ago
0

I'm using the q2 developer app with total access on my iphone as shown here https://docs.q2developer.com/guides/mobile_dev/index.html?highlight=mobile

I've given the app permission to my contacts as well.

— Draden Gaffney   3 years ago
0

Hi Draden! Thanks. I did a little digging with the Q2 Dev mobile app and found an issue with the pickContact api that needed to be resolved. Got that in yesterday and it should be released on Tuesday (5/16) in the Tecton 1.26 release.

— Adam Chester   3 years ago
104 Views
1 Answer
3 years ago
3 years ago