Inclusion Criteria:  Age at least 18 years old; Meet DSM-5 opioid use disorder or cocaine use criteria as evidenced by an opioid use disorder CPT code F11* (opioid related disorders), a cocaine use disorder CPT code F14* (cocaine related disorders), or other clinical notes indicating illicit opioid/cocaine use for treatment; Have access to a smartphone (iOS or Android) with data plan and willing to download DynamiCare app; Are in day (PHP), partial day (IOP), residential, or outpatient AODA treatment in Aurora Health's Behavioral Health Program;  Are likely to be helped by contingency management because at least ONE of the following conditions is true:  Were first enrolled in day or partial day opioid treatment no longer than 2 treatment weeks (14 days/encounters of treatment) prior to providing informed consent. Currently using non-medical opioids and/or cocaine. Regularly missing scheduled AODA appointments. Understands English.  Exclusion Criteria:  Have evidence of active (non-substance related) psychosis that might impair participation as determined by the PI. Has significant cognitive impairment that might confound participation as determined by the PI or are so significantly cognitively impaired that they have a legal guardian.