Please try switching between AP mode and STA mode, then re-upload the galaxy-rvr.ino code using the IDE, and reconnect via the APP to check the results.
If the repeated disconnections persist, we recommend visiting the ESP32-CAM OTA update page and trying different channels multiple times. Press the reset button to restart the device, then reconnect via the APP to check its performance.
If the issue still cannot be resolved, please contact service@sunfounder.com to request a replacement ESP32 module to see if that resolves the problem.