A smartphone app can help patients with opioid use disorder reduce their days of opioid use and stay in treatment longer, according to new research.