This is hard or impossible to do. [1] [2]
It may be possible to do this with 1) a remote trigger that triggers both the phone and the flash (sage advice about an RF trigger), and 2) phone camera settings that slow the shutter speed way down.