I have updated the B4R library rESP8266rtc (v1.05) so it can also be used with the ESP-32 modules.
https://www.b4x.com/android/forum/threads/resp8266rtc-a-real-time-clock.72783/#content
https://www.b4x.com/android/forum/threads/resp8266rtc-a-real-time-clock.72783/#content