Example service & documentation for Live Caller ID Lookup
Live Caller ID
Lookup
is a new feature that allows the system to communicate with a third party service to privately retrieve information
about a phone number for an incoming call. This allows the system to automatically block known spam
callers and display identity information on the incoming call screen.
This repository provides a functional server backend to test the Live Caller ID Lookup feature.
[!WARNING]
While functional, this is just an example service and should not be run in production.
Live caller ID Lookup Example provides:
The documentation lives at Swift Package Index.
Building Live Caller ID Lookup Example requires:
Additionally, developing Live Caller ID Lookup Example requires:
You can build Live Caller ID Lookup Example either via Xcode or via command line in a terminal.
To build Live Caller ID Lookup Example from Xcode, simply open the root directory (i.e., the live-caller-id-lookup-example
directory) of the repository in Xcode.
See the Xcode documentation for more details on developing with Xcode.
To build Live Caller ID Lookup Example from command line, open the root directory (i.e., the live-caller-id-lookup-example
directory) of the repository in a terminal, and run
swift build -c release
The build products will be in the .build/release/
folder.
To build in debug mode, run
swift build
The build products will be in the .build/debug/
folder.
[!WARNING]
Runtimes may be slow in debug mode.
Run unit tests via
swift test -c release --parallel
To run tests in debug mode, run
swift test --parallel
[!WARNING]
Runtimes may be slow in debug mode.
If you would like to make a pull request to Live Caller ID Lookup Example, please run pre-commit install
. Then each commit will run some basic formatting checks.
Live Caller ID Lookup Example uses DocC for documentation.
For more information, refer to the DocC documentation and the Swift-DocC Plugin.
The documentation can be built from Xcode via Product -> Build Documentation
.
The documentation can be built from command line by running
swift package generate-documentation
and previewed by running
swift package --disable-sandbox preview-documentation --target PIRService