0

Does anyone have any idea how can I implement a Live Caller ID?

For example, if I create an application that has a contact (John Snow: +00001) and the user doesn't have that contact in the native contacts list, I would like to add the feature when the user receives a call from +00001, to show John Snow instead.

Inspiration : TrueCaller

koen
  • 5,383
  • 7
  • 50
  • 89
  • On iOS you need to create a CallKit extension and have it register all of the names/numbers. I don't know if it possible to create a CallKit extension in NativeScript. – Paulw11 Oct 22 '18 at 19:22
  • As of now writing an iOS extension is not very much straight forward but still possible, here is a POC - https://github.com/NativeScript/nativescript-ios-imessages There is a open feature request for making this process easy - https://github.com/NativeScript/nativescript-cli/issues/3965 – Manoj Oct 26 '18 at 17:16

1 Answers1

0

Yes, that is possible. Basically you are going to use a broadcast receiver that will listen for a new incoming call, there you get the number and launch your activity / widget like TrueCaller.

Manoj
  • 21,753
  • 3
  • 20
  • 41