It should be the smartphone issue. If you find the camera display extremely different from what you see from the other similar app (like ARKit or ARCore samples) when in the same physical condition, you could paste screenshots of the two to let us know what the low brightness looks like, but it is quite possible that we can do nothing for that.