It would not be possible to reliably measure PWM frequency with a phone camera, as the camera captures frames up to 240Hz, but flashlight PWM can be up to 15+kHz.
The camera is just not fast enough. If you know some electronics, you could connect a photodiode as a microphone input (assuming you have a headphone port), and use a sound frequently analyser app.
It’s always good to see PWM measurements in a review. Poor PWM character is a total turn off for me. And a surprising number of light have it to some degree at lower brightness levels.