A CMOS sensor, which has equipped the majority of digital cameras since 2000, is a surface made up of thousands of photosensitive cells that convert photons into electrons. Each pixel in a photo is generated from 4 photosensitive cells, covered with red, green, and blue filters (with green being doubled), forming a matrix that allows for the interpolation of the pixel's RGB value. If your smartphone's front camera is advertised as 3Mpx, it means that the sensor is composed of at least 12,000,000 of these photosensitive cells.
All of this is protected by a low-pass filter, which filters out IR frequencies, making the CMOS a tool perfectly capable of measuring the quantity of photons strictly within the PAR, perceived across its entire surface.
In fact, two studies from 2013 and 2017 confirm that it is perfectly possible to use a webcam or the photo sensor of a smartphone, provided that the pixel value is converted to black and white, calibrated, and results are obtained that are sufficiently precise to be used by a hobbyist or even a pro.
https://www.researchgate.net/publication/261031459_Development_of_a_webcam_based_lux_meter
https://www.researchgate.net/publication/317596937_Smartphones_as_a_Light_Measurement_Tool_Case_of_Study
On Android devices, the light sensor value is calculated by the photo module or driver and is retrieved directly in Lux via the API: https://developer.android.com/reference/android/hardware/SensorEvent#values (see Sensor.TYPE_LIGHT) The mobile application, whether it's PPFD Meter or Photone, simply converts this Lux value to PPFD and offers various presets to use the coefficient most suitable for the type of light you are using. It is also possible to correct the drift by calibrating the sensor using the values that testers or the manufacturer have recorded at full power at a given position and distance from the light fixture.
By the way, I would also like to highlight this study from 1993 conducted by the Department of Plants, Soils, and Biometeorology, Utah State University, co-signed by the highly esteemed Bruce Bugbee, which demonstrates that Quantum Sensors measuring PPF and YPF tend to return erroneous results in the presence of red LEDs. Given that the vast majority of horticultural fixtures nowadays are equipped with red LEDs, this is a significant point.
https://journals.ashs.org/hortsci/view/journals/hortsci/28/12/article-p1197.xml
In conclusion, as an amateur grower, it is therefore perfectly possible, and even recommended, to use your smartphone to get a fairly realistic estimate of the PPFD, without needing to spend money on a professional device, which would be more useful and robust for outdoor installation.