Firebase offline capabilities

Does anyone know if we are able to set this offline persistent cache when initialising fire base storage from AppGyver connector?

https://firebase.google.com/docs/firestore/manage-data/enable-offline?hl=en#java

The way to do that in appgyver, is to create an on device storage in the data connector and when you get the data from firebase, store them on the device.
(If you just want to store one variable, you can also use the set item to storage function.)