While shooting for night sky timelapse in RAW(.dng) with my OnePlus smartphone paired with Intervalometer app, it accidentally caught this perfect fireworks image. It was shooting in 30 seconds of exposure, this fireworks happened to be in close distance but not too close to overexpose the image.
As fireworks happen very quickly, shooting in RAW using Intervalometer will definitely help catching great fireworks images.
Video below shows the 4K timelapse created with TimeLab app, notice there is a fireworks in just a split second.