This example shows one way to use the CloudDB controls. It works fine with the MIT server.
How to broadcast a GPS location and share the information on a map with others in real time..CloudDB .
What happens if you try this using the CloudDB default to test? Are you using Android 11+? To use Android 12 you may have to request permissions and force Provider to gps depending on how you expect the app to work.