Hello experts,
In a special situation, I need to sync metadata while every successful login into the android app. I researched for a few days but ended up with no luck. So, I have come here for your expert opinions.
I have downloaded the current android sdk into android studio. Looking forward to getting support from the community. (N.B. I am very new to android development environment)
Thank you for your post! Usually the metadata doesn’t change this fast so it’d be very interesting to know the use case please.
I’m not sure if this will actually work but using the datastore management app, it’s possible to change the android synchronization option for metadata sync to be 1h (0.5h). Is that enough?
Can I know why you would like to update the metadata so often? As @Gassim is pointing in the previous response the metadata is not something that changes often so there should be no need for that. In any case, it is not possible to do it with every login.
You can set the frequency via the Android Settings WebApp as shown below:
Thank you @Gassim and @jaime.bosque for your kind help. I have found the solution and have been able to modify LoginActivity.kt on the APK to achieve my purpose.