question

YoungCalabria-7310 avatar image
0 Votes"
YoungCalabria-7310 asked YoungCalabria-7310 commented

Xamarin Forms - Block incoming phone calls

Is there any cross-platforms(ios and android) solution to block incoming phone calls?

dotnet-xamarin
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This could be achieved with dependency service on each platform .

Android : We need to make our app as the default Phone app , and then use InCallService , refer to here .

iOS : Create an app extension and use CallKit ,refer to here .


1 Vote 1 ·

big thanks @ColeXia-MSFT i will give it a try

0 Votes 0 ·

That's fine , feel free to update here if you manage to make it .

0 Votes 0 ·

I tried InCallService but the problem is I don't want to modify the original phone app if possible, all i want is to block some numbers.
If you can guide me more in some hints because I'm stuck here a little.
Thanks!

0 Votes 0 ·

0 Answers