Getting the Photon to work offline

Hi! I’m new to firmware in general, so I was wondering whether anyone had gotten code to run offline or if the photon needed to be connected to the cloud to run. If I’ve already flashed firmware, do I still need cloud connectivity? Why?

I’ve heard that manual mode might do it? Has anyone tried this?

I see Sparkcore without internet access topic, so I’ll try setting modes.

Nevermind, just setting it to SEMI_AUTOMATIC mode works.