Call Directory Extension programmatically enabled problem
Muharrem
1
Reputation point
This code is not working.
var callDirManager = CXCallDirectoryManager.SharedInstance;
callDirManager.ReloadExtension(CALL_DIRECTORY_EXTENSION_ID, error =>
{
if (error == null)
{
Console.WriteLine("ReloadExtension success");
}
else
{
Console.WriteLine("ReloadExtension error = " + error.LocalizedDescription);
}
});
Each time;
The operation couldn't be completed. (com.apple.CallKit.error.calldirectorymanager error 6.)
I get an error.
I wrote a log in the CallDirectoryHandler class from the very beginning. But none of them appear in DeviceLog.
It works when I activate it from the Extension i Settings > Phone > Call Blocking & identification menu.
Developer technologies .NET Xamarin
5,380 questions
Sign in to answer