An electronic assembly, including an encasement joined from at least two casing parts, wherein at least one gap region between two mutually adjoining casing parts is hermetically sealed by a metal layer that is electrodeposited onto the sections of the adjoining casing parts abutting the gap region and bridges the gap region.