The app was disguised as a game.
Police released a mugshot Wednesday of 18-year-old suspect Colin Howard.
The app is called "Banana Plug," a play on UC Santa Cruz's mascot, the Banana Slug.
It was being advertised on flyers all over campus.
Howard is from Sunnyvale. A Homeland Security agent alleges Howard developed the app, which offered contraband for sale - including cocaine, "molly," and "shrooms."
18 year old UC Santa Cruz student Collin Howard arrested for allegedly selling drugs off an app he created called “Banana Plug.”— Matt Keller (@MattKellerABC7) February 20, 2019
He’s facing federal drug charges. https://t.co/DLT61MMmRx pic.twitter.com/L7F9dFw9uL
It was available on the Apple App Store.
An affidavit also says customers were invited to make special requests.
An undercover sting with multiple drug buys ended with Howard being arrested last Friday.
He's charged with four counts of distribution and possession with intent to distribute cocaine and methamphetamine.
He was released from custody after his court appearance Tuesday. If convicted, Howard could face decades in prison and millions in fines.
See the full release with more information from the Department of Justice here.