The technology giants said they would embed a feature in iPhones and Android devices to enable users to track infected people they’d come close to.
In one of the most far-ranging attempts to halt the spread of the coronavirus, Apple and Google said they were building software into smartphones that would tell people if they were recently in contact with someone who was infected with it.
The technology giants said they were teaming up to release the tool within several months, building it into the operating systems of the billions of iPhones and Android devices around the world. That would enable the smartphones to constantly log other devices they come near, enabling what is known as “contact tracing” of the disease. People would opt in to use the tool and voluntarily report if they became infected.
The unlikely partnership between Google and Apple, fierce rivals who rarely pass up an opportunity to criticize each other, underscores the seriousness of the health crisis and the power of the two companies whose software runs almost every smartphone in the world. Apple and Google said their joint effort came together in just the last two weeks.
Their work could prove to be significant in slowing the spread of the coronavirus. Public-health authorities have said that improved tracking of infected people and their contacts could slow the pandemic, especially at the start of an outbreak, and such measures have been effective in places like South Korea that also conducted mass virus testing.
Yet two of the world’s largest tech companies harnessing virtually all of the smartphones on the planet to trace people’s connections raises questions about the reach these behemoths have into individuals’ lives and society.
“It could be a useful tool but it raises privacy issues,” said Dr. Mike Reid, an assistant professor of medicine and infectious diseases at the University of California, San Francisco, who is helping San Francisco officials with contact tracing. “It’s not going to be the sole solution, but as part of a robust sophisticated response, it has a role to play.”
Timothy D. Cook, Apple’s chief executive, said on Twitter that the tool would help curb the virus’s spread “in a way that also respects transparency & consent.” Sundar Pichai, Google’s chief, also posted on Twitter that the tool has “strong controls and protections for user privacy.”
With the tool, people infected with the coronavirus would notify a public health app that they have it, which would then alert phones that had recently come into proximity with that person’s device. The companies would need to get public-health authorities to agree to link their app to the tool.
Privacy is a concern given that Google, in particular, has a checkered history of collecting people’s data for its online advertising business. The internet search company came under fire in 2018 after it said that disabling people’s location history on Android phones would not stop it from collecting location data.
Apple, which has been one of the biggest critics of Google’s collection of user data, has not built a significant business around using data to sell online advertising. Still, the company has access to a wealth of information about its users, from their location to their health.
There are already third-party tools for contact tracing, including from public health authorities and the Massachusetts Institute of Technology. In March, the government of Singapore introduced a similar coronavirus contact-tracing app, called TraceTogether, that detects mobile phones that are nearby.
But given the number of iPhones and Android devices in use worldwide, Apple and Google said they were hoping to make tracing efforts by public health authorities more effective by reaching more people. They also said they would provide their underlying technology to the third-party apps to make them more reliable.
Daniel Weitzner, a principal research scientist at M.I.T.’s Computer Science and Artificial Intelligence Laboratory and who was one of those behind the school’s contract tracing app, said Google and Apple’s partnership will help health officials save time and resources in developing their own applications to track the virus’ spread.
One challenge for third-party apps is that they must run constantly — 24 hours a day, seven days a week — to be effective. Google said some Android smartphone manufacturers shut down those applications to save battery life.
Apple and Google said their tool would also constantly run in the background if people opt to use it, logging nearby devices through the short-range wireless technology Bluetooth. But it would eat up less battery life and be more reliable than third-party apps, they said.