Laws in 32 states criminalize an HIV-positive person for exposing someone to the virus—in many cases, even if condoms were used and even if the HIV-negative partner didn’t contract the virus. In a court of law, people living with the virus shoulder the burden of proving they had disclosed their status. But how do you prove that?

Very soon, you might be able to rely on a cellphone app. According to the Riverfront Times, Missouri HIV advocate Aaron Laxton has been working to develop the IDisclose app with Guanyu Tian, an assistant professor of computer science at Fontbonne University in St. Louis who runs an app lab.

The app is almost ready for release on the Android platform.

The app works like this: After disclosing, the HIV-positive person asks his or her partner to acknowledge it digitally by reading and signing a document on the HIV-positive person’s phone. The app also takes a photo of the HIV-negative partner and emails all of the documentation to the person with HIV.

“I’m of mindset that these [criminalization] laws are not yet changing,” Laxton told the Riverfront Times. “So I have to do whatever I can to protect myself.”

Some advocates have complained that the app capitulates to outdated laws. And Sean Strub of the Sero Project (and founder of POZ) described the app as “demeaning and dehumanizing” while also saying that it is a “concession to the reality of legal risk for people with HIV.”