Whether a patio needs a permit is up to the city or county where you live, so we check with them on every project. When one is needed, we handle the paperwork and set up the inspections, so you're not the one chasing them.
The bigger question is usually the dirt. California guidance on expansive soils, clay that swells when it's wet and shrinks as it dries, says they can lift and crack patio slabs. Your home buyer's disclosures may tell you whether your lot has them, and so can the local building department or a soil engineer.
Where the soil is expansive, that guidance calls for keeping it from drying out before and during the work, by covering it with plastic or wetting it down, and pre-wetting can take days or even weeks, generally with a geotechnical professional involved. We see cracked and lifted patios across Manteca and nearby Lathrop and Ripon, and the ground is usually where I start looking.