This section describes how to integrate Herald in to your own applications.
Below is a set of options for using the Herald Protocol in both a Contact Tracing application, or a custom commercial application.
With Herald you can use our suggested full or header payloads, or an entirely custom payload:-
Herald is a cross-platform proximity detection solution for iOS and Android mobile phones, low-cost wearables, and beacons. It detects all devices within epidemiologically relevant range (8 metres), and offers frequent sampling of distance measurements (at least one sample per 30 seconds) for each device. The solution has been designed to operate indefinitely on screen locked iOS and Android devices in the background without any user interaction. It overcomes all the background operation challenges, especially on iOS devices. Herald works on iOS 9.3+ and Android 5.0+, making it compatible with 98% of smartphones worldwide. The solution is also payload agnostic, to facilitate integration with existing contact tracing apps, acting as a reliable cross-platform transport for existing device identification data payload, thus it has no impact on approved security and privacy designs to minimise disruption to existing apps.
This integration guide aims to offer an easy to follow recipe for enhancing existing contact tracing apps with Herald. As an overview, the process involves:
The API for both iOS and Android have been kept nearly identical in concept and in code where possible for ease of integration. The integration process can be as quick as one working day for both platforms; this has been tested on real open source apps. The API design also considered the architecture of several public Contact Tracing apps for ease of integration.
See the integration guide page navigation to the left for each section.
Start here: About the code
Please do log an Issue on GitHub for any missing documentation or to ask us to correct errors or provide clarification. We want to provide very high quality integration documentation to help development teams integrate the Herald API.