Affect is a smartphone-based intensive recovery program that pays financial rewards as participants meet treatment goals. The app supports people quitting prescription stimulants, cocaine, methamphetamine, marijuana or alcohol and helps them build healthier habits, all delivered privately through their phone.