Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Call Directory Extension - Error Enabling Extension. Failed to request data

Tags:

ios

iphone

Our app is using the caller id feature of Call Directory Extension. It seems to work well for most users. However one user is reporting that he cannot enable the extension in Settings > Phone > Call Blocking & Identification. He gets the message "Error Enabling Extension. Failed to request data for appName. You may try enabling the extension again..." So far I have not been able to replicate this. Has any one else seen this? What was your solution?

like image 762
Mc.Stever Avatar asked May 19 '17 20:05

Mc.Stever


2 Answers

I had the same issue and as Jimi said there were no duplicate numbers. After debugging and testing I came to know that it requires the array in ascending order. I then sorted my array of phone numbers and it started working again.

Hope this help someone who is still struggling!

like image 81
iRiziya Avatar answered Oct 23 '22 17:10

iRiziya


Well I had a similar case with a user that was trying to enable the extension from Settings -> Phone -> Call Blocking & Identification and was getting the same message as above.

What I found out, after debugging requests to our company's catalog, was that I had one or more duplicate entries such as [12345, John Doe], [12345, Jane Doe].

That didn't cause any trouble to users that already had the extension enabled on their devices (at least I had no complaints whatsoever), but made the extension impossible to enable for users that didn't have enable the extension before.

Now, I can not guarantee this is the case for your problem, but you can start by checking for duplicate entries in Directory.

like image 28
Jimi Avatar answered Oct 23 '22 17:10

Jimi